Home
last modified time | relevance | path

Searched refs:itavs (Results 1 - 16 of 16) sorted by relevance

/third_party/openssl/test/
H A Dcmp_client_test.c107 STACK_OF(OSSL_CMP_ITAV) *itavs; in execute_exec_GENM_ses_test_single()
110 itavs = OSSL_CMP_exec_GENM_ses(ctx); in execute_exec_GENM_ses_test_single()
112 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in execute_exec_GENM_ses_test_single()
115 TEST_ptr(itavs) : TEST_ptr_null(itavs); in execute_exec_GENM_ses_test_single()
H A Dcmp_hdr_test.c327 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL, *ginfo; in execute_HDR_generalInfo_push1_items_test()
347 if (!TEST_true(OSSL_CMP_ITAV_push0_stack_item(&itavs, itav))) { in execute_HDR_generalInfo_push1_items_test()
352 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push1_items(fixture->hdr, itavs), in execute_HDR_generalInfo_push1_items_test()
368 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in execute_HDR_generalInfo_push1_items_test()
/third_party/node/deps/openssl/openssl/crypto/cmp/
H A Dcmp_hdr.c197 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_hdr_generalInfo_push1_items()
205 for (i = 0; i < sk_OSSL_CMP_ITAV_num(itavs); i++) { in ossl_cmp_hdr_generalInfo_push1_items()
206 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_hdr_generalInfo_push1_items()
196 ossl_cmp_hdr_generalInfo_push1_items(OSSL_CMP_PKIHEADER *hdr, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_hdr_generalInfo_push1_items() argument
H A Dcmp_msg.c656 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_msg_gen_push1_ITAVs()
664 for (i = 0; i < sk_OSSL_CMP_ITAV_num(itavs); i++) { in ossl_cmp_msg_gen_push1_ITAVs()
665 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs()
680 const STACK_OF(OSSL_CMP_ITAV) *itavs, in gen_new()
691 if (itavs != NULL && !ossl_cmp_msg_gen_push1_ITAVs(msg, itavs)) in gen_new()
712 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_genp_new()
714 return gen_new(ctx, itavs, in ossl_cmp_genp_new()
655 ossl_cmp_msg_gen_push1_ITAVs(OSSL_CMP_MSG *msg, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_msg_gen_push1_ITAVs() argument
679 gen_new(OSSL_CMP_CTX *ctx, const STACK_OF(OSSL_CMP_ITAV) *itavs, int body_type, int err_code) gen_new() argument
711 ossl_cmp_genp_new(OSSL_CMP_CTX *ctx, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_genp_new() argument
H A Dcmp_server.c300 OSSL_CMP_GENMSGCONTENT *itavs; in process_genm() local
306 if (!srv_ctx->process_genm(srv_ctx, req, req->body->value.genm, &itavs)) in process_genm()
309 msg = ossl_cmp_genp_new(srv_ctx->ctx, itavs); in process_genm()
310 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in process_genm()
H A Dcmp_client.c891 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL; in STACK_OF()
907 itavs = genp->body->value.genp; in STACK_OF()
908 if (itavs == NULL) in STACK_OF()
909 itavs = sk_OSSL_CMP_ITAV_new_null(); in STACK_OF()
910 /* received stack of itavs not to be freed with the genp */ in STACK_OF()
917 return itavs; /* NULL indicates error case */ in STACK_OF()
H A Dcmp_local.h817 const STACK_OF(OSSL_CMP_ITAV) *itavs);
882 const STACK_OF(OSSL_CMP_ITAV) *itavs);
885 const STACK_OF(OSSL_CMP_ITAV) *itavs);
H A Dcmp_ctx.c145 #define OSSL_CMP_ITAVs_free(itavs) \
146 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free);
/third_party/openssl/crypto/cmp/
H A Dcmp_hdr.c197 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_hdr_generalInfo_push1_items()
205 for (i = 0; i < sk_OSSL_CMP_ITAV_num(itavs); i++) { in ossl_cmp_hdr_generalInfo_push1_items()
206 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_hdr_generalInfo_push1_items()
196 ossl_cmp_hdr_generalInfo_push1_items(OSSL_CMP_PKIHEADER *hdr, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_hdr_generalInfo_push1_items() argument
H A Dcmp_msg.c656 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_msg_gen_push1_ITAVs()
664 for (i = 0; i < sk_OSSL_CMP_ITAV_num(itavs); i++) { in ossl_cmp_msg_gen_push1_ITAVs()
665 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs()
680 const STACK_OF(OSSL_CMP_ITAV) *itavs, in gen_new()
691 if (itavs != NULL && !ossl_cmp_msg_gen_push1_ITAVs(msg, itavs)) in gen_new()
712 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_genp_new()
714 return gen_new(ctx, itavs, in ossl_cmp_genp_new()
655 ossl_cmp_msg_gen_push1_ITAVs(OSSL_CMP_MSG *msg, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_msg_gen_push1_ITAVs() argument
679 gen_new(OSSL_CMP_CTX *ctx, const STACK_OF(OSSL_CMP_ITAV) *itavs, int body_type, int err_code) gen_new() argument
711 ossl_cmp_genp_new(OSSL_CMP_CTX *ctx, const STACK_OF(OSSL_CMP_ITAV) *itavs) ossl_cmp_genp_new() argument
H A Dcmp_server.c300 OSSL_CMP_GENMSGCONTENT *itavs; in process_genm() local
306 if (!srv_ctx->process_genm(srv_ctx, req, req->body->value.genm, &itavs)) in process_genm()
309 msg = ossl_cmp_genp_new(srv_ctx->ctx, itavs); in process_genm()
310 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in process_genm()
H A Dcmp_client.c894 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL; in STACK_OF()
910 itavs = genp->body->value.genp; in STACK_OF()
911 if (itavs == NULL) in STACK_OF()
912 itavs = sk_OSSL_CMP_ITAV_new_null(); in STACK_OF()
913 /* received stack of itavs not to be freed with the genp */ in STACK_OF()
920 return itavs; /* NULL indicates error case */ in STACK_OF()
H A Dcmp_local.h817 const STACK_OF(OSSL_CMP_ITAV) *itavs);
882 const STACK_OF(OSSL_CMP_ITAV) *itavs);
885 const STACK_OF(OSSL_CMP_ITAV) *itavs);
H A Dcmp_ctx.c145 #define OSSL_CMP_ITAVs_free(itavs) \
146 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free);
/third_party/node/deps/openssl/openssl/apps/
H A Dcmp.c2082 static void print_itavs(STACK_OF(OSSL_CMP_ITAV) *itavs) in STACK_OF()
2087 int n = sk_OSSL_CMP_ITAV_num(itavs); /* itavs == NULL leads to 0 */ in STACK_OF()
2095 itav = sk_OSSL_CMP_ITAV_value(itavs, i); in STACK_OF()
2993 STACK_OF(OSSL_CMP_ITAV) *itavs; in cmp_main()
3003 if ((itavs = OSSL_CMP_exec_GENM_ses(cmp_ctx)) != NULL) { in cmp_main()
3004 print_itavs(itavs); in cmp_main()
3005 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in cmp_main()
/third_party/openssl/apps/
H A Dcmp.c2082 static void print_itavs(STACK_OF(OSSL_CMP_ITAV) *itavs) in STACK_OF()
2087 int n = sk_OSSL_CMP_ITAV_num(itavs); /* itavs == NULL leads to 0 */ in STACK_OF()
2095 itav = sk_OSSL_CMP_ITAV_value(itavs, i); in STACK_OF()
2992 STACK_OF(OSSL_CMP_ITAV) *itavs; in cmp_main()
3002 if ((itavs = OSSL_CMP_exec_GENM_ses(cmp_ctx)) != NULL) { in cmp_main()
3003 print_itavs(itavs); in cmp_main()
3004 sk_OSSL_CMP_ITAV_pop_free(itavs, OSSL_CMP_ITAV_free); in cmp_main()

Completed in 25 milliseconds