a6d81018f8
RAND_pseudo_bytes just calls RAND_bytes now and only returns 0 or 1. Switch all callers within the library call the new one and use the simpler failure check. This fixes a few error checks that no longer work (< 0) and some missing ones. Change-Id: Id51c79deec80075949f73fa1fbd7b76aac5570c6 Reviewed-on: https://boringssl-review.googlesource.com/2621 Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
aead_test.c | ||
aead.c | ||
aes_128_gcm_tests.txt | ||
aes_128_key_wrap_tests.txt | ||
aes_256_gcm_tests.txt | ||
aes_256_key_wrap_tests.txt | ||
chacha20_poly1305_tests.txt | ||
cipher_error.c | ||
cipher_test.c | ||
cipher_test.txt | ||
cipher.c | ||
CMakeLists.txt | ||
derive_key.c | ||
e_aes.c | ||
e_chacha20poly1305.c | ||
e_des.c | ||
e_null.c | ||
e_rc2.c | ||
e_rc4.c | ||
internal.h | ||
rc4_md5_tests.txt |