/third_party/openssl/test/ |
H A D | cmp_client_test.c | 107 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 D | cmp_hdr_test.c | 327 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 D | cmp_hdr.c | 197 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 D | cmp_msg.c | 656 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 D | cmp_server.c | 300 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 D | cmp_client.c | 891 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 D | cmp_local.h | 817 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 D | cmp_ctx.c | 145 #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 D | cmp_hdr.c | 197 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 D | cmp_msg.c | 656 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 D | cmp_server.c | 300 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 D | cmp_client.c | 894 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 D | cmp_local.h | 817 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 D | cmp_ctx.c | 145 #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 D | cmp.c | 2082 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 D | cmp.c | 2082 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()
|