Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move more OS-specific functionality to arc4random.h headers. | bcook | 2014-07-20 | 1 | -1/+12 |
| | | | | | | | | Move <sys/mman.h> and raise(SIGKILL) calls to OS-specific headers. On OpenBSD, move thread_private.h as well to arc4random.h. On Windows, use TerminateProcess on getentropy failure. ok deraadt@ | ||||
* | Change _rs_allocate so it can combine the two regions (rs and rsx) | deraadt | 2014-07-19 | 1 | -14/+17 |
| | | | | | | | | | | into one if a system has an awesome getentropy(). In that case it is valid to totally throw away the rsx state in the child. If the getentropy() is not very good and has a lazy reseed operation, this combining is a bad idea, and the reseed should probably continue to use the "something old, something new" mix. _rs_allocate() can accomodate either method, but not on the fly. ok matthew | ||||
* | Seperate arc4random's os-dependent parts into static inline functions, | deraadt | 2014-07-18 | 1 | -0/+46 |
making it much easier for libressl -portable to fill in the gaps. ok bcook beck |