modes/ctr128.c: make it indent-friendly.
Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
b1834b5e13
commit
a4ad939fb8
@ -125,7 +125,8 @@ void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out,
|
|||||||
n = *num;
|
n = *num;
|
||||||
|
|
||||||
#if !defined(OPENSSL_SMALL_FOOTPRINT)
|
#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) {
|
while (n && len) {
|
||||||
*(out++) = *(in++) ^ ecount_buf[n];
|
*(out++) = *(in++) ^ ecount_buf[n];
|
||||||
--len;
|
--len;
|
||||||
@ -157,7 +158,8 @@ void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out,
|
|||||||
}
|
}
|
||||||
*num = n;
|
*num = n;
|
||||||
return;
|
return;
|
||||||
} while(0);
|
} while(0);
|
||||||
|
}
|
||||||
/* the rest would be commonly eliminated by x86* compiler */
|
/* the rest would be commonly eliminated by x86* compiler */
|
||||||
#endif
|
#endif
|
||||||
while (l<len) {
|
while (l<len) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user