PROV: add RSA signature implementation
authorRichard Levitte <levitte@openssl.org>
Sun, 1 Dec 2019 14:01:50 +0000 (15:01 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 22 Feb 2020 00:07:15 +0000 (01:07 +0100)
commit6f4b7663150e2ee264836dbc5b338bd979828312
tree52d0a120512bb8ea123150e2ffccd0841008cbc2
parente8d0819d52b2741fcb4ddb79ced4d824c3056918
PROV: add RSA signature implementation

This includes legacy PSS controls to params conversion, and an attempt
to generalise the parameter names when they are suitable for more than
one operation.

Also added crypto/rsa/rsa_aid.c, containing proper AlgorithmIdentifiers
for known RSA+hash function combinations.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/10557)
19 files changed:
crypto/err/openssl.txt
crypto/evp/pmeth_lib.c
crypto/rsa/build.info
crypto/rsa/rsa_aid.c [new file with mode: 0644]
crypto/rsa/rsa_lib.c
crypto/rsa/rsa_local.h
crypto/rsa/rsa_pmeth.c
crypto/rsa/rsa_sign.c
doc/man3/EVP_PKEY_CTX_ctrl.pod
include/crypto/rsa.h
include/openssl/core_names.h
include/openssl/rsa.h
providers/common/include/prov/providercommonerr.h
providers/common/provider_err.c
providers/defltprov.c
providers/implementations/include/prov/implementations.h
providers/implementations/signature/build.info
providers/implementations/signature/rsa.c [new file with mode: 0644]
util/libcrypto.num