Lines Matching refs:ri
468 PKCS7_RECIP_INFO *ri = sk_PKCS7_RECIP_INFO_value(rinfos, i); in ossl_pkcs7_resolve_libctx() local
470 ossl_x509_set0_libctx(ri->cert, libctx, propq); in ossl_pkcs7_resolve_libctx()
563 void PKCS7_RECIP_INFO_get0_alg(PKCS7_RECIP_INFO *ri, X509_ALGOR **penc) in PKCS7_RECIP_INFO_get0_alg() argument
566 *penc = ri->key_enc_algor; in PKCS7_RECIP_INFO_get0_alg()
571 PKCS7_RECIP_INFO *ri; in PKCS7_add_recipient() local
573 if ((ri = PKCS7_RECIP_INFO_new()) == NULL) in PKCS7_add_recipient()
575 if (PKCS7_RECIP_INFO_set(ri, x509) <= 0) in PKCS7_add_recipient()
577 if (!PKCS7_add_recipient_info(p7, ri)) in PKCS7_add_recipient()
579 ri->ctx = ossl_pkcs7_get0_ctx(p7); in PKCS7_add_recipient()
580 return ri; in PKCS7_add_recipient()
582 PKCS7_RECIP_INFO_free(ri); in PKCS7_add_recipient()
586 int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri) in PKCS7_add_recipient_info() argument
604 if (!sk_PKCS7_RECIP_INFO_push(sk, ri)) in PKCS7_add_recipient_info()
609 static int pkcs7_rsa_encrypt_decrypt_setup(PKCS7_RECIP_INFO *ri, int decrypt) in pkcs7_rsa_encrypt_decrypt_setup() argument
614 PKCS7_RECIP_INFO_get0_alg(ri, &alg); in pkcs7_rsa_encrypt_decrypt_setup()