diff options
Diffstat (limited to 'src/lib/libcrypto/rand/rand.h')
| -rw-r--r-- | src/lib/libcrypto/rand/rand.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/libcrypto/rand/rand.h b/src/lib/libcrypto/rand/rand.h index ac6c021763..dc8fcf94c5 100644 --- a/src/lib/libcrypto/rand/rand.h +++ b/src/lib/libcrypto/rand/rand.h | |||
| @@ -119,6 +119,11 @@ int RAND_event(UINT, WPARAM, LPARAM); | |||
| 119 | 119 | ||
| 120 | #endif | 120 | #endif |
| 121 | 121 | ||
| 122 | #ifdef OPENSSL_FIPS | ||
| 123 | void RAND_set_fips_drbg_type(int type, int flags); | ||
| 124 | int RAND_init_fips(void); | ||
| 125 | #endif | ||
| 126 | |||
| 122 | /* BEGIN ERROR CODES */ | 127 | /* BEGIN ERROR CODES */ |
| 123 | /* The following lines are auto generated by the script mkerr.pl. Any changes | 128 | /* The following lines are auto generated by the script mkerr.pl. Any changes |
| 124 | * made after this point may be overwritten when the script is next run. | 129 | * made after this point may be overwritten when the script is next run. |
| @@ -129,9 +134,13 @@ void ERR_load_RAND_strings(void); | |||
| 129 | 134 | ||
| 130 | /* Function codes. */ | 135 | /* Function codes. */ |
| 131 | #define RAND_F_RAND_GET_RAND_METHOD 101 | 136 | #define RAND_F_RAND_GET_RAND_METHOD 101 |
| 137 | #define RAND_F_RAND_INIT_FIPS 102 | ||
| 132 | #define RAND_F_SSLEAY_RAND_BYTES 100 | 138 | #define RAND_F_SSLEAY_RAND_BYTES 100 |
| 133 | 139 | ||
| 134 | /* Reason codes. */ | 140 | /* Reason codes. */ |
| 141 | #define RAND_R_ERROR_INITIALISING_DRBG 102 | ||
| 142 | #define RAND_R_ERROR_INSTANTIATING_DRBG 103 | ||
| 143 | #define RAND_R_NO_FIPS_RANDOM_METHOD_SET 101 | ||
| 135 | #define RAND_R_PRNG_NOT_SEEDED 100 | 144 | #define RAND_R_PRNG_NOT_SEEDED 100 |
| 136 | 145 | ||
| 137 | #ifdef __cplusplus | 146 | #ifdef __cplusplus |
