diff options
| author | djm <> | 2005-04-29 05:39:33 +0000 |
|---|---|---|
| committer | djm <> | 2005-04-29 05:39:33 +0000 |
| commit | 68edd00d9258df93b1366c71ac124e0cadf7bc08 (patch) | |
| tree | 3ce4ae2a9747bbc11aed1f95f9bbea92c41f8683 /src/lib/libcrypto/bf | |
| parent | f396ed0f5ce0af56bfde2e75e15cf1f52924c779 (diff) | |
| download | openbsd-68edd00d9258df93b1366c71ac124e0cadf7bc08.tar.gz openbsd-68edd00d9258df93b1366c71ac124e0cadf7bc08.tar.bz2 openbsd-68edd00d9258df93b1366c71ac124e0cadf7bc08.zip | |
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/bf')
| -rw-r--r-- | src/lib/libcrypto/bf/bf_skey.c | 3 | ||||
| -rw-r--r-- | src/lib/libcrypto/bf/blowfish.h | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bf/bf_skey.c b/src/lib/libcrypto/bf/bf_skey.c index 3673cdee6e..fc5bebefce 100644 --- a/src/lib/libcrypto/bf/bf_skey.c +++ b/src/lib/libcrypto/bf/bf_skey.c | |||
| @@ -58,11 +58,12 @@ | |||
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include <string.h> | 60 | #include <string.h> |
| 61 | #include <openssl/crypto.h> | ||
| 61 | #include <openssl/blowfish.h> | 62 | #include <openssl/blowfish.h> |
| 62 | #include "bf_locl.h" | 63 | #include "bf_locl.h" |
| 63 | #include "bf_pi.h" | 64 | #include "bf_pi.h" |
| 64 | 65 | ||
| 65 | void BF_set_key(BF_KEY *key, int len, const unsigned char *data) | 66 | FIPS_NON_FIPS_VCIPHER_Init(BF) |
| 66 | { | 67 | { |
| 67 | int i; | 68 | int i; |
| 68 | BF_LONG *p,ri,in[2]; | 69 | BF_LONG *p,ri,in[2]; |
diff --git a/src/lib/libcrypto/bf/blowfish.h b/src/lib/libcrypto/bf/blowfish.h index cd49e85ab2..b4d8774961 100644 --- a/src/lib/libcrypto/bf/blowfish.h +++ b/src/lib/libcrypto/bf/blowfish.h | |||
| @@ -104,7 +104,10 @@ typedef struct bf_key_st | |||
| 104 | BF_LONG S[4*256]; | 104 | BF_LONG S[4*256]; |
| 105 | } BF_KEY; | 105 | } BF_KEY; |
| 106 | 106 | ||
| 107 | 107 | ||
| 108 | #ifdef OPENSSL_FIPS | ||
| 109 | void private_BF_set_key(BF_KEY *key, int len, const unsigned char *data); | ||
| 110 | #endif | ||
| 108 | void BF_set_key(BF_KEY *key, int len, const unsigned char *data); | 111 | void BF_set_key(BF_KEY *key, int len, const unsigned char *data); |
| 109 | 112 | ||
| 110 | void BF_encrypt(BF_LONG *data,const BF_KEY *key); | 113 | void BF_encrypt(BF_LONG *data,const BF_KEY *key); |
