add null cipher to FIPS module
authorDr. Stephen Henson <steve@openssl.org>
Mon, 20 Jun 2011 19:48:44 +0000 (19:48 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 20 Jun 2011 19:48:44 +0000 (19:48 +0000)
Makefile.fips
Makefile.org
crypto/evp/e_null.c
fips/fipssyms.h

index 619b9cd3aecb521737abfbc9aaea2eb77b393845..e60a728dc3b34bc324582aa84fd4a969ec39f3e2 100644 (file)
@@ -329,6 +329,7 @@ FIPS_EX_OBJ= ../crypto/aes/aes_cfb.o \
        ../crypto/ecdsa/ecs_ossl.o \
        ../crypto/evp/e_aes.o \
        ../crypto/evp/e_des3.o \
+       ../crypto/evp/e_null.o \
        ../crypto/evp/m_sha1.o \
        ../crypto/evp/m_dss1.o \
        ../crypto/evp/m_dss.o \
index 21a7a3751e17e34427b4538eaa58e6b10ee61ad0..3e95c0a025f958ba9623c53415aa62e4fe2fba46 100644 (file)
@@ -322,6 +322,7 @@ FIPS_EX_OBJ= ../crypto/aes/aes_cfb.o \
        ../crypto/ecdsa/ecs_ossl.o \
        ../crypto/evp/e_aes.o \
        ../crypto/evp/e_des3.o \
+       ../crypto/evp/e_null.o \
        ../crypto/evp/m_sha1.o \
        ../crypto/evp/m_dss1.o \
        ../crypto/evp/m_dss.o \
index 7cf50e1416583dbd239163b1a0a0c0cc48f8e614..067a03cc5971f7072729684691b121d8f58f38d7 100644 (file)
@@ -69,7 +69,7 @@ static const EVP_CIPHER n_cipher=
        {
        NID_undef,
        1,0,0,
-       0,
+       EVP_CIPH_FLAG_FIPS,
        null_init_key,
        null_cipher,
        NULL,
index bdbc2faab99ff9cb590ff26422d916be27813b57..fed9b9a59f9fe2b18eba4ab7e7937efa37dbde5e 100644 (file)
 #define EVP_des_ede_cfb64 FIPS_evp_des_ede_cfb64
 #define EVP_des_ede_ecb FIPS_evp_des_ede_ecb
 #define EVP_des_ede_ofb FIPS_evp_des_ede_ofb
+#define EVP_null FIPS_evp_null
 #define EVP_sha1 FIPS_evp_sha1
 #define EVP_dss FIPS_evp_dss
 #define EVP_dss1 FIPS_evp_dss1