mbedtls/programs
Janos Follath 5d96a3dcde 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 17:05:00 +01:00
..
aes Fix for #441 - crypt and hash gcm (#546) 2016-10-13 12:44:19 +01:00
hash Rename website and repository 2015-03-06 13:17:10 +00:00
pkey Clarify the use of ECDSA API 2017-06-07 17:05:00 +01:00
random Rename website and repository 2015-03-06 13:17:10 +00:00
ssl fix bug in ssl_mail_client 2015-04-30 12:50:22 +02:00
test Adds dl link library to OpenSSL example builds 2017-02-01 12:38:44 +00:00
util Rename website and repository 2015-03-06 13:17:10 +00:00
x509 Add extra compilation conditions to X.509 samples 2016-10-13 12:45:07 +01:00
.gitignore Add mini_client.c 2015-02-16 17:22:46 +00:00
CMakeLists.txt - Added missing subdirectory line for util 2012-09-25 08:19:18 +00:00
Makefile Add forgotten programs in Makefile 2015-06-29 18:52:57 +02:00
wince_main.c Rename website and repository 2015-03-06 13:17:10 +00:00