mbedtls/programs/pkey
Gilles Peskine 6e3187b212 RSA: Use hashlen as the hash input size as documented
Where hashlen was previously ignored when the hash length could be
inferred from an md_alg parameter, the two must now match.

Adapt the existing tests accordingly. Adapt the sample programs accordingly.

This commit does not add any negative testing.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-06-22 18:39:53 +02:00
..
CMakeLists.txt Build: Add MBEDTLS_TARGET_PREFIX 2020-10-20 13:44:44 +01:00
dh_client.c RSA: Use hashlen as the hash input size as documented 2021-06-22 18:39:53 +02:00
dh_genprime.c Merge pull request #3574 from makise-homura/e2k_support 2020-08-25 09:46:36 +02:00
dh_prime.txt
dh_server.c RSA: Use hashlen as the hash input size as documented 2021-06-22 18:39:53 +02:00
ecdh_curve25519.c Add MBEDTLS_PRIVATE wrapping to sample programs. 2021-05-21 18:10:44 +02:00
ecdsa.c Make some fields of mbedtls_ecp_group public 2021-06-15 00:12:37 +02:00
gen_key.c Make some fields of mbedtls_ecp_group public 2021-06-15 00:12:37 +02:00
key_app_writer.c Add MBEDTLS_PRIVATE wrapping to sample programs. 2021-05-21 18:10:44 +02:00
key_app.c Add MBEDTLS_PRIVATE wrapping to sample programs. 2021-05-21 18:10:44 +02:00
mpi_demo.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
pk_decrypt.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
pk_encrypt.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
pk_sign.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
pk_verify.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
rsa_decrypt.c Merge remote-tracking branch 'mbedtls/development' into mbedtls_private_with_python 2021-06-14 16:17:32 +02:00
rsa_encrypt.c Merge remote-tracking branch 'mbedtls/development' into mbedtls_private_with_python 2021-06-14 16:17:32 +02:00
rsa_genkey.c Change mbedtls_rsa_init() signature 2021-06-08 14:11:19 +02:00
rsa_priv.txt
rsa_pub.txt
rsa_sign_pss.c Fail if a padding disabled by the build-time configuration is selected 2021-06-08 14:11:57 +02:00
rsa_sign.c RSA: Use hashlen as the hash input size as documented 2021-06-22 18:39:53 +02:00
rsa_verify_pss.c Change mbedtls_rsa_set_padding() signature 2021-06-08 14:11:10 +02:00
rsa_verify.c RSA: Use hashlen as the hash input size as documented 2021-06-22 18:39:53 +02:00