diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-06 23:40:22 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-06 23:40:22 +0000 |
commit | 6653c6f2e86a8e180bca4c5cd1ea9fd81aab3db1 (patch) | |
tree | 99cdd954dc88f52a05eecd71001fc0abfe90af82 /fips/fips.h | |
parent | 4c8855b975bdd1b4c84cf32a6a4748d40ea4a14c (diff) |
Update OpenSSL DRBG support code. Use date time vector as additional data.
Set FIPS RAND_METHOD at same time as OpenSSL RAND_METHOD.
Diffstat (limited to 'fips/fips.h')
-rw-r--r-- | fips/fips.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fips/fips.h b/fips/fips.h index 53bc12fe9a..29fd814350 100644 --- a/fips/fips.h +++ b/fips/fips.h @@ -127,6 +127,8 @@ void FIPS_set_malloc_callbacks( void *(*malloc_cb)(int num, const char *file, int line), void (*free_cb)(void *)); +void FIPS_get_timevec(unsigned char *buf, unsigned long *pctr); + #define FIPS_ERROR_IGNORED(alg) OpenSSLDie(__FILE__, __LINE__, \ alg " previous FIPS forbidden algorithm error ignored"); |