Loading crypto/aes/aes_x86core.c +521 −514 Original line number Diff line number Diff line Loading @@ -470,7 +470,8 @@ static const u32 rcon[] = { * Expand the cipher key into the encryption key schedule. */ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) { AES_KEY *key) { u32 *rk; int i = 0; Loading Loading @@ -571,7 +572,8 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, * Expand the cipher key into the decryption key schedule. */ int AES_set_decrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) { AES_KEY *key) { u32 *rk; int i, j, status; Loading Loading @@ -652,7 +654,8 @@ int AES_set_decrypt_key(const unsigned char *userKey, const int bits, * in and out can overlap */ void AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key) { const AES_KEY *key) { const u32 *rk; u32 s0, s1, s2, s3, t[4]; Loading Loading @@ -757,7 +760,8 @@ void AES_encrypt(const unsigned char *in, unsigned char *out, Te4[(s2 >> 24) ] << 24; /* now do the linear transform using words */ { int i; { int i; u32 r0, r1, r2; for (i = 0; i < 4; i++) { Loading Loading @@ -864,7 +868,8 @@ void AES_encrypt(const unsigned char *in, unsigned char *out, * in and out can overlap */ void AES_decrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key) { const AES_KEY *key) { const u32 *rk; u32 s0, s1, s2, s3, t[4]; Loading Loading @@ -903,7 +908,8 @@ void AES_decrypt(const unsigned char *in, unsigned char *out, Td4[(s0 >> 24) ] << 24; /* now do the linear transform using words */ { int i; { int i; u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; for (i = 0; i < 4; i++) { Loading Loading @@ -979,7 +985,8 @@ void AES_decrypt(const unsigned char *in, unsigned char *out, Td4[(s0 >> 24) ] << 24; /* now do the linear transform using words */ { int i; { int i; u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; for (i = 0; i < 4; i++) { Loading util/openssl-format-source +1 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ do case `basename $j` in # the list of files that indent is unable to handle correctly # that we simply leave alone for manual formatting now obj_dat.h|aes_core.c) obj_dat.h|aes_core.c|aes_x86core.c) echo "skipping $j" ;; *) Loading Loading
crypto/aes/aes_x86core.c +521 −514 Original line number Diff line number Diff line Loading @@ -470,7 +470,8 @@ static const u32 rcon[] = { * Expand the cipher key into the encryption key schedule. */ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) { AES_KEY *key) { u32 *rk; int i = 0; Loading Loading @@ -571,7 +572,8 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, * Expand the cipher key into the decryption key schedule. */ int AES_set_decrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key) { AES_KEY *key) { u32 *rk; int i, j, status; Loading Loading @@ -652,7 +654,8 @@ int AES_set_decrypt_key(const unsigned char *userKey, const int bits, * in and out can overlap */ void AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key) { const AES_KEY *key) { const u32 *rk; u32 s0, s1, s2, s3, t[4]; Loading Loading @@ -757,7 +760,8 @@ void AES_encrypt(const unsigned char *in, unsigned char *out, Te4[(s2 >> 24) ] << 24; /* now do the linear transform using words */ { int i; { int i; u32 r0, r1, r2; for (i = 0; i < 4; i++) { Loading Loading @@ -864,7 +868,8 @@ void AES_encrypt(const unsigned char *in, unsigned char *out, * in and out can overlap */ void AES_decrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key) { const AES_KEY *key) { const u32 *rk; u32 s0, s1, s2, s3, t[4]; Loading Loading @@ -903,7 +908,8 @@ void AES_decrypt(const unsigned char *in, unsigned char *out, Td4[(s0 >> 24) ] << 24; /* now do the linear transform using words */ { int i; { int i; u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; for (i = 0; i < 4; i++) { Loading Loading @@ -979,7 +985,8 @@ void AES_decrypt(const unsigned char *in, unsigned char *out, Td4[(s0 >> 24) ] << 24; /* now do the linear transform using words */ { int i; { int i; u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; for (i = 0; i < 4; i++) { Loading
util/openssl-format-source +1 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ do case `basename $j` in # the list of files that indent is unable to handle correctly # that we simply leave alone for manual formatting now obj_dat.h|aes_core.c) obj_dat.h|aes_core.c|aes_x86core.c) echo "skipping $j" ;; *) Loading