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:00 +0000 (09:25 +1100)
commite9492d1cecf459261f1f5ac0eb03e9c631600537
treeae8c853b3dd98063a297972a958a77030cb0b035
parent3dafeacef8d7bf82e462cc52659681108db42e43
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)
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]