mbedtls/programs
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
..
aes Fix error text and whitespace in crypt_and_hash.c 2016-10-07 14:16:57 +01:00
hash Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
pkey Clarify the use of ECDSA API 2017-06-07 15:59:21 +01:00
random Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
ssl Allow SHA-1 in server tests, when the signature_algorithm extension is not used 2017-06-06 19:08:23 +02:00
test Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
util Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00
x509 Add extra compilation conditions to X.509 samples 2016-10-10 09:45:17 +01:00
.gitignore Rm obsolete things (compat-1.2, openssl, etc) 2015-03-09 13:05:06 +00:00
CMakeLists.txt - Added missing subdirectory line for util 2012-09-25 08:19:18 +00:00
Makefile Cosmetics in Makefiles 2015-07-08 22:12:06 +01:00
wince_main.c Change main license to Apache 2.0 2015-09-04 14:21:07 +02:00