Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_hdr.c189 OSSL_CMP_ITAV *itav) in ossl_cmp_hdr_generalInfo_push0_item() argument
191 if (!ossl_assert(hdr != NULL && itav != NULL)) in ossl_cmp_hdr_generalInfo_push0_item()
193 return OSSL_CMP_ITAV_push0_stack_item(&hdr->generalInfo, itav); in ossl_cmp_hdr_generalInfo_push0_item()
200 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_generalInfo_push1_items() local
206 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_hdr_generalInfo_push1_items()
207 if (itav == NULL) in ossl_cmp_hdr_generalInfo_push1_items()
210 if (!ossl_cmp_hdr_generalInfo_push0_item(hdr, itav)) { in ossl_cmp_hdr_generalInfo_push1_items()
211 OSSL_CMP_ITAV_free(itav); in ossl_cmp_hdr_generalInfo_push1_items()
220 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_set_implicitConfirm() local
228 if ((itav = OSSL_CMP_ITAV_create(OBJ_nid2obj(NID_id_it_implicitConfirm), in ossl_cmp_hdr_set_implicitConfirm()
[all …]
H A Dcmp_asn.c135 OSSL_CMP_ITAV *itav; variable
137 if (type == NULL || (itav = OSSL_CMP_ITAV_new()) == NULL)
139 OSSL_CMP_ITAV_set0(itav, type, value);
140 return itav;
143 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type, in OSSL_CMP_ITAV_set0() argument
146 itav->infoType = type; in OSSL_CMP_ITAV_set0()
147 itav->infoValue.other = value; in OSSL_CMP_ITAV_set0()
150 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav) in OSSL_CMP_ITAV_get0_type() argument
152 if (itav == NULL) in OSSL_CMP_ITAV_get0_type()
154 return itav->infoType; in OSSL_CMP_ITAV_get0_type()
[all …]
H A Dcmp_msg.c637 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) in ossl_cmp_msg_gen_push0_ITAV() argument
641 if (!ossl_assert(msg != NULL && itav != NULL)) in ossl_cmp_msg_gen_push0_ITAV()
652 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); in ossl_cmp_msg_gen_push0_ITAV()
659 OSSL_CMP_ITAV *itav = NULL; in ossl_cmp_msg_gen_push1_ITAVs() local
665 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs()
666 if (itav == NULL in ossl_cmp_msg_gen_push1_ITAVs()
667 || !ossl_cmp_msg_gen_push0_ITAV(msg, itav)) { in ossl_cmp_msg_gen_push1_ITAVs()
668 OSSL_CMP_ITAV_free(itav); in ossl_cmp_msg_gen_push1_ITAVs()
H A Dcmp_ctx.c566 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_geninfo_ITAV() argument
572 return OSSL_CMP_ITAV_push0_stack_item(&ctx->geninfo_ITAVs, itav); in OSSL_CMP_CTX_push0_geninfo_ITAV()
587 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_genm_ITAV() argument
593 return OSSL_CMP_ITAV_push0_stack_item(&ctx->genm_ITAVs, itav); in OSSL_CMP_CTX_push0_genm_ITAV()
H A Dcmp_local.h815 OSSL_CMP_ITAV *itav);
880 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CMP_ITAV_set0.pod16 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type,
18 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav);
19 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav);
22 OSSL_CMP_ITAV *itav);
35 OSSL_CMP_ITAV_set0() sets the I<itav> with an infoType of I<type> and an
40 I<itav>.
43 the I<itav> as generic B<ASN1_TYPE> pointer.
45 OSSL_CMP_ITAV_push0_stack_item() pushes I<itav> to the stack pointed to
81 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, val);
82 if (itav == NULL) ...
[all …]
H A DOSSL_CMP_CTX_new.pod119 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
138 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
525 OSSL_CMP_CTX_push0_geninfo_ITAV() adds I<itav> to the stack in the I<ctx> to be
593 OSSL_CMP_CTX_push0_genm_ITAV() adds I<itav> to the stack in the I<ctx> which
784 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL);
785 OSSL_CMP_CTX_push0_genm_ITAV(cmp_ctx, itav);
/freebsd/crypto/openssl/test/
H A Dcmp_hdr_test.c312 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new();
314 if (!TEST_ptr(itav)) in test_HDR_generalInfo_push0_item()
317 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push0_item(fixture->hdr, itav), in test_HDR_generalInfo_push0_item()
321 if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo,
341 OSSL_CMP_ITAV *itav, *pushed_itav; in execute_HDR_generalInfo_push1_items_test()
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 test_HDR_generalInfo_push1_items()
297 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(); execute_HDR_generalInfo_push0_item_test() local
326 OSSL_CMP_ITAV *itav, *pushed_itav; execute_HDR_generalInfo_push1_items_test() local
H A Dcmp_client_test.c106 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); in execute_exec_GENM_ses_test_single() local
109 OSSL_CMP_CTX_push0_genm_ITAV(ctx, itav); in execute_exec_GENM_ses_test_single()
/freebsd/crypto/openssl/include/openssl/
H A Dcmp.h.in255 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type,
257 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav);
258 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav);
260 OSSL_CMP_ITAV *itav);
261 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav);
330 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
347 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
H A Dcmp.h374 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type,
376 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav);
377 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav);
379 OSSL_CMP_ITAV *itav);
380 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav);
449 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
466 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
/freebsd/crypto/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.
/freebsd/crypto/openssl/apps/
H A Dcmp.c1782 OSSL_CMP_ITAV *itav; in handle_opt_geninfo() local
1820 itav = OSSL_CMP_ITAV_create(type, val); in handle_opt_geninfo()
1821 if (itav == NULL) { in handle_opt_geninfo()
1826 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { in handle_opt_geninfo()
1827 OSSL_CMP_ITAV_free(itav); in handle_opt_geninfo()
2084 OSSL_CMP_ITAV *itav = NULL; in print_itavs() local
2095 itav = sk_OSSL_CMP_ITAV_value(itavs, i); in print_itavs()
2096 r = OBJ_obj2txt(buf, 128, OSSL_CMP_ITAV_get0_type(itav), 0); in print_itavs()
2996 OSSL_CMP_ITAV *itav = in cmp_main() local
2998 if (itav == NULL) in cmp_main()
[all …]