diff options
author | jsing <> | 2014-04-15 14:38:10 +0000 |
---|---|---|
committer | jsing <> | 2014-04-15 14:38:10 +0000 |
commit | fd934c882a62cc862a41725de129e7a623ce16a3 (patch) | |
tree | 0afadc32450a98b257d0902261d2c1f7ba6b56be /src/lib/libcrypto/aes/aes_ofb.c | |
parent | 69a8d2dcc19aed0d1116ba2ecd81cce5ae736c94 (diff) | |
download | openbsd-fd934c882a62cc862a41725de129e7a623ce16a3.tar.gz openbsd-fd934c882a62cc862a41725de129e7a623ce16a3.tar.bz2 openbsd-fd934c882a62cc862a41725de129e7a623ce16a3.zip |
First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using
tr and md5.
Diffstat (limited to 'src/lib/libcrypto/aes/aes_ofb.c')
-rw-r--r-- | src/lib/libcrypto/aes/aes_ofb.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libcrypto/aes/aes_ofb.c b/src/lib/libcrypto/aes/aes_ofb.c index 50bf0b8325..f5a35b20c5 100644 --- a/src/lib/libcrypto/aes/aes_ofb.c +++ b/src/lib/libcrypto/aes/aes_ofb.c | |||
@@ -52,9 +52,10 @@ | |||
52 | #include <openssl/aes.h> | 52 | #include <openssl/aes.h> |
53 | #include <openssl/modes.h> | 53 | #include <openssl/modes.h> |
54 | 54 | ||
55 | void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, | 55 | void |
56 | size_t length, const AES_KEY *key, | 56 | AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, size_t length, |
57 | unsigned char *ivec, int *num) | 57 | const AES_KEY *key, unsigned char *ivec, int *num) |
58 | { | 58 | { |
59 | CRYPTO_ofb128_encrypt(in,out,length,key,ivec,num,(block128_f)AES_encrypt); | 59 | CRYPTO_ofb128_encrypt(in, out, length, key, ivec, num, |
60 | (block128_f)AES_encrypt); | ||
60 | } | 61 | } |