diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-03-16 15:52:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-03-16 15:52:12 +0000 |
commit | fbbabb646c707b7c18a67a2724efe1a12bae15a7 (patch) | |
tree | 3b4c7c6837b2fcf1e585c5761c064096d5c05558 /fips/rand/fips_rand.h | |
parent | 8cd3d99f573b7d8dd842e9b29726fb7c602ba735 (diff) |
Add extensive DRBG selftest data and option to corrupt it in fips_test_suite.
Diffstat (limited to 'fips/rand/fips_rand.h')
-rw-r--r-- | fips/rand/fips_rand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fips/rand/fips_rand.h b/fips/rand/fips_rand.h index 6a0b6729a7..829a0e12a4 100644 --- a/fips/rand/fips_rand.h +++ b/fips/rand/fips_rand.h @@ -76,6 +76,7 @@ typedef struct drbg_ctx_st DRBG_CTX; #define DRBG_FLAG_CTR_USE_DF 0x1 DRBG_CTX *FIPS_drbg_new(int type, unsigned int flags); +int FIPS_drbg_init(DRBG_CTX *dctx, int type, unsigned int flags); int FIPS_drbg_instantiate(DRBG_CTX *dctx, int strength, const unsigned char *pers, size_t perslen); int FIPS_drbg_reseed(DRBG_CTX *dctx, const unsigned char *adin, size_t adinlen); |