mbedtls/programs/pkey
Gilles Peskine f00f152444 Add output size parameter to signature functions
The functions mbedtls_pk_sign(), mbedtls_pk_sign_restartable(),
mbedtls_ecdsa_write_signature() and mbedtls_ecdsa_write_signature_restartable()
now take an extra parameter indicating the size of the output buffer for the
signature.

No change to RSA because for RSA, the output size is trivial to calculate.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-06-25 00:46:22 +02:00
..
CMakeLists.txt Fix cmake build of programs 2021-06-17 09:38:38 +02:00
dh_client.c Merge pull request #4707 from gilles-peskine-arm/require-matching-hashlen-rsa-implementation 2021-06-24 10:28:20 +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 - Changed saved value to RCF 3526 2048 MODP group 2012-10-03 19:50:54 +00:00
dh_server.c Merge pull request #4707 from gilles-peskine-arm/require-matching-hashlen-rsa-implementation 2021-06-24 10:28:20 +02:00
ecdh_curve25519.c Add MBEDTLS_PRIVATE wrapping to sample programs. 2021-05-21 18:10:44 +02:00
ecdsa.c Add output size parameter to signature functions 2021-06-25 00:46:22 +02:00
gen_key.c Make some fields of mbedtls_ecp_group public 2021-06-15 00:12:37 +02:00
key_app.c Use a proper DRBG in programs 2021-06-17 09:40:15 +02:00
key_app_writer.c Use a proper DRBG in programs 2021-06-17 09:40:15 +02:00
mpi_demo.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
pk_decrypt.c Add RNG params to private key parsing 2021-06-17 09:38:38 +02:00
pk_encrypt.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
pk_sign.c Add output size parameter to signature functions 2021-06-25 00:46:22 +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 Normalize line endings 2020-05-27 21:55:08 +02:00
rsa_pub.txt Normalize line endings 2020-05-27 21:55:08 +02:00
rsa_sign.c RSA: Use hashlen as the hash input size as documented 2021-06-22 18:39:53 +02:00
rsa_sign_pss.c Add output size parameter to signature functions 2021-06-25 00:46:22 +02:00
rsa_verify.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