summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/aes/aes_x86core.c
diff options
context:
space:
mode:
authortb <>2018-04-03 21:59:37 +0000
committertb <>2018-04-03 21:59:37 +0000
commitfa93c1f197945062d5ade3c81706f3044c21224b (patch)
treec29ac242ed77869bfc4ab63cdc6a175aae4052e2 /src/lib/libcrypto/aes/aes_x86core.c
parentc4e5bfb514d4f653861cfe3b9232c443d8b681d3 (diff)
downloadopenbsd-fa93c1f197945062d5ade3c81706f3044c21224b.tar.gz
openbsd-fa93c1f197945062d5ade3c81706f3044c21224b.tar.bz2
openbsd-fa93c1f197945062d5ade3c81706f3044c21224b.zip
KNF: move two opening curly braces of function bodies to their own lines
Diffstat (limited to 'src/lib/libcrypto/aes/aes_x86core.c')
-rw-r--r--src/lib/libcrypto/aes/aes_x86core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/aes/aes_x86core.c b/src/lib/libcrypto/aes/aes_x86core.c
index c604fa876f..d0d12dc3ae 100644
--- a/src/lib/libcrypto/aes/aes_x86core.c
+++ b/src/lib/libcrypto/aes/aes_x86core.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: aes_x86core.c,v 1.8 2015/02/10 09:46:30 miod Exp $ */ 1/* $OpenBSD: aes_x86core.c,v 1.9 2018/04/03 21:59:37 tb Exp $ */
2/** 2/**
3 * rijndael-alg-fst.c 3 * rijndael-alg-fst.c
4 * 4 *
@@ -465,7 +465,8 @@ static const u32 rcon[] = {
465 * Expand the cipher key into the encryption key schedule. 465 * Expand the cipher key into the encryption key schedule.
466 */ 466 */
467int 467int
468AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) { 468AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key)
469{
469 u32 *rk; 470 u32 *rk;
470 int i = 0; 471 int i = 0;
471 u32 temp; 472 u32 temp;