summaryrefslogtreecommitdiff
path: root/openbsd-compat/arc4random.c
Commit message (Collapse)AuthorAgeFilesLines
* prefer to use getrandom() for PRNG seedingDamien Miller2018-04-131-3/+13
| | | | | Only applies when built --without-openssl. Thanks Jann Horn for reminder.
* cast to avoid type warning in error messageDamien Miller2016-07-151-2/+2
|
* support --without-openssl at configure timeDamien Miller2015-01-151-1/+35
| | | | | | | | Disables and removes dependency on OpenSSL. Many features don't work and the set of crypto options is greatly restricted. This will only work on system with native arc4random or /dev/urandom. Considered highly experimental for now.
* - (djm) [openbsd-compat/arc4random.c] Zero seed after keying PRNGDamien Miller2014-09-041-1/+1
|
* - (dtucker) [openbsd-compat/arc4random.c] Use explicit_bzero instead of anDarren Tucker2014-06-111-1/+1
| | | | assigment that might get optimized out. ok djm@
* - (djm) [openbsd-compat/Makefile.in openbsd-compat/arc4random.c]Damien Miller2013-10-091-13/+46
| | | | | | [openbsd-compat/bsd-arc4random.c] Replace old RC4-based arc4random implementation with recent OpenBSD's ChaCha-based PRNG. ok dtucker@, tested tim@
* - (djm) [openbsd-compat/arc4random.c openbsd-compat/chacha_private.h] PullDamien Miller2013-10-091-0/+261
in OpenBSD implementation of arc4random, shortly to replace the existing bsd-arc4random.c