diff options
author | jsing <> | 2022-11-11 12:18:25 +0000 |
---|---|---|
committer | jsing <> | 2022-11-11 12:18:25 +0000 |
commit | 8b13fe96b7b99abbc6d1c8c12b47b24b73929b7e (patch) | |
tree | fd3daddbc792ba537cdf2f4cbc019abc73e9a244 /src/lib/libcrypto/bf/bf_cfb64.c | |
parent | 57b70d7ba6ec6499567b2f281f47b636282a2ecd (diff) | |
download | openbsd-8b13fe96b7b99abbc6d1c8c12b47b24b73929b7e.tar.gz openbsd-8b13fe96b7b99abbc6d1c8c12b47b24b73929b7e.tar.bz2 openbsd-8b13fe96b7b99abbc6d1c8c12b47b24b73929b7e.zip |
Tidy includes, fix comment style and mop up some blank lines.
Diffstat (limited to 'src/lib/libcrypto/bf/bf_cfb64.c')
-rw-r--r-- | src/lib/libcrypto/bf/bf_cfb64.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bf/bf_cfb64.c b/src/lib/libcrypto/bf/bf_cfb64.c index 4ef15b94c6..7db0aed1ea 100644 --- a/src/lib/libcrypto/bf/bf_cfb64.c +++ b/src/lib/libcrypto/bf/bf_cfb64.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_cfb64.c,v 1.6 2022/11/11 12:08:29 jsing Exp $ */ | 1 | /* $OpenBSD: bf_cfb64.c,v 1.7 2022/11/11 12:18:25 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -57,9 +57,11 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/blowfish.h> | 59 | #include <openssl/blowfish.h> |
60 | |||
60 | #include "bf_locl.h" | 61 | #include "bf_locl.h" |
61 | 62 | ||
62 | /* The input and output encrypted as though 64bit cfb mode is being | 63 | /* |
64 | * The input and output encrypted as though 64bit cfb mode is being | ||
63 | * used. The extra state information to record how much of the | 65 | * used. The extra state information to record how much of the |
64 | * 64bit block we have used is contained in *num; | 66 | * 64bit block we have used is contained in *num; |
65 | */ | 67 | */ |
@@ -120,4 +122,3 @@ BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, | |||
120 | v0 = v1 = ti[0] = ti[1] = t=c = cc = 0; | 122 | v0 = v1 = ti[0] = ti[1] = t=c = cc = 0; |
121 | *num = n; | 123 | *num = n; |
122 | } | 124 | } |
123 | |||