Home
last modified time | relevance | path

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

/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()
200 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_generalInfo_push1_items() local
207 if (itav == NULL) 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
231 if (!ossl_cmp_hdr_generalInfo_push0_item(hdr, itav)) in ossl_cmp_hdr_set_implicitConfirm()
237 OSSL_CMP_ITAV_free(itav); in ossl_cmp_hdr_set_implicitConfirm()
246 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_has_implicitConfirm() local
253 itav = sk_OSSL_CMP_ITAV_value(hdr->generalInfo, i); in ossl_cmp_hdr_has_implicitConfirm()
[all …]
H A Dcmp_asn.c135 OSSL_CMP_ITAV *itav; variable
139 OSSL_CMP_ITAV_set0(itav, type, value);
140 return itav;
146 itav->infoType = type; in OSSL_CMP_ITAV_set0()
147 itav->infoValue.other = value; in OSSL_CMP_ITAV_set0()
152 if (itav == NULL) in OSSL_CMP_ITAV_get0_type()
154 return itav->infoType; in OSSL_CMP_ITAV_get0_type()
159 if (itav == NULL) in OSSL_CMP_ITAV_get0_value()
161 return itav->infoValue.other; in OSSL_CMP_ITAV_get0_value()
169 if (itav_sk_p == NULL || itav == NULL) { in OSSL_CMP_ITAV_push0_stack_item()
[all …]
H A Dcmp_msg.c649 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) in ossl_cmp_msg_gen_push0_ITAV() argument
653 if (!ossl_assert(msg != NULL && itav != NULL)) in ossl_cmp_msg_gen_push0_ITAV()
664 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); in ossl_cmp_msg_gen_push0_ITAV()
671 OSSL_CMP_ITAV *itav = NULL; in ossl_cmp_msg_gen_push1_ITAVs() local
677 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs()
678 if (itav == NULL in ossl_cmp_msg_gen_push1_ITAVs()
679 || !ossl_cmp_msg_gen_push0_ITAV(msg, itav)) { in ossl_cmp_msg_gen_push1_ITAVs()
680 OSSL_CMP_ITAV_free(itav); in ossl_cmp_msg_gen_push1_ITAVs()
H A Dcmp_ctx.c505 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_geninfo_ITAV() argument
511 return OSSL_CMP_ITAV_push0_stack_item(&ctx->geninfo_ITAVs, itav); in OSSL_CMP_CTX_push0_geninfo_ITAV()
515 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_genm_ITAV() argument
521 return OSSL_CMP_ITAV_push0_stack_item(&ctx->genm_ITAVs, itav); in OSSL_CMP_CTX_push0_genm_ITAV()
H A Dcmp_local.h816 OSSL_CMP_ITAV *itav);
879 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
/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);
40 I<itav>.
43 the I<itav> as generic B<ASN1_TYPE> pointer.
81 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, val);
82 if (itav == NULL) ...
85 if (ctx == NULL || !OSSL_CMP_CTX_geninfo_push0_ITAV(ctx, itav)) {
86 OSSL_CMP_ITAV_free(itav); /* also frees type and val */
[all …]
H A DOSSL_CMP_CTX_new.pod123 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
141 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
519 OSSL_CMP_CTX_push0_geninfo_ITAV() adds I<itav> to the stack in the I<ctx> to be
584 OSSL_CMP_CTX_push0_genm_ITAV() adds I<itav> to the stack in the I<ctx> which
759 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(type, NULL);
760 OSSL_CMP_CTX_push0_genm_ITAV(cmp_ctx, itav);
/openssl/test/
H A Dcmp_hdr_test.c297 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(); in execute_HDR_generalInfo_push0_item_test() local
299 if (!TEST_ptr(itav)) in execute_HDR_generalInfo_push0_item_test()
302 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push0_item(fixture->hdr, itav), in execute_HDR_generalInfo_push0_item_test()
306 if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo, in execute_HDR_generalInfo_push0_item_test()
326 OSSL_CMP_ITAV *itav, *pushed_itav; in execute_HDR_generalInfo_push1_items_test() local
343 if (!TEST_ptr(itav = OSSL_CMP_ITAV_create(OBJ_txt2obj(oid, 1), val))) { 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()
348 OSSL_CMP_ITAV_free(itav); in execute_HDR_generalInfo_push1_items_test()
362 if (!TEST_int_eq(ASN1_TYPE_cmp(itav->infoValue.other, pushed_val), 0)) in execute_HDR_generalInfo_push1_items_test()
/openssl/include/openssl/
H A Dcmp.h.in254 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type,
256 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav);
257 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav);
259 OSSL_CMP_ITAV *itav);
260 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav);
331 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);
/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/
H A Dcmp.c1762 OSSL_CMP_ITAV *itav; in handle_opt_geninfo() local
1799 itav = OSSL_CMP_ITAV_create(type, val); in handle_opt_geninfo()
1800 if (itav == NULL) { in handle_opt_geninfo()
1805 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { in handle_opt_geninfo()
1806 OSSL_CMP_ITAV_free(itav); in handle_opt_geninfo()
2098 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i - 1); in print_itavs() local
2099 ASN1_OBJECT *type = OSSL_CMP_ITAV_get0_type(itav); in print_itavs()
2102 if (itav == NULL) { in print_itavs()
2993 OSSL_CMP_ITAV *itav = in cmp_main() local
2996 if (itav == NULL) in cmp_main()
[all …]

Completed in 50 milliseconds