boringssl/crypto/hmac
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
..
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
hmac_test.c Properly handle key_len=0 for HMAC 2014-12-19 18:18:08 +00:00
hmac.c Introduce HMAC_CTX_copy_ex and deprecate HMAC_CTX_copy. 2015-01-14 20:35:47 +00:00