From 42bd0a6b3c73c71b69967503c0ee0a3598b52655 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 5 Apr 2011 15:48:05 +0000 Subject: Update fipssyms.h to keep all symbols in FIPS,fips namespace. Rename drbg_cprng_test to fips_drbg_cprng_test. Remove rand files from Makefile.fips. --- fips/rand/fips_drbg_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fips/rand/fips_drbg_hash.c') diff --git a/fips/rand/fips_drbg_hash.c b/fips/rand/fips_drbg_hash.c index 8b49f33a63..a94170f135 100644 --- a/fips/rand/fips_drbg_hash.c +++ b/fips/rand/fips_drbg_hash.c @@ -204,13 +204,13 @@ static int hash_gen(DRBG_CTX *dctx, unsigned char *out, size_t outlen) if (outlen < dctx->blocklength) { FIPS_digestfinal(&hctx->mctx, hctx->vtmp, NULL); - if (!drbg_cprng_test(dctx, hctx->vtmp)) + if (!fips_drbg_cprng_test(dctx, hctx->vtmp)) return 0; memcpy(out, hctx->vtmp, outlen); return 1; } FIPS_digestfinal(&hctx->mctx, out, NULL); - if (!drbg_cprng_test(dctx, out)) + if (!fips_drbg_cprng_test(dctx, out)) return 0; outlen -= dctx->blocklength; if (outlen == 0) -- cgit v1.2.3