summaryrefslogtreecommitdiffstats
path: root/crypto/evp/e_camellia.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-26 15:25:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-26 15:25:33 +0000
commit7a4bd34a4f6d0c0745dd5710c0f4dba614e8dfac (patch)
treef7bf636ada3cb66b3e3b22f6ee37d49701f3f4a1 /crypto/evp/e_camellia.c
parent4ead4e5241bd08989f9d6305ff21f9da0614f955 (diff)
FIPS mode EVP changes:
Set EVP_CIPH_FLAG_FIPS on approved ciphers. Support "default ASN1" flag which avoids need for ASN1 dependencies in FIPS code. Include some defines to redirect operations to a "tiny EVP" implementation in some FIPS source files. Change m_sha1.c to use EVP_PKEY_NULL_method: the EVP_MD sign/verify functions are not used in OpenSSL 1.0 and later for SHA1 and SHA2 ciphers: the EVP_PKEY API is used instead.
Diffstat (limited to 'crypto/evp/e_camellia.c')
-rw-r--r--crypto/evp/e_camellia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/e_camellia.c b/crypto/evp/e_camellia.c
index a7b40d1c60..365d397164 100644
--- a/crypto/evp/e_camellia.c
+++ b/crypto/evp/e_camellia.c
@@ -93,7 +93,7 @@ IMPLEMENT_BLOCK_CIPHER(camellia_256, ks, Camellia, EVP_CAMELLIA_KEY,
EVP_CIPHER_get_asn1_iv,
NULL)
-#define IMPLEMENT_CAMELLIA_CFBR(ksize,cbits) IMPLEMENT_CFBR(camellia,Camellia,EVP_CAMELLIA_KEY,ks,ksize,cbits,16)
+#define IMPLEMENT_CAMELLIA_CFBR(ksize,cbits) IMPLEMENT_CFBR(camellia,Camellia,EVP_CAMELLIA_KEY,ks,ksize,cbits,16,0)
IMPLEMENT_CAMELLIA_CFBR(128,1)
IMPLEMENT_CAMELLIA_CFBR(192,1)