提交 a4ad939f 编写于 作者: A Andy Polyakov 提交者: Matt Caswell

modes/ctr128.c: make it indent-friendly.

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 b1834b5e
......@@ -125,7 +125,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;
......@@ -157,7 +158,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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册