Home
last modified time | relevance | path

Searched refs:itavs (Results 1 – 14 of 14) sorted by relevance

/openssl/crypto/cmp/
H A Dcmp_genm.c79 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL; in get_genm_itav()
95 itavs = OSSL_CMP_exec_GENM_ses(ctx); in get_genm_itav()
96 if (itavs == NULL) { in get_genm_itav()
103 if ((n = sk_OSSL_CMP_ITAV_num(itavs)) <= 0) { in get_genm_itav()
106 sk_OSSL_CMP_ITAV_free(itavs); in get_genm_itav()
115 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_shift(itavs); in get_genm_itav()
122 OSSL_CMP_ITAV_free(sk_OSSL_CMP_ITAV_shift(itavs)); in get_genm_itav()
123 sk_OSSL_CMP_ITAV_free(itavs); in get_genm_itav()
136 sk_OSSL_CMP_ITAV_free(itavs); in get_genm_itav()
H A Dcmp_hdr.c179 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_hdr_generalInfo_push1_items()
187 for (i = 0; i < sk_OSSL_CMP_ITAV_num(itavs); i++) { in ossl_cmp_hdr_generalInfo_push1_items()
188 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_hdr_generalInfo_push1_items()
H A Dcmp_msg.c665 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_msg_gen_push1_ITAVs()
673 for (i = 0; i < sk_OSSL_CMP_ITAV_num(itavs); i++) { in ossl_cmp_msg_gen_push1_ITAVs()
674 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs()
689 const STACK_OF(OSSL_CMP_ITAV) *itavs, in gen_new()
700 if (itavs != NULL && !ossl_cmp_msg_gen_push1_ITAVs(msg, itavs)) in gen_new()
721 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_genp_new()
723 return gen_new(ctx, itavs, in ossl_cmp_genp_new()
H A Dcmp_client.c1030 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL; in STACK_OF()
1046 itavs = genp->body->value.genp; in STACK_OF()
1047 if (itavs == NULL) in STACK_OF()
1048 itavs = sk_OSSL_CMP_ITAV_new_null(); in STACK_OF()
1056 return itavs; /* NULL indicates error case */ in STACK_OF()
H A Dcmp_server.c357 OSSL_CMP_GENMSGCONTENT *itavs; in process_genm() local
363 if (!srv_ctx->process_genm(srv_ctx, req, req->body->value.genm, &itavs)) in process_genm()
366 msg = ossl_cmp_genp_new(srv_ctx->ctx, itavs); in process_genm()
367 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in process_genm()
H A Dcmp_local.h902 const STACK_OF(OSSL_CMP_ITAV) *itavs);
967 const STACK_OF(OSSL_CMP_ITAV) *itavs);
970 const STACK_OF(OSSL_CMP_ITAV) *itavs);
H A Dcmp_ctx.c152 #define OSSL_CMP_ITAVs_free(itavs) \ argument
153 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free);
/openssl/doc/internal/man3/
H A Dossl_cmp_msg_create.pod78 STACK_OF(OSSL_CMP_ITAV) *itavs);
100 PKIMessage B<msg> of GenMsg or GenRep type. Consumes the B<itavs> pointer.
103 ossl_cmp_msg_gen_ITAVs_push1() adds a copy of the B<itavs> stack to the body
105 Does not consume the B<itavs> pointer nor its elements.
H A Dossl_cmp_hdr_init.pod43 STACK_OF(OSSL_CMP_ITAV) *itavs);
93 ossl_cmp_hdr_generalinfo_items_push1() adds a copy of the B<itavs> stack to
94 the generalInfo field of PKIheader of the B<hdr>. Does not consume the B<itavs>
/openssl/test/
H A Dcmp_client_test.c106 STACK_OF(OSSL_CMP_ITAV) *itavs; in execute_exec_GENM_ses_test_single()
109 itavs = OSSL_CMP_exec_GENM_ses(ctx); in execute_exec_GENM_ses_test_single()
111 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in execute_exec_GENM_ses_test_single()
114 TEST_ptr(itavs) : TEST_ptr_null(itavs); in execute_exec_GENM_ses_test_single()
H A Dcmp_hdr_test.c342 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL, *ginfo; 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()
367 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push1_items(fixture->hdr, itavs), in execute_HDR_generalInfo_push1_items_test()
383 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in execute_HDR_generalInfo_push1_items_test()
/openssl/apps/lib/
H A Dcmp_mock_srv.c306 STACK_OF(OSSL_CMP_ITAV) *itavs = in process_cert_request()
310 for (i = 0; i < sk_OSSL_CMP_ITAV_num(itavs); i++) { in process_cert_request()
311 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i); in process_cert_request()
/openssl/apps/
H A Dcmp.c2494 static int print_itavs(const STACK_OF(OSSL_CMP_ITAV) *itavs) in print_itavs() argument
2497 int n = sk_OSSL_CMP_ITAV_num(itavs); in print_itavs()
2505 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i - 1); in print_itavs()
3483 STACK_OF(OSSL_CMP_ITAV) *itavs; in do_genm()
3497 if ((itavs = OSSL_CMP_exec_GENM_ses(ctx)) != NULL) { in do_genm()
3498 int res = print_itavs(itavs); in do_genm()
3500 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in do_genm()
/openssl/doc/man3/
H A DOSSL_CMP_CTX_new.pod846 STACK_OF(OSSL_CMP_ITAV) *itavs;
847 itavs = OSSL_CMP_exec_GENM_ses(cmp_ctx);
848 print_itavs(itavs);
849 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free);

Completed in 55 milliseconds