diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-10-15 14:00:37 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-10-15 14:00:37 +0000 |
commit | 2cbd31fe26e635e170e1f417a2a015efd54ac79f (patch) | |
tree | ce9f124895a03124f3cb3bb3b8d3abc4f5d470cf /newlib/libc/include/fastmath.h | |
parent | 45ec2b422e3262ec65481c629ad2933038741f6d (diff) | |
download | cygnal-2cbd31fe26e635e170e1f417a2a015efd54ac79f.tar.gz cygnal-2cbd31fe26e635e170e1f417a2a015efd54ac79f.tar.bz2 cygnal-2cbd31fe26e635e170e1f417a2a015efd54ac79f.zip |
* autoload.cc (CryptAcquireContextW): Remove.
(CryptGenRandom): Remove.
(CryptReleaseContext): Remove.
(SystemFunction036): Define. Add comment to explain that this is
actually the RtlGenRandom function.
* fhandler.h (class fhandler_dev_random): Drop crypt_prov member.
(fhandler_dev_random::fhandler_dev_random): Define inline.
(fhandler_dev_random::dup): Drop declaration.
* fhandler_random.cc (fhandler_dev_random::fhandler_dev_random): Remove
here.
(fhandler_dev_random::crypt_gen_random): Use RtlGenRandom to drop
dependency to old Crypto API.
(fhandler_dev_random::read): Implement an enhanced version of reading
random bytes from RtlGenRandom for the sake of a better /dev/random
emulation.
(fhandler_dev_random::close): Just return 0 since crypt_prov doesn't
exisyt anymore.
(fhandler_dev_random::dup): Drop entirely for the same reason.
Diffstat (limited to 'newlib/libc/include/fastmath.h')
0 files changed, 0 insertions, 0 deletions