Commit Graph

16 Commits (d454a48b5169fddacd169e6ca4124b69449501c9)

Author SHA1 Message Date
Jochen Hoenicke 009850f6c9 Fixed undefined behavior
6 years ago
Pavol Rusnak 2e528be1e9
add warning message to rand.c
7 years ago
Pavol Rusnak 72841c4fa1
declare random_buffer as weak symbol
7 years ago
Pavol Rusnak 46fa586b12
further work on making rand.{c,h} more global
7 years ago
Peter D. Gray 65e976d70c rand.c: platform depedenant code can be removed using CPP flag
7 years ago
Pavol Rusnak 3556c74740
fix build on _WIN32
9 years ago
Pavol Rusnak 00954da5fe fix /dev/urandom problem
9 years ago
Pavol Rusnak ffedf8a4d0 suppress warning when debug is disabled
9 years ago
Pavol Rusnak 196cabe012 import random_uniform and random_permute functions from TREZOR codebase
9 years ago
Dustin Laurence ce67a85d39 Add finalize_rand() to prove we have no leaks
10 years ago
Dustin Laurence 661751ab4b Add finalize_rand()
10 years ago
Dustin Laurence 3329b6b6aa Test fread return value
10 years ago
Pavol Rusnak 612f5ab050 fix copyright headers
10 years ago
Pavol Rusnak e827517591 add mnemonic_check function
10 years ago
Pavol Rusnak 4593b3f636 use /dev/urandom in example
11 years ago
Pavol Rusnak ccbc219b29 import sources
11 years ago