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
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
bytestring Remove variable shadowing. 2014-12-09 21:32:49 +00:00
chacha
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
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
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
md4
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
rand
rc4
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
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
cpu-x86-asm.pl
crypto_error.c
crypto_error.h
crypto.c aarch64 support. 2015-01-14 23:38:11 +00:00
directory_posix.c
directory_win.c
directory.h
ex_data_impl.c Free more memory in cleanup functions. 2015-01-13 00:04:35 +00:00
ex_data.c
header_removed.h
internal.h aarch64 support. 2015-01-14 23:38:11 +00:00
mem.c
thread.c
time_support.c