/openssl-master/crypto/cmp/ |
A D | cmp_hdr.c | 189 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 …]
|
A D | cmp_asn.c | 135 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 …]
|
A D | cmp_msg.c | 647 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) in ossl_cmp_msg_gen_push0_ITAV() argument 651 if (!ossl_assert(msg != NULL && itav != NULL)) in ossl_cmp_msg_gen_push0_ITAV() 662 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); in ossl_cmp_msg_gen_push0_ITAV() 669 OSSL_CMP_ITAV *itav = NULL; in ossl_cmp_msg_gen_push1_ITAVs() local 675 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs() 676 if (itav == NULL in ossl_cmp_msg_gen_push1_ITAVs() 677 || !ossl_cmp_msg_gen_push0_ITAV(msg, itav)) { in ossl_cmp_msg_gen_push1_ITAVs() 678 OSSL_CMP_ITAV_free(itav); in ossl_cmp_msg_gen_push1_ITAVs()
|
A D | cmp_ctx.c | 556 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_geninfo_ITAV() argument 562 return OSSL_CMP_ITAV_push0_stack_item(&ctx->geninfo_ITAVs, itav); in OSSL_CMP_CTX_push0_geninfo_ITAV() 566 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_genm_ITAV() argument 572 return OSSL_CMP_ITAV_push0_stack_item(&ctx->genm_ITAVs, itav); in OSSL_CMP_CTX_push0_genm_ITAV()
|
A D | cmp_local.h | 814 OSSL_CMP_ITAV *itav); 877 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
|
/openssl-master/doc/man3/ |
A D | OSSL_CMP_ITAV_set0.pod | 16 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 …]
|
A D | OSSL_CMP_CTX_new.pod | 118 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav); 136 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav); 508 OSSL_CMP_CTX_push0_geninfo_ITAV() adds I<itav> to the stack in the I<ctx> to be 571 OSSL_CMP_CTX_push0_genm_ITAV() adds I<itav> to the stack in the I<ctx> which 738 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(type, NULL); 739 OSSL_CMP_CTX_push0_genm_ITAV(cmp_ctx, itav);
|
/openssl-master/test/ |
A D | cmp_hdr_test.c | 297 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-master/include/openssl/ |
A D | cmp.h.in | 252 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type, 254 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav); 255 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav); 257 OSSL_CMP_ITAV *itav); 258 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav); 327 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav); 343 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
|
/openssl-master/doc/internal/man3/ |
A D | ossl_cmp_msg_create.pod | 76 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
|
A D | ossl_cmp_hdr_init.pod | 41 OSSL_CMP_ITAV *itav); 91 item to the hdr->generalInfo stack. Consumes the B<itav> pointer.
|
/openssl-master/apps/ |
A D | cmp.c | 1696 OSSL_CMP_ITAV *itav; in handle_opt_geninfo() local 1734 itav = OSSL_CMP_ITAV_create(type, val); in handle_opt_geninfo() 1735 if (itav == NULL) { in handle_opt_geninfo() 1740 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { in handle_opt_geninfo() 1741 OSSL_CMP_ITAV_free(itav); in handle_opt_geninfo() 1970 OSSL_CMP_ITAV *itav = NULL; in print_itavs() local 1981 itav = sk_OSSL_CMP_ITAV_value(itavs, i); in print_itavs() 1982 r = OBJ_obj2txt(buf, 128, OSSL_CMP_ITAV_get0_type(itav), 0); in print_itavs() 2819 OSSL_CMP_ITAV *itav = in cmp_main() local 2821 if (itav == NULL) in cmp_main() [all …]
|