s_mp_rand_platform.c

Branch


Log

Author Commit Date CI Message
arnout 528fdb04 2021-09-21T14:37:52 s_mp_rand_platform.c: s_read_urandom: correctly handle split read s_read_urandom has a while loop to handle read() that returns less than the full buffer (either due to EINTR or because more than the atomic guarantee from urandom was requested). However, the target of the read was always the base pointer p instead of the updated pointer q, so in the end less than the requested randomness is returned. Use q instead of p in the read() call. Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Steffen Jaeckel 301e2c41 2020-09-13T14:59:39 Partially revert "enable building dll's using makefile.msvc" This partially reverts commit b206dde88e4affae07970782498afe9e3664ae30.
Anonymous Maarten 3ba04963 2020-09-11T16:04:19 enable building dll's using makefile.msvc
Daniel Mendler c47d5e87 2019-11-12T01:11:12 s_mp_rand_platform: add comment regarding MP_HAS requiring dead code elim
Daniel Mendler 85699be1 2019-10-27T21:58:43 remove ltm_rng (deprecated function)
nijtmans a8ca1c3c 2019-10-25T13:02:45 fix win32 includes, remove support for everything older than Windows XP
Steffen Jaeckel d06e2986 2019-10-22T11:47:42 Merge tag 'v1.2.0' into develop v1.2.0
Steffen Jaeckel 7a68f128 2019-10-19T16:24:39 Execute move.sh - Rename files from bn_* to match the function names. * git blame <renamed-file> is not affected * git log --follow <renamed-file> can be used to show log across renames