APPS: Use a second EVP_MD_CTX for EdDSA verify
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sat, 6 Jun 2020 15:21:15 +0000 (17:21 +0200)
committerDmitry Belyavskiy <beldmit@gmail.com>
Thu, 11 Jun 2020 14:28:10 +0000 (17:28 +0300)
commit1154ffbfb38418ea68af9661e19daa0d6d984adb
tree4510e49115249c7c8dead570c318487b7af7610f
parent42b2797e8abced593084e5cd02d8c6e5ee5ed5c5
APPS: Use a second EVP_MD_CTX for EdDSA verify

Verify for the two EdDSA algorithms fails in "speed eddsa".
It appears that the same ctx can not be used for the sign and verify
process.

Create a second EVP_MD_CTX for the verify purpose.

Fixes #11650

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12074)
apps/speed.c