aboutsummaryrefslogtreecommitdiff
path: root/crypto/rand/rand_lib.c
AgeCommit message (Expand)AuthorFilesLines
2020-04-28Rename FIPS_MODE to FIPS_MODULERichard Levitte1-8/+8
2020-04-23Update copyright yearMatt Caswell1-1/+1
2020-02-06Fix misspelling errors and typos reported by codespellDr. Matthias St. Pierre1-1/+1
2020-01-20Convert rand_bytes_ex and rand_priv_bytes_ex to public functionsMatt Caswell1-4/+4
2019-12-12rand_lib.c: fix null pointer dereferences after RAND_get_rand_method() failureDr. Matthias St. Pierre1-17/+21
2019-11-07Update source files for pre-3.0 deprecationRichard Levitte1-1/+1
2019-09-28Reorganize local header filesDr. Matthias St. Pierre1-1/+1
2019-09-28Reorganize private crypto header filesDr. Matthias St. Pierre1-1/+1
2019-09-11drbg: fix issue where DRBG_CTR fails if NO_DF is used (2nd attempt)Dr. Matthias St. Pierre1-2/+4
2019-09-11drbg: ensure fork-safety without using a pthread_atfork handlerDr. Matthias St. Pierre1-7/+0
2019-09-10Fix a potential crash in rand_unix.cBernd Edlinger1-31/+84
2019-09-01Remove extern declarations of OPENSSL_ia32cap_PBernd Edlinger1-2/+0
2019-07-23Make rand_pool buffers more dynamic in their sizing.Pauli1-5/+43
2019-07-22Allocate DRBG additional data pool from non-secure memoryBernd Edlinger1-8/+23
2019-07-02Provide rand_bytes_ex and rand_priv_bytes_exMatt Caswell1-8/+29
2019-07-02Fix TyposAntoine Cœur1-1/+1
2019-06-07Move the rand_nonce_lock code into drbg_lib.cMatt Caswell1-88/+37
2019-04-12Add prediction resistance capability to the DRBG reseeding process.Pauli1-12/+0
2019-03-29Fix broken change from b3d113e.Pauli1-1/+2
2019-03-22Cosmetic rand/drbg changes.Pauli1-5/+5
2018-12-06Following the license change, modify the boilerplates in crypto/rand/Richard Levitte1-1/+1
2018-12-06Refactor the computation of API version limitsRichard Levitte1-1/+1
2018-11-09Fix issues with do_rand_init/rand_cleanup_intBernd Edlinger1-4/+8
2018-11-08Add missing RAND initialisation call.Pauli1-1/+2
2018-11-07Rename the rand_drbg_st data member "pool" to "seed_pool"Bernd Edlinger1-4/+4
2018-11-01Avoid two memory allocations in each RAND_DRBG_bytesBernd Edlinger1-12/+25
2018-10-29Rework and simplify resource flow in drbg_addBernd Edlinger1-7/+4
2018-10-26Fix data race in RAND_DRBG_generateBernd Edlinger1-0/+2
2018-10-26Fix a possible crash in rand_drbg_get_entropyBernd Edlinger1-0/+2
2018-10-22RAND_add(): fix heap corruption in error pathDr. Matthias St. Pierre1-0/+4
2018-10-16DRBG: fix reseeding via RAND_add()/RAND_seed() with large inputDr. Matthias St. Pierre1-21/+58
2018-08-22rand_lib.c: Don't open random devices while cleaning up.Dr. Matthias St. Pierre1-2/+6
2018-07-26Fixed issue where DRBG_CTR fails if NO_DF is used - when entropy is calledShane Lontis1-1/+1
2018-06-27Modify the DEVRANDOM source so that the files are kept open persistently.Pauli1-0/+15
2018-05-11Use void in all function definitions that do not take any argumentsKurt Roeckx1-1/+1
2018-05-02Change rand_pool_bytes_needed to handle less entropy than 1 per 8 bitsRichard Levitte1-10/+10
2018-05-01Improve error handling in rand_init functionBernd Edlinger1-6/+21
2018-04-13DRBG: implement a get_nonce() callbackDr. Matthias St. Pierre1-135/+65
2018-04-10DRBG: fix memory leak on error in rand_drbg_get_entropy()Dr. Matthias St. Pierre1-1/+2
2018-04-04Remove ambiguity in rand_pool_add[_end] return valueRichard Levitte1-24/+18
2018-04-01Make sure we use a nonce when a nonce is requiredKurt Roeckx1-21/+0
2018-03-19Make the public and private DRBG thread localKurt Roeckx1-3/+0
2018-03-17Return error when trying to use prediction resistanceKurt Roeckx1-1/+12
2018-03-17Propagate the request for prediction resistance to the get entropy callKurt Roeckx1-2/+3
2018-03-15Publish the RAND_DRBG APIDr. Matthias St. Pierre1-55/+55
2018-03-06Check the parent DRBG's strengthKurt Roeckx1-1/+11
2018-02-21Check return value of time() when getting additional data for the DRBGKurt Roeckx1-4/+12
2018-02-15DRBG: make locking api truly privateDr. Matthias St. Pierre1-6/+6
2018-02-13DRBG: add locking apiDr. Matthias St. Pierre1-9/+8
2018-02-09Fix glibc version detection.Pauli1-5/+34