aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/aes_openssl.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-13 14:35:51 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-31 19:46:00 -0400
commit60705a5719d929a5f3180bc4e6906f972855f84b (patch)
tree01ac15d5c956b5cdc0cf7a9ee31296c7b7e7afaa /src/lib/crypt_ops/aes_openssl.c
parentbe8d497b656b674e33726f49d9829cc03fccea09 (diff)
downloadtor-60705a5719d929a5f3180bc4e6906f972855f84b.tar.gz
tor-60705a5719d929a5f3180bc4e6906f972855f84b.zip
Use NSS in crypto_rand.c
This is comparatively straightforward too, except for a couple of twists: * For as long as we're building with two crypto libraries, we want to seed _both_ their RNGs, and use _both_ their RNGs to improve the output of crypto_strongest_rand() * The NSS prng will sometimes refuse to generate huge outputs. When it does, we stretch the output with SHAKE. We only need this for the tests.
Diffstat (limited to 'src/lib/crypt_ops/aes_openssl.c')
0 files changed, 0 insertions, 0 deletions