6 Commits

Author SHA1 Message Date
Theodore Dubois
032a218a63 Mark unused function arguments 2019-01-05 17:18:54 -08:00
Theodore Dubois
5cb73a326f Remove dependency on Security.framework
The replacement, CCRandomGenerateBytes, is available in the C library. My computer was giving me an annoying and somewhat strange linker warning:

ld: warning: text-based stub file /System/Library/Frameworks//Security.framework/Security.tbd and library file /System/Library/Frameworks//Security.framework/Security are out of sync. Falling back to library file for linking.
2018-12-10 16:16:20 -08:00
Ryan Hileman
d1c12278e7 use getrandom syscall directly 2018-12-10 13:52:18 -08:00
Ryan Hileman
309c4353ba add get_random() API, implement /dev/[u]random 2018-12-10 13:12:27 -08:00
Theodore Dubois
eb57697c7e Correctly output the random data 2018-10-05 10:41:42 -07:00
Theodore Dubois
9ab09bd649 Implement getrandom 2018-10-02 13:02:14 -07:00