Nick Mathewson
|
ce3b7ddb54
improve a comment in memwipe
|
9 years ago |
Nick Mathewson
|
7186e2a943
Merge remote-tracking branch 'public/feature17694_strongest_027'
|
9 years ago |
Nick Mathewson
|
631e3517e3
Mark a couple more arguments as unused.
|
9 years ago |
Nick Mathewson
|
3843c6615c
Small cleanups and comment fixes to rng functions.
|
9 years ago |
Nick Mathewson
|
3a69fcb01f
try a little harder with getrandom types to avoid warnings
|
9 years ago |
Nick Mathewson
|
0df014edad
mark a variable unused.
|
9 years ago |
Nick Mathewson
|
b701b7962b
Fix comment switcheroo. Spotted by skruffy
|
9 years ago |
Yawning Angel
|
353c71516e
Add support for getrandom() and getentropy() when available
|
9 years ago |
Nick Mathewson
|
2259de0de7
Always hash crypto_strongest_rand() along with some prng
|
9 years ago |
Nick Mathewson
|
e5754c42d1
Merge branch 'bug17686_v2_027'
|
9 years ago |
Nick Mathewson
|
1cfa2bc859
Fix documentation for crypto_rand*
|
9 years ago |
Nick Mathewson
|
ddcbe26474
Now that crypto_rand() cannot fail, it should return void.
|
9 years ago |
Nick Mathewson
|
10fdee6285
Add crypto-initializer functions to those whose return values must be checked
|
9 years ago |
Nick Mathewson
|
dedea28c2e
Make crypto_seed_rng() and crypto_rand() less scary.
|
9 years ago |
teor (Tim Wilson-Brown)
|
b1b8f7982e
Check the return value of HMAC in crypto.c and assert on error
|
9 years ago |
Nick Mathewson
|
45caeec9a0
Merge remote-tracking branch 'teor/comments-20151123'
|
9 years ago |
Nick Mathewson
|
7194d3d957
Tweak gtank's sha512 patch a little
|
9 years ago |
George Tankersley
|
695412302b
implement teor's comments
|
9 years ago |
George Tankersley
|
ff54cc8481
add SHA512 support to crypto
|
9 years ago |
teor (Tim Wilson-Brown)
|
5b2adfb3d4
Fix comments to describe actual return values (crypto.c)
|
9 years ago |
teor (Tim Wilson-Brown)
|
84d1373ba0
Fix typo in comment on crypto_add_spaces_to_fp
|
9 years ago |
teor (Tim Wilson-Brown)
|
604d3ee48d
Comment only: crypto_seed_rng no longer has a "startup" parameter
|
9 years ago |
Nick Mathewson
|
accb726db6
Remove a little duplicated code in TAP key expansion
|
9 years ago |
Nick Mathewson
|
3aebeeffa5
Every openssl we support has ERR_remove_thread_state
|
9 years ago |
Nick Mathewson
|
c32a43a4d2
Move openssl version compatibility defines into a new header.
|
9 years ago |
Yawning Angel
|
3e3ec750cd
Fix compilation with OpenSSL 1.1.0-dev.
|
9 years ago |
Nick Mathewson
|
b5aa257d46
Fix "make check-spaces"
|
9 years ago |
Ola Bini
|
94e5db3dca
Add tests for tortls.c
|
9 years ago |
Nick Mathewson
|
280672bdbc
Handle negative inputs to crypto_random_time_range().
|
9 years ago |
Yawning Angel
|
af898f5475
Add crypto_rand_unmocked, which is crypto_rand without mocking.
|
9 years ago |