Home
last modified time | relevance | path

Searched refs:EVP_PKEY_RSA_PSS (Results 1 – 25 of 25) sorted by relevance

/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_ameth.c97 case EVP_PKEY_RSA_PSS: in rsa_pub_decode()
404 if (OBJ_obj2nid(sigalg->algorithm) == EVP_PKEY_RSA_PSS) { in rsa_sig_print()
532 if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) { in ossl_rsa_pss_to_ctx()
620 if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) { in rsa_item_verify()
662 if (!X509_ALGOR_set0(alg2, OBJ_nid2obj(EVP_PKEY_RSA_PSS), in rsa_item_sign()
669 if (!X509_ALGOR_set0(alg1, OBJ_nid2obj(EVP_PKEY_RSA_PSS), in rsa_item_sign()
715 if (OBJ_obj2nid(sigalg->algorithm) != EVP_PKEY_RSA_PSS) in rsa_sig_info_set()
750 X509_SIG_INFO_set(siginf, mdnid, EVP_PKEY_RSA_PSS, secbits, in rsa_sig_info_set()
890 ok = EVP_PKEY_assign(pkey, EVP_PKEY_RSA_PSS, rsa); in rsa_int_import_from()
994 EVP_PKEY_RSA_PSS,
[all …]
H A Drsa_local.h151 #define pkey_is_pss(pkey) (pkey->ameth->pkey_id == EVP_PKEY_RSA_PSS)
152 #define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS)
H A Drsa_lib.c735 && ctx->pmeth->pkey_id != EVP_PKEY_RSA_PSS) in RSA_pkey_ctx_ctrl()
983 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_pss_keygen_md()
991 return int_set_rsa_md_name(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name()
1074 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md()
1081 return int_set_rsa_md_name(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name()
H A Drsa_backend.c530 if (OBJ_obj2nid(algoid) != EVP_PKEY_RSA_PSS) in ossl_rsa_param_decode()
573 case EVP_PKEY_RSA_PSS: in ossl_rsa_key_from_pkcs8()
H A Drsa_pmeth.c874 EVP_PKEY_RSA_PSS,
/freebsd/crypto/openssl/crypto/evp/
H A Dctrl_params_translate.c1794 && EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) in get_rsa_payload_n()
1808 && EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) in get_rsa_payload_e()
1822 && EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) in get_rsa_payload_d()
1923 && EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) \
1935 && EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) \
1948 && EVP_PKEY_get_base_id(ctx->p2) != EVP_PKEY_RSA_PSS) \
2220 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
2224 { GET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
2229 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
2233 { GET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS,
[all …]
H A Dp_legacy.c36 if (pkey->type != EVP_PKEY_RSA && pkey->type != EVP_PKEY_RSA_PSS) { in evp_pkey_get0_RSA_int()
H A Dp_lib.c720 case EVP_PKEY_RSA_PSS: in detect_foreign_key()
1009 { EVP_PKEY_RSA_PSS, "RSA-PSS" },
1079 case EVP_PKEY_RSA_PSS: in EVP_PKEY_can_sign()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c926 return expected_type == EVP_PKEY_RSA_PSS; in rsa_check_key_type()
934 #define rsapss_evp_type EVP_PKEY_RSA_PSS
1364 MAKE_ENCODER(rsapss, rsa, EVP_PKEY_RSA_PSS, EncryptedPrivateKeyInfo, der);
1365 MAKE_ENCODER(rsapss, rsa, EVP_PKEY_RSA_PSS, EncryptedPrivateKeyInfo, pem);
1366 MAKE_ENCODER(rsapss, rsa, EVP_PKEY_RSA_PSS, PrivateKeyInfo, der);
1367 MAKE_ENCODER(rsapss, rsa, EVP_PKEY_RSA_PSS, PrivateKeyInfo, pem);
1368 MAKE_ENCODER(rsapss, rsa, EVP_PKEY_RSA_PSS, SubjectPublicKeyInfo, der);
1369 MAKE_ENCODER(rsapss, rsa, EVP_PKEY_RSA_PSS, SubjectPublicKeyInfo, pem);
1465 MAKE_ENCODER(rsapss, rsa, EVP_PKEY_RSA_PSS, PKCS1, der);
1466 MAKE_ENCODER(rsapss, rsa, EVP_PKEY_RSA_PSS, PKCS1, pem);
H A Ddecode_der2key.c542 return ctx->desc->evp_type == EVP_PKEY_RSA_PSS; in rsa_check()
554 #define rsapss_evp_type EVP_PKEY_RSA_PSS
/freebsd/crypto/openssl/ssl/
H A Dssl_cert_table.h15 {EVP_PKEY_RSA_PSS, SSL_aRSA}, /* SSL_PKEY_RSA_PSS_SIGN */
H A Dt1_lib.c1074 NID_sha256, SSL_MD_SHA256_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA,
1077 NID_sha384, SSL_MD_SHA384_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA,
1080 NID_sha512, SSL_MD_SHA512_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA,
1083 NID_sha256, SSL_MD_SHA256_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA_PSS_SIGN,
1086 NID_sha384, SSL_MD_SHA384_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA_PSS_SIGN,
1089 NID_sha512, SSL_MD_SHA512_IDX, EVP_PKEY_RSA_PSS, SSL_PKEY_RSA_PSS_SIGN,
1508 pkeyid = EVP_PKEY_RSA_PSS; in tls12_check_peer_sigalg()
1518 && (lu->sig != EVP_PKEY_RSA_PSS || pkeyid != EVP_PKEY_RSA))) { in tls12_check_peer_sigalg()
2424 *psig = EVP_PKEY_RSA_PSS; in get_sigorhash()
3076 || (clu->nid == EVP_PKEY_RSA_PSS in tls12_get_cert_sigalg_idx()
[all …]
H A Dssl_local.h2191 s->s3.tmp.peer_sigalg->sig == EVP_PKEY_RSA_PSS)
/freebsd/crypto/openssl/crypto/cms/
H A Dcms_rsa.c226 if (X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_PKEY_RSA_PSS), V_ASN1_SEQUENCE, os)) in rsa_cms_sign()
254 if (nid == EVP_PKEY_RSA_PSS) in rsa_cms_verify()
/freebsd/crypto/openssl/crypto/x509/
H A Dx509type.c38 case EVP_PKEY_RSA_PSS: in X509_certificate_type()
H A Dx_all.c499 if (pknid == EVP_PKEY_RSA_PSS) { in X509_digest_sig()
/freebsd/crypto/openssl/doc/man3/
H A DSSL_get_peer_signature_nid.pod26 where it is B<EVP_PKEY_RSA_PSS>. To differentiate between
H A DEVP_PKEY_CTX_set_rsa_pss_keygen_md.pod81 EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_RSA_PSS, NULL);
H A DSSL_CTX_set1_sigalgs.pod75 EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_DSA and EVP_PKEY_EC.
H A DEVP_PKEY_CTX_new.pod85 These are B<EVP_PKEY_RSA>, B<EVP_PKEY_RSA_PSS>, B<EVP_PKEY_DSA>,
/freebsd/crypto/openssl/crypto/asn1/
H A Da_verify.c165 if (mdnid == NID_undef && pknid == EVP_PKEY_RSA_PSS) { in ASN1_item_verify_ctx()
/freebsd/crypto/openssl/apps/lib/
H A Ds_cb.c233 case EVP_PKEY_RSA_PSS: in get_sigtype()
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_lib.c321 if (lu->sig == EVP_PKEY_RSA_PSS) { in tls_construct_cert_verify()
H A Dstatem_srvr.c2686 if (lu->sig == EVP_PKEY_RSA_PSS) { in tls_construct_server_key_exchange()
/freebsd/crypto/openssl/include/openssl/
H A Devp.h61 # define EVP_PKEY_RSA_PSS NID_rsassaPss macro