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 Add example program for Curve25519 2015-10-09 12:13:29 +01:00
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 Add example program for Curve25519 2015-10-09 12:13:29 +01:00
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 Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
key_app.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
mpi_demo.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
pk_decrypt.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
pk_encrypt.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
pk_sign.c Address user reported coverity issues. 2016-06-09 13:41:28 +01:00
pk_verify.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
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 Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
rsa_priv.txt
rsa_pub.txt
rsa_sign_pss.c Address user reported coverity issues. 2016-06-09 13:41:28 +01:00
rsa_sign.c Merge branch 'development' into development-restricted 2016-06-14 09:20:46 +01:00
rsa_verify_pss.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
rsa_verify.c Merge branch 'development' into development-restricted 2016-06-14 09:20:46 +01:00