Lines Matching refs:rr

29     CMS_ReceiptRequest *rr;  in IMPLEMENT_ASN1_FUNCTIONS()  local
38 rr = ASN1_item_unpack(str, ASN1_ITEM_rptr(CMS_ReceiptRequest)); in IMPLEMENT_ASN1_FUNCTIONS()
39 if (rr == NULL) in IMPLEMENT_ASN1_FUNCTIONS()
42 *prr = rr; in IMPLEMENT_ASN1_FUNCTIONS()
44 CMS_ReceiptRequest_free(rr); in IMPLEMENT_ASN1_FUNCTIONS()
121 CMS_ReceiptRequest *rr; in CMS_ReceiptRequest_create0_ex() local
123 rr = CMS_ReceiptRequest_new(); in CMS_ReceiptRequest_create0_ex()
124 if (rr == NULL) { in CMS_ReceiptRequest_create0_ex()
129 ASN1_STRING_set0(rr->signedContentIdentifier, id, idlen); in CMS_ReceiptRequest_create0_ex()
131 if (!ASN1_STRING_set(rr->signedContentIdentifier, NULL, 32)) { in CMS_ReceiptRequest_create0_ex()
135 if (RAND_bytes_ex(libctx, rr->signedContentIdentifier->data, 32, in CMS_ReceiptRequest_create0_ex()
140 sk_GENERAL_NAMES_pop_free(rr->receiptsTo, GENERAL_NAMES_free); in CMS_ReceiptRequest_create0_ex()
141 rr->receiptsTo = receiptsTo; in CMS_ReceiptRequest_create0_ex()
144 rr->receiptsFrom->type = 1; in CMS_ReceiptRequest_create0_ex()
145 rr->receiptsFrom->d.receiptList = receiptList; in CMS_ReceiptRequest_create0_ex()
147 rr->receiptsFrom->type = 0; in CMS_ReceiptRequest_create0_ex()
148 rr->receiptsFrom->d.allOrFirstTier = allorfirst; in CMS_ReceiptRequest_create0_ex()
151 return rr; in CMS_ReceiptRequest_create0_ex()
154 CMS_ReceiptRequest_free(rr); in CMS_ReceiptRequest_create0_ex()
167 int CMS_add1_ReceiptRequest(CMS_SignerInfo *si, CMS_ReceiptRequest *rr) in CMS_add1_ReceiptRequest() argument
172 rrderlen = i2d_CMS_ReceiptRequest(rr, &rrder); in CMS_add1_ReceiptRequest()
193 void CMS_ReceiptRequest_get0_values(CMS_ReceiptRequest *rr, in CMS_ReceiptRequest_get0_values() argument
200 *pcid = rr->signedContentIdentifier; in CMS_ReceiptRequest_get0_values()
201 if (rr->receiptsFrom->type == 0) { in CMS_ReceiptRequest_get0_values()
203 *pallorfirst = (int)rr->receiptsFrom->d.allOrFirstTier; in CMS_ReceiptRequest_get0_values()
210 *plist = rr->receiptsFrom->d.receiptList; in CMS_ReceiptRequest_get0_values()
213 *prto = rr->receiptsTo; in CMS_ReceiptRequest_get0_values()
257 CMS_ReceiptRequest *rr = NULL; in ossl_cms_Receipt_verify() local
358 if (CMS_get1_ReceiptRequest(osi, &rr) <= 0) { in ossl_cms_Receipt_verify()
363 if (ASN1_STRING_cmp(rr->signedContentIdentifier, in ossl_cms_Receipt_verify()
372 CMS_ReceiptRequest_free(rr); in ossl_cms_Receipt_verify()
386 CMS_ReceiptRequest *rr = NULL; in ossl_cms_encode_Receipt() local
394 if (CMS_get1_ReceiptRequest(si, &rr) <= 0) { in ossl_cms_encode_Receipt()
411 rct.signedContentIdentifier = rr->signedContentIdentifier; in ossl_cms_encode_Receipt()
417 CMS_ReceiptRequest_free(rr); in ossl_cms_encode_Receipt()