More testing for sign/verify through `dgst`
authorNicola Tuveri <nic.tuv@gmail.com>
Mon, 11 Nov 2019 13:52:52 +0000 (15:52 +0200)
committerNicola Tuveri <nic.tuv@gmail.com>
Mon, 25 May 2020 23:11:22 +0000 (02:11 +0300)
commite7bab429fb2f043165838496fb58aa257235dbe1
tree95de0ab8aabc33cc1e9bedb5fe142e1c66034a5b
parentb7bc412eafb4c252e640719f048d3ca293b64b0f
More testing for sign/verify through `dgst`

Add tests for signature generation and verification with `dgst` CLI for
common key types:
- RSA
- DSA
- ECDSA

(cherry picked from commit ef1e59ed833e8ed1d5f4de5b0c734da8561890e3)

This is a backport from https://github.com/openssl/openssl/pull/10410.
Support for testing EdDSA through `pkeyutl` was dropped as the required
`-rawin` option is not supported in 1.1.1.

Fixes #10687

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11939)
test/recipes/20-test_dgst.t [new file with mode: 0644]