boringssl/crypto/cipher
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
..
test Implement all TLS ciphers with stateful AEADs. 2015-01-14 20:30:26 +00:00
aead_test.c Implement all TLS ciphers with stateful AEADs. 2015-01-14 20:30:26 +00:00
aead.c AEAD interface. 2014-06-20 13:17:34 -07:00
cipher_error.c Implement all TLS ciphers with stateful AEADs. 2015-01-14 20:30:26 +00:00
cipher_test.c Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00:00
cipher.c Don't include strings.h because of Windows. 2014-09-29 17:57:38 -07:00
CMakeLists.txt Implement all TLS ciphers with stateful AEADs. 2015-01-14 20:30:26 +00:00
derive_key.c Inital import. 2014-06-20 13:17:32 -07:00
e_aes.c s/comparision/comparison/. 2015-01-06 10:49:48 -08:00
e_chacha20poly1305.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
e_des.c Inital import. 2014-06-20 13:17:32 -07:00
e_null.c Inital import. 2014-06-20 13:17:32 -07:00
e_rc2.c Shush some dead assignments. 2014-11-06 01:34:33 +00:00
e_rc4.c Implement all TLS ciphers with stateful AEADs. 2015-01-14 20:30:26 +00:00
e_tls.c Introduce HMAC_CTX_copy_ex and deprecate HMAC_CTX_copy. 2015-01-14 20:35:47 +00:00
internal.h Drop SSLv3 parts of crypto/cipher/tls_cbc.c. 2015-01-14 20:33:41 +00:00
tls_cbc.c Drop SSLv3 parts of crypto/cipher/tls_cbc.c. 2015-01-14 20:33:41 +00:00