mbedtls/tests/suites
Manuel Pégourié-Gonnard 2b9252cd8f Add tests for x509parse_key_ec()
Test files were generated as follows:

openssl ecparam -name prime192v1 -genkey > key.pem

openssl ec -in key.pem -pubout -outform PEM > pub.pem
openssl ec -in key.pem -pubout -outform DER > pub.der

openssl ec -in key.pem -outform pem > prv.sec1.pem
openssl ec -in key.pem -outform der > prv.sec1.der
openssl ec -in key.pem -des -passout pass:polar -outform pem > prv.sec1.pw.pem

openssl pkcs8 -topk8 -in key.pem -nocrypt -outform pem > prv.pk8.pem
openssl pkcs8 -topk8 -in key.pem -nocrypt -outform der > prv.pk8.der
openssl pkcs8 -topk8 -in key.pem -passout pass:polar -outform der \
    > prv.pk8.pw.der
openssl pkcs8 -topk8 -in key.pem -passout pass:polar -outform pem \
    > prv.pk8.pw.pem
2013-07-08 17:32:26 +02:00
..
helpers.function Test suite automatically uses buffer-based memory allocator if present 2013-07-03 17:22:31 +02:00
test_suite_aes.cbc.data Split up largest test suite data files into smaller chunks 2013-04-08 18:09:51 +02:00
test_suite_aes.cfb.data Split up largest test suite data files into smaller chunks 2013-04-08 18:09:51 +02:00
test_suite_aes.ecb.data Split up largest test suite data files into smaller chunks 2013-04-08 18:09:51 +02:00
test_suite_aes.function - Adjusted to use proper size_t arguments 2011-06-09 13:55:44 +00:00
test_suite_aes.rest.data Split up largest test suite data files into smaller chunks 2013-04-08 18:09:51 +02:00
test_suite_arc4.data - Functions requiring File System functions can now be disables by undefining POLARSSL_FS_IO 2011-04-25 15:28:35 +00:00
test_suite_arc4.function - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_base64.data - Functions requiring File System functions can now be disables by undefining POLARSSL_FS_IO 2011-04-25 15:28:35 +00:00
test_suite_base64.function - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_blowfish.data - Added base blowfish algorithm 2012-07-04 11:02:11 +00:00
test_suite_blowfish.function - Added base blowfish algorithm 2012-07-04 11:02:11 +00:00
test_suite_camellia.data - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_camellia.function - Updated unsignedness in some missed cases 2011-06-09 14:14:58 +00:00
test_suite_cipher.aes.data - Split cipher test suite into three different sets 2011-07-13 14:54:54 +00:00
test_suite_cipher.blowfish.data - Added Blowfish to generic cipher layer 2012-07-04 17:10:40 +00:00
test_suite_cipher.camellia.data - Split cipher test suite into three different sets 2011-07-13 14:54:54 +00:00
test_suite_cipher.des.data - Split cipher test suite into three different sets 2011-07-13 14:54:54 +00:00
test_suite_cipher.function - Fixed error code 2011-06-09 15:44:37 +00:00
test_suite_cipher.null.data - Added support for NULL cipher (POLARSSL_CIPHER_NULL_CIPHER) and weak ciphersuites (POLARSSL_ENABLE_WEAK_CIPHERSUITES). They are disabled by default! 2012-02-06 16:45:10 +00:00
test_suite_ctr_drbg.data - Added CTR_DRBG based on AES-256-CTR (NIST SP 800-90) random generator 2011-11-27 14:46:59 +00:00
test_suite_ctr_drbg.function Made ctr_drbg_init_entropy_len() non-static and defined 2013-06-25 16:47:55 +02:00
test_suite_debug.data OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
test_suite_debug.function Cleaner test-memory cleanups 2013-01-03 11:33:48 +01:00
test_suite_des.data - Functions requiring File System functions can now be disables by undefining POLARSSL_FS_IO 2011-04-25 15:28:35 +00:00
test_suite_des.function - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_dhm.data - Created better DHM tests 2009-07-27 20:37:44 +00:00
test_suite_dhm.function - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_ecdh.data Add ecdh_read_params(). 2013-02-11 21:32:24 +01:00
test_suite_ecdh.function Add ecdh_calc_secret() 2013-02-11 22:05:42 +01:00
test_suite_ecdsa.data Adjust names of ECDSA tests. 2013-01-27 09:10:53 +01:00
test_suite_ecdsa.function Adjust names of ECDSA tests. 2013-01-27 09:10:53 +01:00
test_suite_ecp.data Add ecp_check_prvkey, with test 2013-07-08 15:31:18 +02:00
test_suite_ecp.function Add ecp_check_prvkey, with test 2013-07-08 15:31:18 +02:00
test_suite_error.data - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_error.function - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_gcm.decrypt_128.data Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
test_suite_gcm.decrypt_192.data Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
test_suite_gcm.decrypt_256.data Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
test_suite_gcm.encrypt_128.data Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
test_suite_gcm.encrypt_192.data Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
test_suite_gcm.encrypt_256.data Split up GCM into a start/update/finish cycle 2013-06-26 15:08:29 +02:00
test_suite_gcm.function - Clear all memory 2012-09-08 14:04:13 +00:00
test_suite_hmac_shax.data SHA2 renamed to SHA256, SHA4 renamed to SHA512 and functions accordingly 2013-06-30 14:34:05 +02:00
test_suite_hmac_shax.function Renamed sha2.{c,h} to sha256.{c,h} and sha4.{c,h} to sha512.{c,h} 2013-06-30 14:49:12 +02:00
test_suite_md.data SHA2 renamed to SHA256, SHA4 renamed to SHA512 and functions accordingly 2013-06-30 14:34:05 +02:00
test_suite_md.function Renamed sha2.{c,h} to sha256.{c,h} and sha4.{c,h} to sha512.{c,h} 2013-06-30 14:49:12 +02:00
test_suite_mdx.data - Fixed faulty HMAC-MD2 implementation (Fixes ticket #37) 2011-10-06 14:18:49 +00:00
test_suite_mdx.function - The config header file is now always included in all tests 2011-03-26 13:39:34 +00:00
test_suite_mpi.data Fixed segfault in mpi_shift_r() 2012-11-18 23:15:02 +01:00
test_suite_mpi.function Fixed segfault in mpi_shift_r() 2012-11-18 23:15:02 +01:00
test_suite_pbkdf2.data - Added PKCS#5 PBKDF2 key derivation function 2012-08-23 13:03:18 +00:00
test_suite_pbkdf2.function Fixed memory leaks in tests 2013-07-03 17:22:31 +02:00
test_suite_pkcs1_v21.data OID functionality moved to a separate module. 2013-04-07 22:00:46 +02:00
test_suite_pkcs1_v21.function Renamed sha2.{c,h} to sha256.{c,h} and sha4.{c,h} to sha512.{c,h} 2013-06-30 14:49:12 +02:00
test_suite_pkcs5.data PKCS#5 module added. Moved PBKDF2 functionality inside and deprecated 2013-06-25 15:06:52 +02:00
test_suite_pkcs5.function Fixed memory leaks in tests 2013-07-03 17:22:31 +02:00
test_suite_rsa.data SHA2 renamed to SHA256, SHA4 renamed to SHA512 and functions accordingly 2013-06-30 14:34:05 +02:00
test_suite_rsa.function Renamed sha2.{c,h} to sha256.{c,h} and sha4.{c,h} to sha512.{c,h} 2013-06-30 14:49:12 +02:00
test_suite_shax.data SHA2 renamed to SHA256, SHA4 renamed to SHA512 and functions accordingly 2013-06-30 14:34:05 +02:00
test_suite_shax.function Renamed sha2.{c,h} to sha256.{c,h} and sha4.{c,h} to sha512.{c,h} 2013-06-30 14:49:12 +02:00
test_suite_version.data Prepared for PolarSSL 1.2.6 release 2013-03-11 11:38:44 +01:00
test_suite_version.function - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_x509parse.data Add tests for x509parse_key_ec() 2013-07-08 17:32:26 +02:00
test_suite_x509parse.function Add tests for x509parse_key_ec() 2013-07-08 17:32:26 +02:00
test_suite_x509write.data SHA2 renamed to SHA256, SHA4 renamed to SHA512 and functions accordingly 2013-06-30 14:34:05 +02:00
test_suite_x509write.function Rename x509parse_key & co with _rsa suffix 2013-07-08 15:31:18 +02:00
test_suite_xtea.data - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00
test_suite_xtea.function - Fixed a whole bunch of dependencies on defines between files, examples and tests 2011-05-26 13:16:06 +00:00