Add EVP demos for RSA-PSS signing and verification
authorHugo Landau <hlandau@openssl.org>
Wed, 2 Mar 2022 17:39:28 +0000 (17:39 +0000)
committerPauli <pauli@openssl.org>
Sun, 6 Mar 2022 22:25:35 +0000 (09:25 +1100)
commit58c8bcbb1d29f107ff7662d7319030541537d070
tree56e80219810f6cc0073667a7538cdbd3751d1215
parent86258d492ed1d3c6d337386a35146d3be9ef31d0
Add EVP demos for RSA-PSS signing and verification

Two demos are provided: one using RSA-PSS directly in which a digest
must be provided, and one using RSA-PSS with the EVP_DigestSign APIs
which performs the hashing for you.

Fixes #14113.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17800)

(cherry picked from commit e9492d1cecf459261f1f5ac0eb03e9c631600537)
demos/README.txt
demos/signature/Makefile
demos/signature/rsa_pss.h [new file with mode: 0644]
demos/signature/rsa_pss_direct.c [new file with mode: 0644]
demos/signature/rsa_pss_hash.c [new file with mode: 0644]