Update fipssyms.h to keep all symbols in FIPS,fips namespace.
[openssl.git] / fips / rand / fips_drbg_ctr.c
index 2a3c321618dcbc145d585f1a72f3bea22283c5e3..4045e2d627f2966f5c4cd8bbba37657f1ec94735 100644 (file)
@@ -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);
-                       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);
-               if (!drbg_cprng_test(dctx, out))
+               if (!fips_drbg_cprng_test(dctx, out))
                        return 0;
                out += 16;
                outlen -= 16;