boringssl/crypto/rsa
Brian Smith 2a92031bb4 Clarify |RSA_verify_raw| error handling & cleanup.
Use the common pattern of returning early instead of |goto err;| when
there's no cleanup to do yet. Also, move the error checking of
|BN_CTX_get| failure closer to the the calls to |BN_CTX_get|. Avoid
calling |OPENSSL_cleanse| on public data. Clarify when/why |buf| is not
freed.

Change-Id: I9df833db7eb7041c5af9349c461297372b988f98
Reviewed-on: https://boringssl-review.googlesource.com/7464
Reviewed-by: David Benjamin <davidben@google.com>
2016-04-18 20:42:15 +00:00
..
blinding.c Further optimize Montgomery math in RSA blinding. 2016-03-31 19:35:33 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
internal.h Drop support for engines-provided signature verification. 2016-04-18 20:40:17 +00:00
padding.c Make local functions static. 2016-03-20 16:37:58 +00:00
rsa_asn1.c Fix i2d_RSAPrivateKey, i2d_RSAPublicKey memory leaks 2016-03-07 15:48:21 +00:00
rsa_impl.c Clarify |RSA_verify_raw| error handling & cleanup. 2016-04-18 20:42:15 +00:00
rsa_test.cc Remove some easy obj.h dependencies. 2016-03-31 20:50:33 +00:00
rsa.c Remove redundant check of |sig_len| in |RSA_verify|. 2016-04-18 20:40:41 +00:00