Home
last modified time | relevance | path

Searched refs:itav (Results 1 – 18 of 18) sorted by relevance

/openssl/crypto/cmp/
H A Dcmp_asn.c184 return itav;
196 if (itav == NULL) in OSSL_CMP_ITAV_get0_type()
203 if (itav == NULL) in OSSL_CMP_ITAV_get0_value()
244 return itav; in OSSL_CMP_ITAV_new0_certProfile()
275 return itav; in OSSL_CMP_ITAV_new_caCerts()
305 return itav; in OSSL_CMP_ITAV_new_rootCaCert()
347 return itav; in OSSL_CMP_ITAV_new_rootCaKeyUpdate()
393 return itav; in OSSL_CMP_ITAV_new0_certReqTemplate()
402 return itav; in OSSL_CMP_ITAV_new0_certReqTemplate()
601 return itav; in OSSL_CMP_ITAV_new0_crlStatusList()
[all …]
H A Dcmp_hdr.c171 OSSL_CMP_ITAV *itav) in ossl_cmp_hdr_generalInfo_push0_item() argument
173 if (!ossl_assert(hdr != NULL && itav != NULL)) in ossl_cmp_hdr_generalInfo_push0_item()
182 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_generalInfo_push1_items() local
189 if (itav == NULL) in ossl_cmp_hdr_generalInfo_push1_items()
193 OSSL_CMP_ITAV_free(itav); in ossl_cmp_hdr_generalInfo_push1_items()
202 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_set_implicitConfirm() local
213 if (!ossl_cmp_hdr_generalInfo_push0_item(hdr, itav)) in ossl_cmp_hdr_set_implicitConfirm()
219 OSSL_CMP_ITAV_free(itav); in ossl_cmp_hdr_set_implicitConfirm()
228 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_has_implicitConfirm() local
235 itav = sk_OSSL_CMP_ITAV_value(hdr->generalInfo, i); in ossl_cmp_hdr_has_implicitConfirm()
[all …]
H A Dcmp_genm.c124 return itav; in get_genm_itav()
130 OSSL_CMP_ITAV_free(itav); in get_genm_itav()
143 OSSL_CMP_ITAV *req, *itav; in OSSL_CMP_get1_caCerts() local
177 OSSL_CMP_ITAV_free(itav); in OSSL_CMP_get1_caCerts()
292 OSSL_CMP_ITAV *req, *itav; in OSSL_CMP_get1_rootCaKeyUpdate() local
304 if (itav == NULL) in OSSL_CMP_get1_rootCaKeyUpdate()
345 OSSL_CMP_ITAV_free(itav); in OSSL_CMP_get1_rootCaKeyUpdate()
356 OSSL_CMP_ITAV *req = NULL, *itav = NULL; in OSSL_CMP_get1_crlUpdate() local
406 OSSL_CMP_ITAV_free(itav); in OSSL_CMP_get1_crlUpdate()
414 OSSL_CMP_ITAV *req, *itav = NULL; in OSSL_CMP_get1_certReqTemplate() local
[all …]
H A Dcmp_msg.c646 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) in ossl_cmp_msg_gen_push0_ITAV() argument
650 if (!ossl_assert(msg != NULL && itav != NULL)) in ossl_cmp_msg_gen_push0_ITAV()
661 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); in ossl_cmp_msg_gen_push0_ITAV()
668 OSSL_CMP_ITAV *itav = NULL; in ossl_cmp_msg_gen_push1_ITAVs() local
674 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs()
675 if (itav == NULL in ossl_cmp_msg_gen_push1_ITAVs()
676 || !ossl_cmp_msg_gen_push0_ITAV(msg, itav)) { in ossl_cmp_msg_gen_push1_ITAVs()
677 OSSL_CMP_ITAV_free(itav); in ossl_cmp_msg_gen_push1_ITAVs()
H A Dcmp_ctx.c519 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_geninfo_ITAV() argument
525 return OSSL_CMP_ITAV_push0_stack_item(&ctx->geninfo_ITAVs, itav); in OSSL_CMP_CTX_push0_geninfo_ITAV()
542 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in DEFINE_OSSL_CMP_CTX_get0()
548 return OSSL_CMP_ITAV_push0_stack_item(&ctx->genm_ITAVs, itav); in DEFINE_OSSL_CMP_CTX_get0()
H A Dcmp_local.h900 OSSL_CMP_ITAV *itav);
965 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
/openssl/doc/man3/
H A DOSSL_CMP_ITAV_set0.pod19 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type,
21 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav);
22 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav);
24 OSSL_CMP_ITAV *itav);
27 int OSSL_CMP_ITAV_get0_certProfile(const OSSL_CMP_ITAV *itav,
44 I<itav>.
47 the I<itav> as generic B<ASN1_TYPE> pointer.
101 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, val);
102 if (itav == NULL) ...
104 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) {
[all …]
H A DOSSL_CMP_ITAV_new_caCerts.pod30 int OSSL_CMP_ITAV_get0_rootCaCert(const OSSL_CMP_ITAV *itav, X509 **out);
34 int OSSL_CMP_ITAV_get0_rootCaKeyUpdate(const OSSL_CMP_ITAV *itav,
49 int OSSL_CMP_ITAV_get0_crlStatusList(const OSSL_CMP_ITAV *itav,
56 int OSSL_CMP_ITAV_get1_certReqTemplate(const OSSL_CMP_ITAV *itav,
68 OSSL_CMP_ITAV_get0_caCerts() requires that I<itav> has type B<caCerts>.
85 OSSL_CMP_ITAV_get0_rootCaKeyUpdate() requires that I<itav> has infoType
123 requires that I<itav> has type B<certReqTemplate>.
125 with a certificate template value is in I<itav>,
163 It is an error if the infoType of I<itav> is not B<crlStatusList>.
170 the list of CRLs contained in the infoValue field of I<itav>.
[all …]
H A DOSSL_CMP_ATAV_set0.pod53 is transferred to I<atav>. The I<itav> pointer must not be NULL.
H A DOSSL_CMP_CTX_new.pod129 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
151 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
560 OSSL_CMP_CTX_push0_geninfo_ITAV() adds I<itav> to the stack in the I<ctx> to be
640 OSSL_CMP_CTX_push0_genm_ITAV() adds I<itav> to the stack in the I<ctx> which
843 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL);
844 OSSL_CMP_CTX_push0_genm_ITAV(cmp_ctx, itav);
/openssl/test/
H A Dcmp_hdr_test.c312 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(); in execute_HDR_generalInfo_push0_item_test() local
314 if (!TEST_ptr(itav)) in execute_HDR_generalInfo_push0_item_test()
317 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push0_item(fixture->hdr, itav), in execute_HDR_generalInfo_push0_item_test()
321 if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo, in execute_HDR_generalInfo_push0_item_test()
341 OSSL_CMP_ITAV *itav, *pushed_itav; in execute_HDR_generalInfo_push1_items_test() local
358 if (!TEST_ptr(itav = OSSL_CMP_ITAV_create(OBJ_txt2obj(oid, 1), val))) { in execute_HDR_generalInfo_push1_items_test()
362 if (!TEST_true(OSSL_CMP_ITAV_push0_stack_item(&itavs, itav))) { in execute_HDR_generalInfo_push1_items_test()
363 OSSL_CMP_ITAV_free(itav); in execute_HDR_generalInfo_push1_items_test()
377 if (!TEST_int_eq(ASN1_TYPE_cmp(itav->infoValue.other, pushed_val), 0)) in execute_HDR_generalInfo_push1_items_test()
H A Dcmp_client_test.c105 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); in execute_exec_GENM_ses_test_single() local
108 OSSL_CMP_CTX_push0_genm_ITAV(ctx, itav); in execute_exec_GENM_ses_test_single()
/openssl/include/openssl/
H A Dcmp.h.in272 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type,
274 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav);
275 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav);
277 OSSL_CMP_ITAV *itav);
278 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav);
282 int OSSL_CMP_ITAV_get0_certProfile(const OSSL_CMP_ITAV *itav,
292 int OSSL_CMP_ITAV_get0_rootCaKeyUpdate(const OSSL_CMP_ITAV *itav,
308 int OSSL_CMP_ITAV_get0_crlStatusList(const OSSL_CMP_ITAV *itav,
320 void OSSL_CMP_ATAV_set0(OSSL_CMP_ATAV *itav, ASN1_OBJECT *type,
322 ASN1_OBJECT *OSSL_CMP_ATAV_get0_type(const OSSL_CMP_ATAV *itav);
[all …]
/openssl/doc/internal/man3/
H A Dossl_cmp_msg_create.pod76 int ossl_cmp_msg_gen_ITAV_push0(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
99 ossl_cmp_msg_gen_ITAV_push0() pushes the B<itav> to the body of the
H A Dossl_cmp_hdr_init.pod41 OSSL_CMP_ITAV *itav);
91 item to the hdr->generalInfo stack. Consumes the B<itav> pointer.
/openssl/apps/lib/
H A Dcmp_mock_srv.c311 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i); in process_cert_request() local
312 ASN1_OBJECT *obj = OSSL_CMP_ITAV_get0_type(itav); in process_cert_request()
318 if (!OSSL_CMP_ITAV_get0_certProfile(itav, &strs)) in process_cert_request()
/openssl/apps/
H A Dcmp.c1962 OSSL_CMP_ITAV *itav = NULL; in add_certProfile() local
1979 if ((itav = OSSL_CMP_ITAV_new0_certProfile(sk)) == NULL) in add_certProfile()
1981 if (OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) in add_certProfile()
1983 OSSL_CMP_ITAV_free(itav); in add_certProfile()
1998 OSSL_CMP_ITAV *itav; in handle_opt_geninfo() local
2059 if ((itav = OSSL_CMP_ITAV_create(obj, type)) == NULL) { in handle_opt_geninfo()
2066 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { in handle_opt_geninfo()
2068 OSSL_CMP_ITAV_free(itav); in handle_opt_geninfo()
2505 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i - 1); in print_itavs() local
2506 ASN1_OBJECT *type = OSSL_CMP_ITAV_get0_type(itav); in print_itavs()
[all …]
/openssl/crypto/err/
H A Dopenssl.txt240 CMP_R_GET_ITAV:199:get itav

Completed in 69 milliseconds