diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-07-30 15:13:08 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-07-30 21:08:07 +0100 |
commit | a3efe1b6e9d2aa2ce5661e4d4b97262eae743fa7 (patch) | |
tree | a841e435b30e0b59513cda3c05a904b8e91f6af4 /crypto/rand/rand_lcl.h | |
parent | 789b12599d2e9ad3f93ef54f4bacf296d82a8325 (diff) |
Avoid multiple lock using FIPS DRBG.
Don't use multiple locks when SP800-90 DRBG is used outside FIPS mode.
PR#3176
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/rand/rand_lcl.h')
-rw-r--r-- | crypto/rand/rand_lcl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_lcl.h index 618a8ec899..725cdb31c2 100644 --- a/crypto/rand/rand_lcl.h +++ b/crypto/rand/rand_lcl.h @@ -154,5 +154,6 @@ #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md2(), NULL) #endif +int md_rand_bytes_lock(unsigned char *buf, int num, int pseudo, int lock); #endif |