diff options
author | Andy Polyakov <appro@openssl.org> | 2015-01-21 16:49:27 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 09:45:10 +0000 |
commit | 74c1dc909ddd872fe9ad5d2baf9aaa81eaadcc3c (patch) | |
tree | d1adb7c92056a3ff23aafe977aaf14c02dca3652 | |
parent | 638f75b686dd1dafca569945039419a0c1e0ad25 (diff) |
modes/ctr128.c: make it indent-friendly.
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rw-r--r-- | crypto/modes/ctr128.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/modes/ctr128.c b/crypto/modes/ctr128.c index 932037f551..5faf2c3af0 100644 --- a/crypto/modes/ctr128.c +++ b/crypto/modes/ctr128.c @@ -135,7 +135,8 @@ void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out, n = *num; #if !defined(OPENSSL_SMALL_FOOTPRINT) - if (16%sizeof(size_t) == 0) do { /* always true actually */ + if (16%sizeof(size_t) == 0) { /* always true actually */ + do { while (n && len) { *(out++) = *(in++) ^ ecount_buf[n]; --len; @@ -167,7 +168,8 @@ void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out, } *num = n; return; - } while(0); + } while(0); + } /* the rest would be commonly eliminated by x86* compiler */ #endif while (l<len) { |