diff options
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_ameth.c')
| -rw-r--r-- | src/lib/libcrypto/rsa/rsa_ameth.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_ameth.c b/src/lib/libcrypto/rsa/rsa_ameth.c index a43bcf9f9a..2266f0cbd5 100644 --- a/src/lib/libcrypto/rsa/rsa_ameth.c +++ b/src/lib/libcrypto/rsa/rsa_ameth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rsa_ameth.c,v 1.53 2023/12/28 21:58:12 tb Exp $ */ | 1 | /* $OpenBSD: rsa_ameth.c,v 1.54 2024/01/01 15:43:02 tb Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -74,6 +74,10 @@ | |||
| 74 | #include "rsa_local.h" | 74 | #include "rsa_local.h" |
| 75 | #include "x509_local.h" | 75 | #include "x509_local.h" |
| 76 | 76 | ||
| 77 | /* Macros to test if a pkey or ctx is for a PSS key */ | ||
| 78 | #define pkey_is_pss(pkey) (pkey->ameth->pkey_id == EVP_PKEY_RSA_PSS) | ||
| 79 | #define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS) | ||
| 80 | |||
| 77 | #ifndef OPENSSL_NO_CMS | 81 | #ifndef OPENSSL_NO_CMS |
| 78 | static int rsa_cms_sign(CMS_SignerInfo *si); | 82 | static int rsa_cms_sign(CMS_SignerInfo *si); |
| 79 | static int rsa_cms_verify(CMS_SignerInfo *si); | 83 | static int rsa_cms_verify(CMS_SignerInfo *si); |
