Loading crypto/modes/cfb128.c +8 −4 Original line number Diff line number Diff line Loading @@ -77,7 +77,8 @@ void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, if (enc) { #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++) = ivec[n] ^= *(in++); --len; Loading Loading @@ -108,6 +109,7 @@ void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, *num = n; return; } while (0); } /* the rest would be commonly eliminated by x86* compiler */ #endif while (l<len) { Loading @@ -121,7 +123,8 @@ void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, *num = n; } else { #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) { unsigned char c; *(out++) = ivec[n] ^ (c = *(in++)); ivec[n] = c; Loading Loading @@ -155,6 +158,7 @@ void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, *num = n; return; } while (0); } /* the rest would be commonly eliminated by x86* compiler */ #endif while (l<len) { Loading Loading
crypto/modes/cfb128.c +8 −4 Original line number Diff line number Diff line Loading @@ -77,7 +77,8 @@ void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, if (enc) { #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++) = ivec[n] ^= *(in++); --len; Loading Loading @@ -108,6 +109,7 @@ void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, *num = n; return; } while (0); } /* the rest would be commonly eliminated by x86* compiler */ #endif while (l<len) { Loading @@ -121,7 +123,8 @@ void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, *num = n; } else { #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) { unsigned char c; *(out++) = ivec[n] ^ (c = *(in++)); ivec[n] = c; Loading Loading @@ -155,6 +158,7 @@ void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, *num = n; return; } while (0); } /* the rest would be commonly eliminated by x86* compiler */ #endif while (l<len) { Loading