mbedtls/tests/suites
Antonio Quartulli 12ccef2761
pkcs5v2: add support for additional hmacSHA algorithms
Currently only SHA1 is supported as PRF algorithm for PBKDF2
(PKCS#5 v2.0).
This means that keys encrypted and authenticated using
another algorithm of the SHA family cannot be decrypted.

This deficiency has become particularly incumbent now that
PKIs created with OpenSSL1.1 are encrypting keys using
hmacSHA256 by default (OpenSSL1.0 used PKCS#5 v1.0 by default
and even if v2 was forced, it would still use hmacSHA1).

Enable support for all the digest algorithms of the SHA
family for PKCS#5 v2.0.

Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
2018-02-08 17:18:15 +08:00
..
helpers.function Merge branch 'pr_1025' into development 2017-11-28 18:23:53 +01:00
main_test.function Merge branch 'pr_1025' into development 2017-11-28 18:23:53 +01:00
test_suite_aes.cbc.data
test_suite_aes.cfb.data
test_suite_aes.ecb.data
test_suite_aes.function
test_suite_aes.rest.data
test_suite_arc4.data
test_suite_arc4.function
test_suite_asn1write.data
test_suite_asn1write.function
test_suite_base64.data
test_suite_base64.function
test_suite_blowfish.data
test_suite_blowfish.function
test_suite_camellia.data
test_suite_camellia.function
test_suite_ccm.data
test_suite_ccm.function
test_suite_cipher.aes.data
test_suite_cipher.arc4.data
test_suite_cipher.blowfish.data
test_suite_cipher.camellia.data
test_suite_cipher.ccm.data
test_suite_cipher.des.data
test_suite_cipher.function
test_suite_cipher.gcm.data
test_suite_cipher.null.data
test_suite_cipher.padding.data fix bug in get_one_and_zeros_padding() 2017-12-23 23:40:08 +01:00
test_suite_cmac.data
test_suite_cmac.function
test_suite_ctr_drbg.data
test_suite_ctr_drbg.function Change mbedtls_entropy_func in tests to mbedtls_test_entropy_func 2018-01-24 20:05:45 +00:00
test_suite_debug.data
test_suite_debug.function
test_suite_des.data
test_suite_des.function
test_suite_dhm.data DHM: Add negative tests for parameter checking 2017-09-21 12:03:06 +01:00
test_suite_dhm.function DHM: Add negative tests for parameter checking 2017-09-21 12:03:06 +01:00
test_suite_ecdh.data
test_suite_ecdh.function
test_suite_ecdsa.data Add tests for invalid private parameters in mbedtls_ecdsa_sign() 2017-11-17 17:09:31 +00:00
test_suite_ecdsa.function Add tests for invalid private parameters in mbedtls_ecdsa_sign() 2017-11-17 17:09:31 +00:00
test_suite_ecjpake.data
test_suite_ecjpake.function Remove use of size zero array in ECJPAKE test suite 2017-06-05 15:10:59 +01:00
test_suite_ecp.data Add invalid key tests for curve SECP224K1 2017-02-28 18:41:39 +00:00
test_suite_ecp.function Add invalid key tests for curve SECP224K1 2017-02-28 18:41:39 +00:00
test_suite_entropy.data Move flag indicating presence of strong entropy to test code 2017-07-24 15:31:30 +01:00
test_suite_entropy.function Rename internal MBEDTLS_ENTROPY_HAVE_STRONG to ENTROPY_HAVE_STRONG 2017-09-14 08:04:13 +01:00
test_suite_error.data
test_suite_error.function
test_suite_gcm.aes128_de.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.aes128_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.aes192_de.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.aes192_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.aes256_de.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.aes256_en.data fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_gcm.camellia.data
test_suite_gcm.function fix for issue 1118: check if iv is zero in gcm. 2017-07-27 21:44:33 +01:00
test_suite_hmac_drbg.function Change mbedtls_entropy_func in tests to mbedtls_test_entropy_func 2018-01-24 20:05:45 +00:00
test_suite_hmac_drbg.misc.data
test_suite_hmac_drbg.no_reseed.data
test_suite_hmac_drbg.nopr.data
test_suite_hmac_drbg.pr.data
test_suite_md.data Allow comments in test data files 2017-10-06 11:58:50 +01:00
test_suite_md.function
test_suite_mdx.data Allow comments in test data files 2017-10-06 11:58:50 +01:00
test_suite_mdx.function New MD API: rename functions from _ext to _ret 2018-01-22 11:54:42 +01:00
test_suite_memory_buffer_alloc.data
test_suite_memory_buffer_alloc.function
test_suite_mpi.data Abort modular inversion when modulus is one. 2017-05-08 14:47:04 +01:00
test_suite_mpi.function Address issues found by coverity 2018-01-10 07:30:47 +00:00
test_suite_pem.data Add negative testing for mbedtls_pem_read_buffer() 2017-05-30 16:54:23 +01:00
test_suite_pem.function Add negative testing for mbedtls_pem_read_buffer() 2017-05-30 16:54:23 +01:00
test_suite_pk.data Adapt test suites to modified error codes 2017-10-03 07:58:00 +01:00
test_suite_pk.function Adapt uses of mbedtls_rsa_complete to removed PRNG argument 2017-10-10 16:56:22 +01:00
test_suite_pkcs1_v15.data
test_suite_pkcs1_v15.function Adapt uses of mbedtls_rsa_complete to removed PRNG argument 2017-10-10 16:56:22 +01:00
test_suite_pkcs1_v21.data RSA PSS: fix first byte check for keys of size 8N+1 2017-10-19 15:23:49 +02:00
test_suite_pkcs1_v21.function Adapt uses of mbedtls_rsa_complete to removed PRNG argument 2017-10-10 16:56:22 +01:00
test_suite_pkcs5.data pkcs5v2: add support for additional hmacSHA algorithms 2018-02-08 17:18:15 +08:00
test_suite_pkcs5.function
test_suite_pkparse.data Merge branch 'development' into iotssl-1619 2017-12-22 10:24:32 +00:00
test_suite_pkparse.function
test_suite_pkwrite.data
test_suite_pkwrite.function
test_suite_rsa.data Merge branch 'development' into iotssl-247 2018-01-15 11:31:34 +00:00
test_suite_rsa.function Address issues found by coverity 2018-01-10 07:30:47 +00:00
test_suite_shax.data Allow comments in test data files 2017-10-06 11:58:50 +01:00
test_suite_shax.function New MD API: rename functions from _ext to _ret 2018-01-22 11:54:42 +01:00
test_suite_ssl.data Add test case calling ssl_set_hostname twice 2017-10-06 11:58:50 +01:00
test_suite_ssl.function Add test case calling ssl_set_hostname twice 2017-10-06 11:58:50 +01:00
test_suite_timing.data Unit test for mbedtls_timing_hardclock 2017-12-20 21:57:48 +01:00
test_suite_timing.function Timing unit tests: more protection against infinite loops 2017-12-20 21:57:48 +01:00
test_suite_version.data Update version to 2.7.0 2018-02-02 18:09:45 +00:00
test_suite_version.function
test_suite_x509parse.data Improve leap year test names in x509parse.data 2017-10-12 23:21:37 +01:00
test_suite_x509parse.function Fix threshold checks for MBEDTLS_X509_MAX_INTERMEDIATE_CA 2017-07-28 12:15:13 +01:00
test_suite_x509write.data Extend tests/data_files/Makefile to include CRT's for CRT write test 2017-09-14 07:51:28 +01:00
test_suite_x509write.function Minor style and typo corrections 2017-09-14 07:51:54 +01:00
test_suite_xtea.data
test_suite_xtea.function