projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update fipssyms.h to keep all symbols in FIPS,fips namespace.
[openssl.git]
/
fips
/
rand
/
fips_drbg_ctr.c
diff --git
a/fips/rand/fips_drbg_ctr.c
b/fips/rand/fips_drbg_ctr.c
index 2a3c321618dcbc145d585f1a72f3bea22283c5e3..4045e2d627f2966f5c4cd8bbba37657f1ec94735 100644
(file)
--- a/
fips/rand/fips_drbg_ctr.c
+++ b/
fips/rand/fips_drbg_ctr.c
@@
-340,13
+340,13
@@
static int drbg_ctr_generate(DRBG_CTX *dctx,
{
/* Use K as temp space as it will be updated */
AES_encrypt(cctx->V, cctx->K, &cctx->ks);
{
/* Use K as temp space as it will be updated */
AES_encrypt(cctx->V, cctx->K, &cctx->ks);
- if (!drbg_cprng_test(dctx, cctx->K))
+ if (!
fips_
drbg_cprng_test(dctx, cctx->K))
return 0;
memcpy(out, cctx->K, outlen);
break;
}
AES_encrypt(cctx->V, out, &cctx->ks);
return 0;
memcpy(out, cctx->K, outlen);
break;
}
AES_encrypt(cctx->V, out, &cctx->ks);
- if (!drbg_cprng_test(dctx, out))
+ if (!
fips_
drbg_cprng_test(dctx, out))
return 0;
out += 16;
outlen -= 16;
return 0;
out += 16;
outlen -= 16;