Lines Matching refs:alg
19 static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg) in rsa_oaep_decode() argument
24 alg->parameter); in rsa_oaep_decode()
120 X509_ALGOR *alg; in rsa_cms_encrypt() local
125 if (CMS_RecipientInfo_ktri_get0_algs(ri, NULL, NULL, &alg) <= 0) in rsa_cms_encrypt()
132 return X509_ALGOR_set0(alg, OBJ_nid2obj(NID_rsaEncryption), in rsa_cms_encrypt()
170 if (!X509_ALGOR_set0(alg, OBJ_nid2obj(NID_rsaesOaep), V_ASN1_SEQUENCE, os)) in rsa_cms_encrypt()
198 X509_ALGOR *alg; in rsa_cms_sign() local
205 CMS_SignerInfo_get0_algs(si, NULL, NULL, NULL, &alg); in rsa_cms_sign()
211 return X509_ALGOR_set0(alg, OBJ_nid2obj(NID_rsaEncryption), in rsa_cms_sign()
225 if (X509_ALGOR_set0(alg, OBJ_nid2obj(EVP_PKEY_RSA_PSS), V_ASN1_SEQUENCE, os)) in rsa_cms_sign()
239 if (d2i_X509_ALGOR(&alg, &pp, aid_len) == NULL) in rsa_cms_sign()
247 X509_ALGOR *alg; in rsa_cms_verify() local
251 CMS_SignerInfo_get0_algs(si, NULL, NULL, NULL, &alg); in rsa_cms_verify()
252 nid = OBJ_obj2nid(alg->algorithm); in rsa_cms_verify()
254 return ossl_rsa_pss_to_ctx(NULL, pkctx, alg, NULL) > 0; in rsa_cms_verify()