Lines Matching refs:pkey
28 char *data, EVP_PKEY *pkey) in ASN1_verify() argument
74 (unsigned int)signature->length, pkey) <= 0) { in ASN1_verify()
89 EVP_PKEY *pkey) in ASN1_item_verify() argument
91 return ASN1_item_verify_ex(it, alg, signature, data, NULL, pkey, NULL, NULL); in ASN1_item_verify()
96 const ASN1_OCTET_STRING *id, EVP_PKEY *pkey, in ASN1_item_verify_ex() argument
102 if ((ctx = evp_md_ctx_new_ex(pkey, id, libctx, propq)) != NULL) { in ASN1_item_verify_ex()
114 EVP_PKEY *pkey; in ASN1_item_verify_ctx() local
120 pkey = EVP_PKEY_CTX_get0_pkey(EVP_MD_CTX_get_pkey_ctx(ctx)); in ASN1_item_verify_ctx()
122 if (pkey == NULL) { in ASN1_item_verify_ctx()
138 if (mdnid == NID_undef && evp_pkey_is_legacy(pkey)) { in ASN1_item_verify_ctx()
139 if (pkey->ameth == NULL || pkey->ameth->item_verify == NULL) { in ASN1_item_verify_ctx()
143 ret = pkey->ameth->item_verify(ctx, it, data, alg, signature, pkey); in ASN1_item_verify_ctx()
164 if (!EVP_PKEY_is_a(pkey, "RSA") && !EVP_PKEY_is_a(pkey, "RSA-PSS")) { in ASN1_item_verify_ctx()
169 if (ossl_rsa_pss_to_ctx(ctx, NULL, alg, pkey) <= 0) { in ASN1_item_verify_ctx()
175 if (!EVP_PKEY_is_a(pkey, OBJ_nid2sn(pknid))) { in ASN1_item_verify_ctx()
194 if (!EVP_DigestVerifyInit(ctx, NULL, type, NULL, pkey)) { in ASN1_item_verify_ctx()