diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-04-05 12:42:31 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-04-05 12:42:31 +0000 |
commit | cab0595c1426b2f70d88b824028c6d1ef4a4476e (patch) | |
tree | 2030c0073ba4fb5f68eab1a378f7d7dcd667f6b4 /fips/rand/fips_rand.h | |
parent | 856650deb01bed257622d1ecb64db6d83cf5cdcc (diff) |
Rename deprecated FIPS_rand functions to FIPS_x931. These shouldn't be
used by applications directly and the X9.31 PRNG is deprecated by new
FIPS140-2 rules anyway.
Diffstat (limited to 'fips/rand/fips_rand.h')
-rw-r--r-- | fips/rand/fips_rand.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fips/rand/fips_rand.h b/fips/rand/fips_rand.h index 18ca8acbfc..a691e14359 100644 --- a/fips/rand/fips_rand.h +++ b/fips/rand/fips_rand.h @@ -58,17 +58,17 @@ extern "C" { #endif -int FIPS_rand_set_key(const unsigned char *key, int keylen); -int FIPS_rand_seed(const void *buf, int num); -int FIPS_rand_bytes(unsigned char *out, int outlen); +int FIPS_x931_set_key(const unsigned char *key, int keylen); +int FIPS_x931_seed(const void *buf, int num); +int FIPS_x931_bytes(unsigned char *out, int outlen); -int FIPS_rand_test_mode(void); -void FIPS_rand_reset(void); -int FIPS_rand_set_dt(unsigned char *dt); +int FIPS_x931_test_mode(void); +void FIPS_x931_reset(void); +int FIPS_x931_set_dt(unsigned char *dt); -int FIPS_rand_status(void); +int FIPS_x931_status(void); -const RAND_METHOD *FIPS_rand_method(void); +const RAND_METHOD *FIPS_x931_method(void); typedef struct drbg_ctx_st DRBG_CTX; |