diff options
author | beck <> | 1999-09-29 04:37:45 +0000 |
---|---|---|
committer | beck <> | 1999-09-29 04:37:45 +0000 |
commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/bf/bf_ecb.c | |
parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
download | openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2 openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip |
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/bf/bf_ecb.c')
-rw-r--r-- | src/lib/libcrypto/bf/bf_ecb.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/lib/libcrypto/bf/bf_ecb.c b/src/lib/libcrypto/bf/bf_ecb.c index 6d16360bd9..9f8a24cdff 100644 --- a/src/lib/libcrypto/bf/bf_ecb.c +++ b/src/lib/libcrypto/bf/bf_ecb.c | |||
@@ -56,17 +56,18 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "blowfish.h" | 59 | #include <openssl/blowfish.h> |
60 | #include "bf_locl.h" | 60 | #include "bf_locl.h" |
61 | #include <openssl/opensslv.h> | ||
61 | 62 | ||
62 | /* Blowfish as implemented from 'Blowfish: Springer-Verlag paper' | 63 | /* Blowfish as implemented from 'Blowfish: Springer-Verlag paper' |
63 | * (From LECTURE NOTES IN COIMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION, | 64 | * (From LECTURE NOTES IN COIMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION, |
64 | * CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993) | 65 | * CAMBRIDGE SECURITY WORKSHOP, CAMBRIDGE, U.K., DECEMBER 9-11, 1993) |
65 | */ | 66 | */ |
66 | 67 | ||
67 | char *BF_version="BlowFish part of SSLeay 0.9.0b 29-Jun-1998"; | 68 | const char *BF_version="BlowFish" OPENSSL_VERSION_PTEXT; |
68 | 69 | ||
69 | char *BF_options() | 70 | const char *BF_options(void) |
70 | { | 71 | { |
71 | #ifdef BF_PTR | 72 | #ifdef BF_PTR |
72 | return("blowfish(ptr)"); | 73 | return("blowfish(ptr)"); |
@@ -77,11 +78,8 @@ char *BF_options() | |||
77 | #endif | 78 | #endif |
78 | } | 79 | } |
79 | 80 | ||
80 | void BF_ecb_encrypt(in, out, ks, encrypt) | 81 | void BF_ecb_encrypt(unsigned char *in, unsigned char *out, BF_KEY *ks, |
81 | unsigned char *in; | 82 | int encrypt) |
82 | unsigned char *out; | ||
83 | BF_KEY *ks; | ||
84 | int encrypt; | ||
85 | { | 83 | { |
86 | BF_LONG l,d[2]; | 84 | BF_LONG l,d[2]; |
87 | 85 | ||