mbedtls/programs/pkey
Janos Follath 0a5154b8a1 Clarify the use of ECDSA API
In the ecdsa.c sample application we don't use hashing, we use ecdsa
directly on a buffer containing plain text. Although the text explains
that it should be the message hash it still can be confusing.

Any misunderstandings here are potentially very dangerous, because ECDSA
truncates the message hash if necessary and this can lead to trivial
signature forgeries if the API is misused and the message is passed
directly to the function without hashing.

This commit adds a hash computation step to the ecdsa.c sample
application and clarification to the doxygen documentation of the
ECDSA functions involved.
2017-03-10 11:31:41 +00:00
..
CMakeLists.txt
dh_client.c Add SHA1 guards in dh_client.c and dh_server.c 2016-10-07 14:17:56 +01:00
dh_genprime.c Adds stdlib.h header to dh_genprime sample app 2016-08-24 20:24:21 +03:00
dh_prime.txt
dh_server.c Add SHA1 guards in dh_client.c and dh_server.c 2016-10-07 14:17:56 +01:00
ecdh_curve25519.c
ecdsa.c Clarify the use of ECDSA API 2017-03-10 11:31:41 +00:00
gen_key.c Add extra compilation conditions to gen_key.c #559 2016-10-07 08:48:47 +01:00
key_app_writer.c
key_app.c
mpi_demo.c
pk_decrypt.c
pk_encrypt.c
pk_sign.c
pk_verify.c
rsa_decrypt.c fix for issue 1101: missing rsa context initialization 2017-03-01 07:56:40 +00:00
rsa_encrypt.c Merge branch 'development' into development-restricted 2016-06-14 09:20:46 +01:00
rsa_genkey.c
rsa_priv.txt
rsa_pub.txt
rsa_sign_pss.c
rsa_sign.c Merge branch 'development' into development-restricted 2016-06-14 09:20:46 +01:00
rsa_verify_pss.c
rsa_verify.c Merge branch 'development' into development-restricted 2016-06-14 09:20:46 +01:00