mbedtls/programs/pkey
Janos Follath 5ad678971d 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-06-07 15:59:21 +01:00
..
CMakeLists.txt Rename project in CMake 2015-01-27 15:44:46 +00:00
dh_client.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
dh_genprime.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
dh_prime.txt
dh_server.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
ecdsa.c Clarify the use of ECDSA API 2017-06-07 15:59:21 +01:00
gen_key.c Add extra compilation conditions to gen_key.c #559 2016-10-07 14:17:22 +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 Fix typos 2015-09-09 11:52:28 +02: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 16:05:25 +00:00
rsa_encrypt.c Add missing stdlib.h header to rsa sample programs 2016-05-18 19:36:03 +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 Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
rsa_sign.c Fix memory leaks in example programs. 2016-05-18 19:36:03 +01:00
rsa_verify_pss.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
rsa_verify.c Fix memory leaks in example programs. 2016-05-18 19:36:03 +01:00