openssl/test
Emilia Kasper 25d6b3401c RT 3493: fix RSA test
- Pass in the right ciphertext length to ensure we're indeed testing
  ciphertext corruption (and not truncation).
- Only test one mutation per byte to not make the test too slow.
- Add a separate test for truncated ciphertexts.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-09-01 20:01:24 +02:00
..
certs Add test for CVE-2015-1793 2015-07-07 21:57:11 +01:00
ocsp-tests Fix OCSP checking. 2012-12-07 18:47:47 +00:00
smime-certs Add X9.42 DH certificate to S/MIME test 2013-08-05 16:23:22 +01:00
bctest bctest changes for Ultrix (don't return 1 from bctest, otherwise make aborts) 2001-05-03 08:50:27 +00:00
bctest.com Implement bc test strategy as submitted by Steven M. Schweda <sms@antinode.info>. 2010-11-23 02:12:07 +00:00
bftest.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
bntest.c BN_mod_exp_mont_consttime: check for zero modulus. 2015-08-31 19:25:59 +02:00
bntest.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
CAss.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
CAssdh.cnf Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
CAssdsa.cnf Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
CAssrsa.cnf Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
casttest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
CAtsa.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
clean_test.com * apps/makeapps.com: Forgot to end the check for /POINTER_SIZE=64=ARGV 2011-03-20 14:02:20 +00:00
clienthellotest.c GH354: Memory leak fixes 2015-08-28 11:18:04 -04:00
cms-examples.pl Use "cont" consistently in cms-examples.pl 2008-05-01 23:30:06 +00:00
cms-test.pl Fix ECDH detection, add ECDH keyid test. 2015-04-10 18:51:52 +01:00
conftest.c No fprintf in the txt_db component 2015-06-09 12:39:08 -04:00
constant_time_test.c Identify and move OpenSSL internal header files 2015-05-14 15:13:49 +02:00
destest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
dhtest.c more OSSL_NELEM cases 2015-05-04 13:03:49 +01:00
dsatest.c free NULL cleanup 7 2015-04-30 21:37:06 -04:00
dummytest.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ecdhtest.c free null cleanup finale 2015-05-01 10:02:07 -04:00
ecdsatest.c Use safer sizeof variant in malloc 2015-05-04 15:00:13 -04:00
ectest.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:43:53 +01:00
enginetest.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
evp_extra_test.c free null cleanup finale 2015-05-01 10:02:07 -04:00
evp_test.c Add PBE tests. 2015-05-26 13:04:13 +01:00
evptests.txt More test cases. 2015-08-24 15:12:52 +01:00
exptest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
gost2814789test.c GH354: Memory leak fixes 2015-08-28 11:18:04 -04:00
heartbeat_test.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
hmactest.c RT3856: Fix memory leaks in test code 2015-06-23 07:59:15 -04:00
ideatest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
igetest.c more OSSL_NELEM cases 2015-05-04 13:03:49 +01:00
jpaketest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
Makefile Add NewSessionTicket test suite 2015-08-26 10:38:02 +01:00
maketests.com Catch up the VMS build. 2015-03-05 18:20:06 +01:00
md2test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
md4test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
md5test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
mdc2test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
methtest.c More comment realignment 2015-01-22 09:20:10 +00:00
P1ss.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
P2ss.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
p5_crpt2_test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
packettest.c PACKET: add methods for reading length-prefixed TLS vectors. 2015-08-26 13:25:48 +02:00
pkcs7-1.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
pkcs7.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
pkits-test.pl detect and use older PKITS data 2011-12-11 16:39:25 +00:00
r160test.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
randtest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
rc2test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
rc4test.c memset, memcpy, sizeof consistency fixes 2015-05-05 22:18:59 -04:00
rc5test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
rmdtest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
rsa_test.c RT 3493: fix RSA test 2015-09-01 20:01:24 +02:00
secmemtest.c More secure storage of key material. 2015-06-23 17:09:35 -04:00
serverinfo.pem Require ServerInfo PEMs to be named "BEGIN SERVERINFO FOR"... 2013-09-13 19:32:55 -07:00
sha1test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
sha256t.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
sha512t.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
smcont.txt Add extensive PCKS7 and CMS consistency test script. 2008-03-18 14:37:59 +00:00
srptest.c RT3856: Fix memory leaks in test code 2015-06-23 07:59:15 -04:00
sslextensiontest.pl Add some libssl tests 2015-08-11 20:27:46 +01:00
sslsessionticktest.pl Add NewSessionTicket test suite 2015-08-26 10:38:02 +01:00
sslskewith0ptest.pl Add a test for 0 p value in anon DH SKE 2015-08-11 20:27:46 +01:00
ssltest.c Enable DH tests 2015-05-27 17:22:56 +02:00
sslvertoltest.pl Add some libssl tests 2015-08-11 20:27:46 +01:00
Sssdsa.cnf Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
Sssrsa.cnf Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
tcrl Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tcrl.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
test.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
test_aesni test_aesni: harmonize with AES-NI support at EVP layer. 2012-07-15 13:38:51 +00:00
test_padlock Update test/test_padlock script. 2009-04-27 19:04:23 +00:00
test_t4 Add support for SPARC T4 DES opcode. 2013-03-31 14:32:05 +02:00
testca Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
testca.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
testcrl.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
testdsa.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
testdsapub.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
testec-p256.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
testecpub-p256.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
testenc Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
testenc.com Remove the special list-xxxx commands 2015-04-26 10:31:48 -04:00
testgen Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
testgen.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
testp7.pem Change PKCS#7 test data to take account of removal of 2000-08-25 01:29:41 +00:00
testreq2.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
testrsa.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
testrsapub.pem Add private/public key conversion tests 2015-03-29 03:26:12 +01:00
tests.com Catch up the VMS build. 2015-03-05 18:20:06 +01:00
testsid.pem Remove SSLv2 support 2014-12-04 11:55:03 +01:00
testss Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
testss.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
testssl Check for errors with SRP 2015-06-29 19:20:23 +01:00
testssl.com Enable DH tests 2015-05-27 17:22:56 +02:00
testsslproxy Added restrictions on the use of proxy certificates, as they may pose 2005-04-09 16:07:12 +00:00
testtsa test script cleanup 2015-04-10 10:06:17 -04:00
testtsa.com Drop CA.sh for CA.pl 2015-04-08 14:07:39 -04:00
testutil.c more OSSL_NELEM cases 2015-05-04 13:03:49 +01:00
testutil.h Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
testx509.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
times Updates from 1.0.0-stable branch. 2009-04-20 11:33:12 +00:00
tkey Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tocsp Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tocsp.com VMS adjustments: 2015-01-30 14:43:57 +01:00
tpkcs7 Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tpkcs7.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
tpkcs7d Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tpkcs7d.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
treq Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
treq.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
trsa.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
tsid Remove OPENSSL_CONF=/dev/null from tests 2015-05-29 12:41:50 +02:00
tsid.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
tverify.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
tx509 Remove obsolete key formats. 2015-07-16 01:06:48 -04:00
tx509.com After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMS 2011-03-19 10:58:14 +00:00
Uss.cnf Use 2K RSA and SHA256 in tests 2015-04-20 07:23:04 -04:00
v3-cert1.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
v3-cert2.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
v3nametest.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00
verify_extra_test.c Add test for CVE-2015-1793 2015-07-07 21:57:11 +01:00
VMSca-response.1 VMS support. 1999-05-13 11:37:32 +00:00
VMSca-response.2 VMS support. 1999-05-13 11:37:32 +00:00
wp_test.c Stop symlinking, move files to intended directory 2015-03-31 20:16:01 +02:00