boringssl/crypto/evp
David Benjamin 238510a679 Introduce HMAC_CTX_copy_ex and deprecate HMAC_CTX_copy.
HMAC_CTX_copy's documentation is off. It actually follows the old copy
functions which call FOO_init on dest first. Notably this means that they leak
memory if dest is currently in use.

Add HMAC_CTX_copy_ex as an analog of EVP_MD_CTX_copy and deprecate
HMAC_CTX_copy. (EVP_CIPHER_CTX_copy, in contrast, was correct from the start.)

Change-Id: I48566c858663d3f659bd356200cf862e196576c9
Reviewed-on: https://boringssl-review.googlesource.com/2694
Reviewed-by: Adam Langley <agl@google.com>
2015-01-14 20:35:47 +00:00
..
algorithm.c Don't mix and match libraries and errors. 2014-10-13 22:56:28 +00:00
asn1.c Allow PKCS#8 in d2i_AutoPrivateKey. 2014-11-05 00:42:58 +00:00
CMakeLists.txt Rename example_sign to evp_test. 2014-11-05 00:43:09 +00:00
digestsign.c Make EVP_DigestVerifyFinal return only zero or one. 2014-10-28 20:22:46 +00:00
evp_ctx.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
evp_error.c Add malloc failure tests. 2014-11-19 01:24:46 +00:00
evp_test.c Set output EC_KEY to NULL when d2i_ECPrivateKey() fails. 2015-01-06 00:55:19 +00:00
evp.c Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
internal.h Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
p_ec_asn1.c Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
p_ec.c
p_hmac_asn1.c Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
p_hmac.c Introduce HMAC_CTX_copy_ex and deprecate HMAC_CTX_copy. 2015-01-14 20:35:47 +00:00
p_rsa_asn1.c Add EVP_PKEY_supports_digest. 2014-11-18 22:18:36 +00:00
p_rsa.c RSA_encrypt and RSA_sign_raw aren't the same. 2014-10-09 21:04:07 +00:00
pbkdf.c
sign.c Remove remnants of EVP_MD_FLAG_PKEY_METHOD_SIGNATURE. 2014-11-04 00:27:19 +00:00