Commit Graph

10 Commits (3f1962dd2bb367a49d39c2e564172010865174b0)

Author SHA1 Message Date
Daniel Micay c74fe56091 minor include style fix 2018-10-10 18:19:56 -04:00
Daniel Micay dcd969ae04 use a consistent style for fixed-size int types
The stdint.h types don't cover 128-bit integers and the underscore makes
them ill suited to usage in function suffixes. Instead, use the common
naming style in the Linux kernel and elsewhere including the ChaCha8
implementation included here.
2018-10-04 15:17:11 -04:00
Daniel Micay 433af6d4ba drop 128-bit keys from ChaCha implementation 2018-09-11 10:22:28 -04:00
Daniel Micay 99fcddc223 use much faster get_random_{type}_uniform approach 2018-08-30 02:08:05 -04:00
Daniel Micay 700e06c2db manually specialize the CSPRNG cache 2018-08-26 00:43:46 -04:00
Daniel Micay c41e659383 use ChaCha8-based CSPRNG 2018-08-25 23:24:00 -04:00
Daniel Micay 2b7c9362bb consume fewer random bytes for slab randomization 2018-08-25 18:32:44 -04:00
Daniel Micay 71dde7c4f8 provide getrandom wrapper to support glibc < 2.25
Debian stretch (currently stable) only has glibc 2.24...
2018-08-24 18:48:55 -04:00
Daniel Micay daa44905ee implement a cache for the CSPRNG 2018-08-23 16:36:57 -04:00
Daniel Micay 70d61b6662 initial commit 2018-08-23 15:42:41 -04:00