mbedtls/tests/data_files
Gilles Peskine c212166171 pk_write test cases with short/long private key
Add pk_write test cases where the ASN.1 INTEGER encoding of the
private value would not have the mandatory size for the OCTET STRING
that contains the value.

ec_256_long_prv.pem is a random secp256r1 private key, selected so
that the private value is >= 2^255, i.e. the top bit of the first byte
is set (which would cause the INTEGER encoding to have an extra
leading 0 byte).

ec_521_short_prv.pem is a random secp521r1 private key, selected so
that the private value is < 2^519, i.e. the first byte is 0 and the
top bit of the second byte is 0 (which would cause the INTEGER
encoding to have one less 0 byte at the start).
2019-11-05 15:32:53 +01:00
..
.gitignore Test that SHA-1 defaults off 2017-06-06 18:44:14 +02:00
cli-rsa.key Added SHA256 test certificates 2017-06-06 18:44:13 +02:00
dh.optlen.pem Add test case for dh params with privateValueLength 2015-04-15 13:50:29 +02:00
dhparams.pem Add test for dhm_parse_dhmfile 2014-04-04 16:42:44 +02:00
ec_224_prv.pem Add test for EC keys with all curves. 2013-08-16 14:00:52 +02:00
ec_224_pub.pem Add test for EC keys with all curves. 2013-08-16 14:00:52 +02:00
ec_256_long_prv.pem pk_write test cases with short/long private key 2019-11-05 15:32:53 +01:00
ec_256_prv.pem Add test for EC keys with all curves. 2013-08-16 14:00:52 +02:00
ec_256_pub.pem Add test for EC keys with all curves. 2013-08-16 14:00:52 +02:00
ec_384_prv.pem Add test for EC keys with all curves. 2013-08-16 14:00:52 +02:00
ec_384_pub.pem Add test for EC keys with all curves. 2013-08-16 14:00:52 +02:00
ec_521_prv.pem Add test for EC keys with all curves. 2013-08-16 14:00:52 +02:00
ec_521_pub.pem Add test for EC keys with all curves. 2013-08-16 14:00:52 +02:00
ec_521_short_prv.pem pk_write test cases with short/long private key 2019-11-05 15:32:53 +01:00
ec_bp256_prv.pem Add OIDs for brainpool curves 2013-10-10 15:11:33 +02:00
ec_bp256_pub.pem Add OIDs for brainpool curves 2013-10-10 15:11:33 +02:00
ec_bp384_prv.pem Add OIDs for brainpool curves 2013-10-10 15:11:33 +02:00
ec_bp384_pub.pem Add OIDs for brainpool curves 2013-10-10 15:11:33 +02:00
ec_bp512_prv.pem Add OIDs for brainpool curves 2013-10-10 15:11:33 +02:00
ec_bp512_pub.pem Add OIDs for brainpool curves 2013-10-10 15:11:33 +02:00
ec_prv.pk8.der Add tests for x509parse_key_ec() 2013-07-08 17:32:26 +02:00
ec_prv.pk8.pem Add tests for x509parse_key_ec() 2013-07-08 17:32:26 +02:00
ec_prv.pk8.pw.der Adapt test files to supported PKCS#8 modes 2013-07-08 17:32:26 +02:00
ec_prv.pk8.pw.pem Adapt test files to supported PKCS#8 modes 2013-07-08 17:32:26 +02:00
ec_prv.pk8nopub.der Fix parsing of PKCS#8 encoded Elliptic Curve keys. 2018-03-22 18:01:18 -07:00
ec_prv.pk8nopub.pem Fix parsing of PKCS#8 encoded Elliptic Curve keys. 2018-03-22 18:01:18 -07:00
ec_prv.pk8nopubparam.der Fix parsing of PKCS#8 encoded Elliptic Curve keys. 2018-03-22 18:01:18 -07:00
ec_prv.pk8nopubparam.pem Fix parsing of PKCS#8 encoded Elliptic Curve keys. 2018-03-22 18:01:18 -07:00
ec_prv.pk8param.der Fix parsing of PKCS#8 encoded Elliptic Curve keys. 2018-03-22 18:01:18 -07:00
ec_prv.pk8param.pem Fix parsing of PKCS#8 encoded Elliptic Curve keys. 2018-03-22 18:01:18 -07:00
ec_prv.sec1.der Add tests for x509parse_key_ec() 2013-07-08 17:32:26 +02:00
ec_prv.sec1.pem Add tests for x509parse_key_ec() 2013-07-08 17:32:26 +02:00
ec_prv.sec1.pw.pem Add tests for x509parse_key_ec() 2013-07-08 17:32:26 +02:00
ec_prv.specdom.der Add test for SpecifiedECDomain 2014-03-19 16:50:59 +01:00
ec_pub.der Complete x509parse_public_key_ec() 2013-07-08 17:32:26 +02:00
ec_pub.pem Complete x509parse_public_key_ec() 2013-07-08 17:32:26 +02:00
format_gen.key - Added support for PKCS#8 wrapper on reading private keys (Fixes ticket #20) 2011-07-13 11:26:43 +00:00
format_rsa.key - Added support for PKCS#8 wrapper on reading private keys (Fixes ticket #20) 2011-07-13 11:26:43 +00:00
hash_file_1 - Added shax_file tests and data files 2009-07-05 11:30:16 +00:00
hash_file_2 - Added shax_file tests and data files 2009-07-05 11:30:16 +00:00
hash_file_3 - Added shax_file tests and data files 2009-07-05 11:30:16 +00:00
hash_file_4 - Added shax_file tests and data files 2009-07-05 11:30:16 +00:00
hash_file_5 Add RIPEMD-160 to the generic MD layer 2014-01-17 20:41:32 +01:00
Makefile Merge 'mbedtls/development' into merge-crypto-development-20190806 2019-08-06 19:09:55 +02:00
mpi_10 Increase MPI_MAX_BYTES to allow RSA 8192 2014-10-15 22:06:46 +02:00
mpi_too_big Increase MPI_MAX_BYTES to allow RSA 8192 2014-10-15 22:06:46 +02:00
print_c.pl Document test data makefile 2017-06-06 18:44:14 +02:00
rsa512.key RSA: Fix buffer overflow in PSS signature verification 2017-10-17 19:01:38 +02:00
rsa521.key RSA: Fix buffer overflow in PSS signature verification 2017-10-17 19:01:38 +02:00
rsa522.key RSA: Fix buffer overflow in PSS signature verification 2017-10-17 19:01:38 +02:00
rsa528.key RSA: Fix buffer overflow in PSS signature verification 2017-10-17 19:01:38 +02:00
rsa4096_prv.pem Fix buffer size in pk_write_*_pem() 2014-08-14 11:34:35 +02:00
rsa4096_pub.pem Fix buffer size in pk_write_*_pem() 2014-08-14 11:34:35 +02:00
rsa_pkcs1_1024_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_1024_aes128.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_1024_aes192.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_1024_aes256.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_1024_clear.pem Update certificates to expire in 2029 2019-07-10 16:46:34 +03:00
rsa_pkcs1_1024_des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_2048_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_2048_aes128.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_2048_aes192.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_2048_aes256.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_2048_clear.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_2048_des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_2048_public.der Resolve PR review comments 2017-10-16 12:40:27 +03:00
rsa_pkcs1_2048_public.pem Resolve PR review comments 2017-10-16 12:40:27 +03:00
rsa_pkcs1_4096_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_4096_aes128.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_4096_aes192.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_4096_aes256.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_4096_clear.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs1_4096_des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_2048_public.der Resolve PR review comments 2017-10-17 15:53:32 +03:00
rsa_pkcs8_2048_public.pem Resolve PR review comments 2017-10-17 15:53:32 +03:00
rsa_pkcs8_pbe_sha1_1024_2des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_1024_2des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_1024_3des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_1024_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_1024_rc4_128.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_1024_rc4_128.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_2048_2des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_2048_2des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_2048_3des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_2048_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_2048_rc4_128.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_2048_rc4_128.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_4096_2des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_4096_2des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_4096_3des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_4096_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_4096_rc4_128.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbe_sha1_4096_rc4_128.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des_sha224.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des_sha224.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des_sha256.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des_sha256.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des_sha384.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des_sha384.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des_sha512.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_3des_sha512.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_1024_des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_1024_des_sha224.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_des_sha224.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_des_sha256.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_des_sha256.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_des_sha384.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_des_sha384.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_des_sha512.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_1024_des_sha512.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha224.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha224.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha256.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha256.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha384.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha384.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha512.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha512.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_2048_des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_2048_des_sha224.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_des_sha224.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_des_sha256.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_des_sha256.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_des_sha384.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_des_sha384.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_des_sha512.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_2048_des_sha512.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha224.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha224.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha256.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha256.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha384.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha384.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha512.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_3des_sha512.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_des.der Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_4096_des.pem Unify naming schemes for RSA keys 2017-09-29 20:05:23 +01:00
rsa_pkcs8_pbes2_pbkdf2_4096_des_sha224.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_des_sha224.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_des_sha256.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_des_sha256.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_des_sha384.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_des_sha384.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_des_sha512.der data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
rsa_pkcs8_pbes2_pbkdf2_4096_des_sha512.pem data_files/pkcs8-v2: add keys generated with PRF != SHA1 2018-02-08 17:18:19 +08:00
server1.key - First tests for x509_write_cert_req() compat with OpenSSL output 2012-02-16 14:09:13 +00:00
server1.pubkey Add test for x509write_pubkey_pem() 2013-09-12 11:57:01 +02:00
server2.key - Added support for PKCS#8 wrapper on reading private keys (Fixes ticket #20) 2011-07-13 11:26:43 +00:00
server5.key Update EC certs to use NIST-256 and NIST-384 2013-09-24 21:25:54 +02:00
test-ca.key - Corrected parsing of UTCTime dates before 1990 and after 1950 2011-02-20 10:40:16 +00:00