openssl/crypto/rand
Dr. Matthias St. Pierre 63180182ec drbg: fix issue where DRBG_CTR fails if NO_DF is used (2nd attempt)
Since commit 7c226dfc43 a chained DRBG does not add additional
data anymore when reseeding from its parent. The reason is that
the size of the additional data exceeded the allowed size when
no derivation function was used.

This commit provides an alternative fix: instead of adding the
entire DRBG's complete state, we just add the DRBG's address
in memory, thereby providing some distinction between the different
DRBG instances.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9802)
2019-09-09 17:09:06 +01:00
..
build.info crypto/rand: rename drbg_rand.c to drbg_ctr.c 2018-01-04 11:47:30 +10:00
drbg_ctr.c DRBG: fix reseeding via RAND_add()/RAND_seed() with large input 2018-10-16 22:32:42 +02:00
drbg_lib.c drbg: ensure fork-safety without using a pthread_atfork handler 2019-09-09 17:09:06 +01:00
rand_egd.c Update copyright year 2018-05-29 13:16:04 +01:00
rand_err.c Make rand_pool buffers more dynamic in their sizing. 2019-07-23 23:30:12 +10:00
rand_lcl.h drbg: ensure fork-safety without using a pthread_atfork handler 2019-09-09 17:09:06 +01:00
rand_lib.c drbg: fix issue where DRBG_CTR fails if NO_DF is used (2nd attempt) 2019-09-09 17:09:06 +01:00
rand_unix.c drbg: add fork id to additional data on UNIX systems 2019-09-09 17:09:06 +01:00
rand_vms.c Update copyright year 2019-05-28 14:49:38 +02:00
rand_win.c Fix build with VS2008 2019-09-09 16:45:22 +02:00
randfile.c Update copyright year 2019-05-28 14:49:38 +02:00