boringssl/crypto
David Benjamin 95e18c52f2 Fix DER checks for DSA_check_signature and add tests.
DSA_verify and DSA_check_signature didn't share a codepath, so the fix was only
applied to the former. Implement verify in terms of check_signature and add
tests for bad DER variants.

Change-Id: I6577f96b13b57fc89a5308bd8a7c2318defa7ee1
Reviewed-on: https://boringssl-review.googlesource.com/2820
Reviewed-by: Adam Langley <agl@google.com>
2015-01-12 22:29:10 +00:00
..
aes aesni-x86_64.pl: make ECB subroutine Windows ABI compliant (RT 3552). 2014-11-10 13:45:33 -08:00
asn1 Fix various certificate fingerprint issues. 2015-01-09 19:41:59 +00:00
base64 Don't use ssize_t in base64_test.c. 2014-10-01 01:07:28 +00:00
bio Rename hexdump to hexdump_write. 2015-01-06 00:26:53 +00:00
bn Fix for CVE-2014-3570. 2015-01-09 02:49:10 +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 s/comparision/comparison/. 2015-01-06 10:49:48 -08:00
conf Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
des A bunch of dead assignments. 2014-07-30 00:44:03 +00:00
dh Add a CRYPTO_library_init and static-initializer-less build option. 2014-09-12 00:10:53 +00: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 Use BN_bn2bin_padded rather than doing math to figure out leading zeros. 2014-11-10 23:04: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 Test which direction ERR_get_error reads from the error queue. 2015-01-06 18:29:45 +00:00
evp Set output EC_KEY to NULL when d2i_ECPrivateKey() fails. 2015-01-06 00:55:19 +00:00
hkdf Fix a compile error on Windows. 2015-01-06 19:46:52 +00:00
hmac Properly handle key_len=0 for HMAC 2014-12-19 18:18:08 +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 x86[_64] assembly pack: add Silvermont performance data. 2014-11-10 13:45:32 -08: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 Consistently use RAND_bytes and check for failure. 2014-12-16 19:15:59 +00:00
sha x86[_64] assembly pack: add Silvermont performance data. 2014-11-10 13:45:32 -08:00
stack Mark all SSL_CIPHERs as const. 2014-08-18 17:55:05 +00:00
x509 Fix various certificate fingerprint issues. 2015-01-09 19:41:59 +00:00
x509v3 Fix a couple of minor compiler warnings. 2015-01-06 00:27:22 +00:00
arm_arch.h Add a control to disable the Poly1305 NEON code. 2014-07-31 22:42:15 +00:00
CMakeLists.txt Implement HKDF. 2014-12-18 20:13:06 +00:00
constant_time_test.c Update constant-time operations. 2014-11-10 13:48:30 -08:00
cpu-arm.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
cpu-intel.c Don't try to setup CPUID if NO_ASM. 2014-09-20 00:09:57 +00:00
cpu-x86_64-asm.pl
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
crypto.c Don't try to setup CPUID if NO_ASM. 2014-09-20 00:09:57 +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
directory.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ex_data_impl.c s/comparision/comparison/. 2015-01-06 10:49:48 -08:00
ex_data.c Don't compare signed vs. unsigned. 2014-10-01 02:17:38 +00:00
header_removed.h
internal.h Condition the use of UI64 on _MSC_VER. 2015-01-06 18:47:49 +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