Lines Matching refs:ri
22 int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri, in CMS_RecipientInfo_set0_password() argument
26 if (ri->type != CMS_RECIPINFO_PASS) { in CMS_RecipientInfo_set0_password()
31 pwri = ri->d.pwri; in CMS_RecipientInfo_set0_password()
47 CMS_RecipientInfo *ri = NULL; in CMS_add0_recipient_password() local
129 ri = M_ASN1_new_of(CMS_RecipientInfo); in CMS_add0_recipient_password()
130 if (ri == NULL) { in CMS_add0_recipient_password()
135 ri->d.pwri = M_ASN1_new_of(CMS_PasswordRecipientInfo); in CMS_add0_recipient_password()
136 if (ri->d.pwri == NULL) { in CMS_add0_recipient_password()
140 ri->type = CMS_RECIPINFO_PASS; in CMS_add0_recipient_password()
142 pwri = ri->d.pwri; in CMS_add0_recipient_password()
176 CMS_RecipientInfo_set0_password(ri, pass, passlen); in CMS_add0_recipient_password()
179 if (!sk_CMS_RecipientInfo_push(ris, ri)) { in CMS_add0_recipient_password()
184 return ri; in CMS_add0_recipient_password()
188 if (ri) in CMS_add0_recipient_password()
189 M_ASN1_free_of(ri, CMS_RecipientInfo); in CMS_add0_recipient_password()
308 CMS_RecipientInfo *ri, int en_de) in ossl_cms_RecipientInfo_pwri_crypt() argument
323 pwri = ri->d.pwri; in ossl_cms_RecipientInfo_pwri_crypt()