Bernd Edlinger
|
f9e43929c4
Rework and simplify resource flow in drbg_add
|
6 years ago |
Bernd Edlinger
|
a83dc59afa
Fix data race in RAND_DRBG_generate
|
6 years ago |
Bernd Edlinger
|
21311777ad
Fix a possible crash in rand_drbg_get_entropy
|
6 years ago |
Dr. Matthias St. Pierre
|
5b4cb385c1
RAND_add(): fix heap corruption in error path
|
6 years ago |
Dr. Matthias St. Pierre
|
3064b55134
DRBG: fix reseeding via RAND_add()/RAND_seed() with large input
|
6 years ago |
Dr. Matthias St. Pierre
|
bc420ebea2
rand_lib.c: Don't open random devices while cleaning up.
|
6 years ago |
Shane Lontis
|
7c226dfc43
Fixed issue where DRBG_CTR fails if NO_DF is used - when entropy is called
|
6 years ago |
Pauli
|
c7504aeb64
Modify the DEVRANDOM source so that the files are kept open persistently.
|
6 years ago |
Kurt Roeckx
|
3cb7c5cfef
Use void in all function definitions that do not take any arguments
|
6 years ago |
Richard Levitte
|
6ebb49f3f9
Change rand_pool_bytes_needed to handle less entropy than 1 per 8 bits
|
6 years ago |
Bernd Edlinger
|
0e5c1a66f7
Improve error handling in rand_init function
|
6 years ago |
Dr. Matthias St. Pierre
|
5bc6bcf82d
DRBG: implement a get_nonce() callback
|
6 years ago |
Dr. Matthias St. Pierre
|
63a65d16ac
DRBG: fix memory leak on error in rand_drbg_get_entropy()
|
6 years ago |
Richard Levitte
|
8e2bec9b8a
Remove ambiguity in rand_pool_add[_end] return value
|
6 years ago |
Kurt Roeckx
|
2a70d65b99
Make sure we use a nonce when a nonce is required
|
6 years ago |
Kurt Roeckx
|
7caf122e71
Make the public and private DRBG thread local
|
6 years ago |
Kurt Roeckx
|
311276ffe3
Return error when trying to use prediction resistance
|
6 years ago |
Kurt Roeckx
|
eb238134e0
Propagate the request for prediction resistance to the get entropy call
|
6 years ago |
Dr. Matthias St. Pierre
|
6decf9436f
Publish the RAND_DRBG API
|
6 years ago |
Kurt Roeckx
|
35503b7cdc
Check the parent DRBG's strength
|
6 years ago |
Kurt Roeckx
|
60595292ae
Check return value of time() when getting additional data for the DRBG
|
6 years ago |
Dr. Matthias St. Pierre
|
812b153706
DRBG: make locking api truly private
|
6 years ago |
Dr. Matthias St. Pierre
|
3ce1c27b56
DRBG: add locking api
|
6 years ago |
Pauli
|
4cd58771d8
Fix glibc version detection.
|
6 years ago |
Pauli
|
bed4afa81b
Fix glibc specific conditional for Mac OS/X
|
6 years ago |
Pauli
|
2b66fd5720
Unify timer code
|
6 years ago |
Dr. Matthias St. Pierre
|
f61f62ea13
Use RAND_DRBG_bytes() for RAND_bytes() and RAND_priv_bytes()
|
6 years ago |
Benjamin Kaduk
|
63ab5ea13b
Revert the crypto "global lock" implementation
|
6 years ago |
Dr. Matthias St. Pierre
|
2e230e8687
crypto/rand/rand_lib.c: fix undefined reference to `clock_gettime'
|
6 years ago |
Kurt Roeckx
|
20928ff635
Add RAND_DRBG_bytes
|
7 years ago |