Skip to content

Commit 200f249

Browse files
committed
Remove Dual EC DRBG from FIPS module.
1 parent 4089bd6 commit 200f249

8 files changed

+2
-2265
lines changed

fips/fips_test_suite.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -714,18 +714,6 @@ static int do_drbg_all(void)
714714
{NID_aes_128_ctr, DRBG_FLAG_CTR_USE_DF},
715715
{NID_aes_192_ctr, DRBG_FLAG_CTR_USE_DF},
716716
{NID_aes_256_ctr, DRBG_FLAG_CTR_USE_DF},
717-
{(NID_X9_62_prime256v1 << 16)|NID_sha1, 0},
718-
{(NID_X9_62_prime256v1 << 16)|NID_sha224, 0},
719-
{(NID_X9_62_prime256v1 << 16)|NID_sha256, 0},
720-
{(NID_X9_62_prime256v1 << 16)|NID_sha384, 0},
721-
{(NID_X9_62_prime256v1 << 16)|NID_sha512, 0},
722-
{(NID_secp384r1 << 16)|NID_sha224, 0},
723-
{(NID_secp384r1 << 16)|NID_sha256, 0},
724-
{(NID_secp384r1 << 16)|NID_sha384, 0},
725-
{(NID_secp384r1 << 16)|NID_sha512, 0},
726-
{(NID_secp521r1 << 16)|NID_sha256, 0},
727-
{(NID_secp521r1 << 16)|NID_sha384, 0},
728-
{(NID_secp521r1 << 16)|NID_sha512, 0},
729717
{0, 0}
730718
};
731719
DRBG_LIST *lst;

fips/fipsalgtest.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,6 @@
434434
# SP800-90 DRBG tests
435435
"SP800-90 DRBG",
436436
[ "CTR_DRBG", "fips_drbgvs" ],
437-
[ "Dual_EC_DRBG", "fips_drbgvs" ],
438437
[ "Hash_DRBG", "fips_drbgvs" ],
439438
[ "HMAC_DRBG", "fips_drbgvs" ]
440439

fips/rand/Makefile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ APPS=
2323

2424
LIB=$(TOP)/libcrypto.a
2525
LIBSRC= fips_rand.c fips_rand_selftest.c fips_drbg_lib.c \
26-
fips_drbg_hash.c fips_drbg_hmac.c fips_drbg_ctr.c fips_drbg_ec.c \
26+
fips_drbg_hash.c fips_drbg_hmac.c fips_drbg_ctr.c \
2727
fips_drbg_selftest.c fips_drbg_rand.c fips_rand_lib.c
2828
LIBOBJ= fips_rand.o fips_rand_selftest.o fips_drbg_lib.o \
29-
fips_drbg_hash.o fips_drbg_hmac.o fips_drbg_ctr.o fips_drbg_ec.o \
29+
fips_drbg_hash.o fips_drbg_hmac.o fips_drbg_ctr.o \
3030
fips_drbg_selftest.o fips_drbg_rand.o fips_rand_lib.o
3131

3232
SRC= $(LIBSRC)
@@ -105,18 +105,6 @@ fips_drbg_ctr.o: ../../include/openssl/ossl_typ.h
105105
fips_drbg_ctr.o: ../../include/openssl/safestack.h
106106
fips_drbg_ctr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
107107
fips_drbg_ctr.o: fips_drbg_ctr.c fips_rand_lcl.h
108-
fips_drbg_ec.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
109-
fips_drbg_ec.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
110-
fips_drbg_ec.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
111-
fips_drbg_ec.o: ../../include/openssl/ec.h ../../include/openssl/evp.h
112-
fips_drbg_ec.o: ../../include/openssl/fips.h ../../include/openssl/fips_rand.h
113-
fips_drbg_ec.o: ../../include/openssl/hmac.h ../../include/openssl/obj_mac.h
114-
fips_drbg_ec.o: ../../include/openssl/objects.h
115-
fips_drbg_ec.o: ../../include/openssl/opensslconf.h
116-
fips_drbg_ec.o: ../../include/openssl/opensslv.h
117-
fips_drbg_ec.o: ../../include/openssl/ossl_typ.h
118-
fips_drbg_ec.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
119-
fips_drbg_ec.o: ../../include/openssl/symhacks.h fips_drbg_ec.c fips_rand_lcl.h
120108
fips_drbg_hash.o: ../../include/openssl/aes.h ../../include/openssl/asn1.h
121109
fips_drbg_hash.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
122110
fips_drbg_hash.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h

0 commit comments

Comments
 (0)