EVP_PKEY_RSA_PSS
case EVP_PKEY_RSA_PSS:
if (mdnid == NID_undef && pknid == EVP_PKEY_RSA_PSS) {
if (X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_PKEY_RSA_PSS), V_ASN1_SEQUENCE, os))
if (nid == EVP_PKEY_RSA_PSS)
&& EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS)
&& EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS)
&& EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS)
&& EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) \
&& EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) \
&& EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) \
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
{ OSSL_ACTION_GET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
{ OSSL_ACTION_GET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_TYPE_SIG,
{ OSSL_ACTION_GET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_TYPE_SIG,
{ OSSL_ACTION_SET, EVP_PKEY_RSA_PSS, 0, EVP_PKEY_OP_TYPE_GEN,
{ OSSL_ACTION_SET, EVP_PKEY_RSA_PSS, 0, EVP_PKEY_OP_TYPE_GEN,
{ OSSL_ACTION_SET, EVP_PKEY_RSA_PSS, 0, EVP_PKEY_OP_TYPE_GEN,
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
{ OSSL_ACTION_SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
if (pkey->type != EVP_PKEY_RSA && pkey->type != EVP_PKEY_RSA_PSS) {
{ EVP_PKEY_RSA_PSS, "RSA-PSS" },
case EVP_PKEY_RSA_PSS:
case EVP_PKEY_RSA_PSS:
EVP_PKEY_RSA_PSS,
EVP_PKEY_RSA_PSS,
if (OBJ_obj2nid(sigalg->algorithm) == EVP_PKEY_RSA_PSS) {
if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) {
if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) {
if (!X509_ALGOR_set0(alg2, OBJ_nid2obj(EVP_PKEY_RSA_PSS),
if (!X509_ALGOR_set0(alg1, OBJ_nid2obj(EVP_PKEY_RSA_PSS),
if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS)
X509_SIG_INFO_set(siginf, mdnid, EVP_PKEY_RSA_PSS, secbits,
ok = EVP_PKEY_assign(pkey, EVP_PKEY_RSA_PSS, rsa);
case EVP_PKEY_RSA_PSS:
if (OBJ_obj2nid(algoid) != EVP_PKEY_RSA_PSS)
case EVP_PKEY_RSA_PSS:
return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
return int_set_rsa_md_name(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
return int_set_rsa_md_name(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
&& ctx->pmeth->pkey_id != EVP_PKEY_RSA_PSS)
#define pkey_is_pss(pkey) (pkey->ameth->pkey_id == EVP_PKEY_RSA_PSS)
#define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS)
EVP_PKEY_RSA_PSS,
case EVP_PKEY_RSA_PSS:
if (pknid == EVP_PKEY_RSA_PSS) {
valid = (ctx->desc->evp_type == EVP_PKEY_RSA_PSS);
#define rsapss_evp_type EVP_PKEY_RSA_PSS
return expected_type == EVP_PKEY_RSA_PSS;
#define rsapss_evp_type EVP_PKEY_RSA_PSS
{ EVP_PKEY_RSA_PSS, SSL_aRSA }, /* SSL_PKEY_RSA_PSS_SIGN */
#define SSL_USE_PSS(s) (s->s3.tmp.peer_sigalg != NULL && s->s3.tmp.peer_sigalg->sig == EVP_PKEY_RSA_PSS)
if (lu->sig == EVP_PKEY_RSA_PSS) {
if (lu->sig == EVP_PKEY_RSA_PSS) {
NID_sha256, SSL_MD_SHA256_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA,
NID_sha384, SSL_MD_SHA384_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA,
NID_sha512, SSL_MD_SHA512_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA,
NID_sha256, SSL_MD_SHA256_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA_PSS_SIGN,
NID_sha384, SSL_MD_SHA384_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA_PSS_SIGN,
NID_sha512, SSL_MD_SHA512_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA_PSS_SIGN,
pkeyid = EVP_PKEY_RSA_PSS;
&& (lu->sig != EVP_PKEY_RSA_PSS || pkeyid != EVP_PKEY_RSA))) {
(pkeyid == EVP_PKEY_RSA_PSS) ? EVP_PKEY_get_id(pkey) : pkeyid,
*psig = EVP_PKEY_RSA_PSS;
if (sigalg->sig != EVP_PKEY_RSA_PSS)
|| (clu->pkey_nid == EVP_PKEY_RSA_PSS
} else if (lu->sig == EVP_PKEY_RSA_PSS) {
if (lu->sig == EVP_PKEY_RSA_PSS) {