boringssl/crypto/evp
David Benjamin 2556f8ba60 Clarify thread-safety of key objects.
This often causes confusion since, for various silly reasons (intrinsic
ref-counting, FOO_METHOD, and RSA's cached Montgomery bits), the thread
safety of some functions don't match the usual const/non-const
distinction. Fix const-ness where easy and document it otherwise.

Change-Id: If2037a4874d7580cc79b18ee21f12ae0f47db7fd
Reviewed-on: https://boringssl-review.googlesource.com/31344
Reviewed-by: Ryan Sleevi <rsleevi@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2018-08-28 18:52:59 +00:00
..
CMakeLists.txt Implement scrypt from RFC 7914. 2017-06-12 20:32:21 +00:00
digestsign.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
evp_asn1.c Clarify thread-safety of key objects. 2018-08-28 18:52:59 +00:00
evp_ctx.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
evp_extra_test.cc EVP_PKEY_cmp does not return a boolean. 2017-06-16 13:45:44 +00:00
evp_test.cc Add new curve/hash ECDSA combinations from Wycheproof. 2018-08-10 18:26:06 +00:00
evp_tests.txt Update citations to RFC 8410. 2018-08-10 14:14:38 +00:00
evp.c Clarify thread-safety of key objects. 2018-08-28 18:52:59 +00:00
internal.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
p_dsa_asn1.c Use BN_mod_exp_mont_consttime in dsa_priv_decode. 2017-09-29 23:19:22 +00:00
p_ec_asn1.c EC_GROUP_dup cannot fail. 2018-04-25 16:43:19 +00:00
p_ec.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
p_ed25519_asn1.c Update citations to RFC 8410. 2018-08-10 14:14:38 +00:00
p_ed25519.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
p_rsa_asn1.c Add some missing OpenSSL 1.1.0 accessors. 2017-11-22 18:43:38 +00:00
p_rsa.c Properly size_t EVP_PKEY_CTX_set0_rsa_oaep_label. 2017-09-05 15:26:45 +00:00
pbkdf_test.cc Convert various tests to GTest. 2017-05-23 22:34:09 +00:00
pbkdf.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
print.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
scrypt_test.cc Implement scrypt from RFC 7914. 2017-06-12 20:32:21 +00:00
scrypt_tests.txt Implement scrypt from RFC 7914. 2017-06-12 20:32:21 +00:00
scrypt.c Document error behavior of PKCS5_PBKDF2_HMAC and EVP_PBE_scrypt 2018-08-21 01:08:24 +00:00
sign.c Take advantage of normalized return values. 2015-03-13 19:40:42 +00:00