boringssl/crypto
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
..
aes aarch64 support. 2015-01-14 23:38:11 +00:00
asn1 Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
base64 Don't use ssize_t in base64_test.c. 2014-10-01 01:07:28 +00:00
bio Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
bn aarch64 support. 2015-01-14 23:38:11 +00:00
buf Don't read past the end of the string in BUF_strndup. 2014-10-20 20:07:02 +00:00
bytestring Remove variable shadowing. 2014-12-09 21:32:49 +00:00
chacha Fix ARM build with OPENSSL_NO_ASM. 2014-09-03 19:23:25 +00:00
cipher Include arm_arch.h in e_aes.c. 2015-01-16 14:06:22 -08:00
conf Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
des A bunch of dead assignments. 2014-07-30 00:44:03 +00:00
dh Recognize common DH parameter sets. 2015-01-16 14:46:59 -08:00
digest Add void in place of empty function arguments. 2015-01-06 00:27:07 +00:00
dsa Fix DER checks for DSA_check_signature and add tests. 2015-01-12 22:29:10 +00:00
ec Set output EC_KEY to NULL when d2i_ECPrivateKey() fails. 2015-01-06 00:55:19 +00:00
ecdh Remove ECDH_KDF_X9_62 and associated EVP glue. 2015-01-14 21:52:52 +00:00
ecdsa Fix various certificate fingerprint issues. 2015-01-09 19:41:59 +00:00
engine Add generic OPERATION_NOT_SUPPORTED error code. 2014-10-09 23:55:39 +00:00
err Free all error queues on shutdown. 2015-01-15 22:10:02 +00:00
evp Remove support for passing a C-String to PKCS5_PBKDF2_HMAC*(). 2015-01-20 23:44:05 +00:00
hkdf Fix a compile error on Windows. 2015-01-06 19:46:52 +00:00
hmac Introduce HMAC_CTX_copy_ex and deprecate HMAC_CTX_copy. 2015-01-14 20:35:47 +00:00
lhash Fix NaCl build. 2014-10-02 22:45:22 +00:00
md4 Readd MD4. 2014-08-26 21:51:48 +00:00
md5 md5-x86_64.pl: work around warning. 2014-11-10 13:45:32 -08:00
modes aarch64 support. 2015-01-14 23:38:11 +00:00
obj Renegerate OID outputs. 2014-12-04 22:13:50 +00:00
pem Consistently use RAND_bytes and check for failure. 2014-12-16 19:15:59 +00:00
perlasm perlasm/x86_64-xlate.pl: handle inter-bank movd. 2014-11-10 13:45:32 -08:00
pkcs8 Add void in place of empty function arguments. 2015-01-06 00:27:07 +00:00
poly1305 Fix ARM build with OPENSSL_NO_ASM. 2014-09-03 19:23:25 +00:00
rand Call RtlGenRandom directly in RAND_bytes. 2014-11-05 00:42:07 +00:00
rc4 Use OPENSSL_64_BIT in rc4.c. 2014-10-01 02:06:31 +00:00
rsa Define the error case's output in RSA_message_index_PKCS1_type_2. 2015-01-14 21:52:36 +00:00
sha Update SHA-1/256/512 asm for ARM from upstream. 2015-01-16 19:00:26 +00:00
stack Mark all SSL_CIPHERs as const. 2014-08-18 17:55:05 +00:00
x509 Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
x509v3 RT3662: Allow leading . in nameConstraints 2015-01-14 21:53:12 +00:00
arm_arch.h aarch64 support. 2015-01-14 23:38:11 +00:00
CMakeLists.txt aarch64 support. 2015-01-14 23:38:11 +00:00
constant_time_test.c Update constant-time operations. 2014-11-10 13:48:30 -08:00
cpu-arm.c Use a weak pointer for getauxval. 2015-01-15 22:09:53 +00:00
cpu-intel.c aarch64 support. 2015-01-14 23:38:11 +00:00
cpu-x86_64-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
cpu-x86-asm.pl Use asm directives to protect OPENSSL_cleanse. 2014-07-31 18:49:22 +00:00
crypto_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
crypto_error.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
crypto.c aarch64 support. 2015-01-14 23:38:11 +00:00
directory_posix.c _POSIX_C_SOURCE needs to be set to a date, at least on FreeBSD. 2014-09-30 19:15:39 +00:00
directory_win.c Inital import. 2014-06-20 13:17:32 -07:00
directory.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ex_data_impl.c Free more memory in cleanup functions. 2015-01-13 00:04:35 +00:00
ex_data.c Don't compare signed vs. unsigned. 2014-10-01 02:17:38 +00:00
header_removed.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
internal.h aarch64 support. 2015-01-14 23:38:11 +00:00
mem.c Fix NaCl build. 2014-10-02 22:45:22 +00:00
thread.c Include Windows.h in some source files. 2014-08-18 11:39:09 -07:00
time_support.c Fix NaCl build. 2014-10-02 22:45:22 +00:00