-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New osrandom_engine in C #3229
New osrandom_engine in C #3229
Commits on Dec 6, 2016
-
Inspired by Python/random.c and the old implementation. Signed-off-by: Christian Heimes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5ebfeb - Browse repository at this point
Copy the full SHA e5ebfebView commit details -
* Fix naming bug caused by search 'n replace mistake * Make it easier to override osrandom auto-detection * Add engine ctrl and backend API to get implementation from ENGINE Signed-off-by: Christian Heimes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1cf7222 - Browse repository at this point
Copy the full SHA 1cf7222View commit details -
Better test coverage, documentation, LICENSE
Signed-off-by: Christian Heimes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 247ea25 - Browse repository at this point
Copy the full SHA 247ea25View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcec330 - Browse repository at this point
Copy the full SHA fcec330View commit details -
* read() returns size_t Signed-off-by: Christian Heimes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb6f9e2 - Browse repository at this point
Copy the full SHA cb6f9e2View commit details -
remove CCRandomGenerateBytes path and update getentropy to work on macOS
This change allows us to test all the engines in our CI: * getentropy (tested by macOS sierra) * getrandom (tested on several linux builders) * /dev/urandom (tested on FreeBSD, OS X 10.11 and below, & older linux) * CryptGenRandom (tested on windows builders) I also fixed bugs preventing compilation in the getentropy code
Configuration menu - View commit details
-
Copy full SHA for 4bb8742 - Browse repository at this point
Copy the full SHA 4bb8742View commit details -
Add macOS to spelling list. Remove dead code from header file.
Signed-off-by: Christian Heimes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad2d09e - Browse repository at this point
Copy the full SHA ad2d09eView commit details -
getentropy() returns int and is restricted to 256 bytes on macOS, too.
Signed-off-by: Christian Heimes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 158ba3b - Browse repository at this point
Copy the full SHA 158ba3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 086ebbf - Browse repository at this point
Copy the full SHA 086ebbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6bc160 - Browse repository at this point
Copy the full SHA f6bc160View commit details -
Fixes related to Alex's recent review.
Signed-off-by: Christian Heimes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8575fb2 - Browse repository at this point
Copy the full SHA 8575fb2View commit details
Commits on Dec 8, 2016
-
Add error reporting and fail for EAGAIN
Add error reporting strings for various error cases. This gives us much nicer and understandable error messages. SYS_getrandom() EAGAIN is now an error. Cryptography refuses to initialize its osrandom engine when the Kernel's CPRNG hasn't been seeded yet. Signed-off-by: Christian Heimes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2abbab4 - Browse repository at this point
Copy the full SHA 2abbab4View commit details