boringssl/crypto/evp
Eric Roman 4dcb05729f Remove support for passing a C-String to PKCS5_PBKDF2_HMAC*().
Before it was possible to pass a NULL-terminated C-string to the PBKDF2
functions, and indicate the parameter was a C-string by passing a length
of -1.

This is not relied on anywhere in the BoringSSL code, and the API contract is
possible to misuse as it is not the common way of doing things.

(A problem would arise when passing in a large unsigned length that
subsequently gets interpreted as -1).

Change-Id: Ifbd31ff76e183fa74e9fa346908daf4bfb8fc3da
Reviewed-on: https://boringssl-review.googlesource.com/2953
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2015-01-20 23:44:05 +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 Tag a number of globals as const. 2015-01-14 21:53:00 +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 Remove ECDH_KDF_X9_62 and associated EVP glue. 2015-01-14 21:52:52 +00:00
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 Remove support for passing a C-String to PKCS5_PBKDF2_HMAC*(). 2015-01-20 23:44:05 +00:00
sign.c Remove remnants of EVP_MD_FLAG_PKEY_METHOD_SIGNATURE. 2014-11-04 00:27:19 +00:00