/openssl/crypto/cmp/ |
H A D | cmp_asn.c | 184 return itav; 196 if (itav == NULL) in OSSL_CMP_ITAV_get0_type() 203 if (itav == NULL) in OSSL_CMP_ITAV_get0_value() 244 return itav; in OSSL_CMP_ITAV_new0_certProfile() 275 return itav; in OSSL_CMP_ITAV_new_caCerts() 305 return itav; in OSSL_CMP_ITAV_new_rootCaCert() 347 return itav; in OSSL_CMP_ITAV_new_rootCaKeyUpdate() 393 return itav; in OSSL_CMP_ITAV_new0_certReqTemplate() 402 return itav; in OSSL_CMP_ITAV_new0_certReqTemplate() 601 return itav; in OSSL_CMP_ITAV_new0_crlStatusList() [all …]
|
H A D | cmp_hdr.c | 171 OSSL_CMP_ITAV *itav) in ossl_cmp_hdr_generalInfo_push0_item() argument 173 if (!ossl_assert(hdr != NULL && itav != NULL)) in ossl_cmp_hdr_generalInfo_push0_item() 182 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_generalInfo_push1_items() local 189 if (itav == NULL) in ossl_cmp_hdr_generalInfo_push1_items() 193 OSSL_CMP_ITAV_free(itav); in ossl_cmp_hdr_generalInfo_push1_items() 202 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_set_implicitConfirm() local 213 if (!ossl_cmp_hdr_generalInfo_push0_item(hdr, itav)) in ossl_cmp_hdr_set_implicitConfirm() 219 OSSL_CMP_ITAV_free(itav); in ossl_cmp_hdr_set_implicitConfirm() 228 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_has_implicitConfirm() local 235 itav = sk_OSSL_CMP_ITAV_value(hdr->generalInfo, i); in ossl_cmp_hdr_has_implicitConfirm() [all …]
|
H A D | cmp_genm.c | 124 return itav; in get_genm_itav() 130 OSSL_CMP_ITAV_free(itav); in get_genm_itav() 143 OSSL_CMP_ITAV *req, *itav; in OSSL_CMP_get1_caCerts() local 177 OSSL_CMP_ITAV_free(itav); in OSSL_CMP_get1_caCerts() 292 OSSL_CMP_ITAV *req, *itav; in OSSL_CMP_get1_rootCaKeyUpdate() local 304 if (itav == NULL) in OSSL_CMP_get1_rootCaKeyUpdate() 345 OSSL_CMP_ITAV_free(itav); in OSSL_CMP_get1_rootCaKeyUpdate() 356 OSSL_CMP_ITAV *req = NULL, *itav = NULL; in OSSL_CMP_get1_crlUpdate() local 406 OSSL_CMP_ITAV_free(itav); in OSSL_CMP_get1_crlUpdate() 414 OSSL_CMP_ITAV *req, *itav = NULL; in OSSL_CMP_get1_certReqTemplate() local [all …]
|
H A D | cmp_msg.c | 646 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) in ossl_cmp_msg_gen_push0_ITAV() argument 650 if (!ossl_assert(msg != NULL && itav != NULL)) in ossl_cmp_msg_gen_push0_ITAV() 661 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); in ossl_cmp_msg_gen_push0_ITAV() 668 OSSL_CMP_ITAV *itav = NULL; in ossl_cmp_msg_gen_push1_ITAVs() local 674 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs() 675 if (itav == NULL in ossl_cmp_msg_gen_push1_ITAVs() 676 || !ossl_cmp_msg_gen_push0_ITAV(msg, itav)) { in ossl_cmp_msg_gen_push1_ITAVs() 677 OSSL_CMP_ITAV_free(itav); in ossl_cmp_msg_gen_push1_ITAVs()
|
H A D | cmp_ctx.c | 519 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_geninfo_ITAV() argument 525 return OSSL_CMP_ITAV_push0_stack_item(&ctx->geninfo_ITAVs, itav); in OSSL_CMP_CTX_push0_geninfo_ITAV() 542 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in DEFINE_OSSL_CMP_CTX_get0() 548 return OSSL_CMP_ITAV_push0_stack_item(&ctx->genm_ITAVs, itav); in DEFINE_OSSL_CMP_CTX_get0()
|
H A D | cmp_local.h | 900 OSSL_CMP_ITAV *itav); 965 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
|
/openssl/doc/man3/ |
H A D | OSSL_CMP_ITAV_set0.pod | 19 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type, 21 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav); 22 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav); 24 OSSL_CMP_ITAV *itav); 27 int OSSL_CMP_ITAV_get0_certProfile(const OSSL_CMP_ITAV *itav, 44 I<itav>. 47 the I<itav> as generic B<ASN1_TYPE> pointer. 101 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, val); 102 if (itav == NULL) ... 104 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { [all …]
|
H A D | OSSL_CMP_ITAV_new_caCerts.pod | 30 int OSSL_CMP_ITAV_get0_rootCaCert(const OSSL_CMP_ITAV *itav, X509 **out); 34 int OSSL_CMP_ITAV_get0_rootCaKeyUpdate(const OSSL_CMP_ITAV *itav, 49 int OSSL_CMP_ITAV_get0_crlStatusList(const OSSL_CMP_ITAV *itav, 56 int OSSL_CMP_ITAV_get1_certReqTemplate(const OSSL_CMP_ITAV *itav, 68 OSSL_CMP_ITAV_get0_caCerts() requires that I<itav> has type B<caCerts>. 85 OSSL_CMP_ITAV_get0_rootCaKeyUpdate() requires that I<itav> has infoType 123 requires that I<itav> has type B<certReqTemplate>. 125 with a certificate template value is in I<itav>, 163 It is an error if the infoType of I<itav> is not B<crlStatusList>. 170 the list of CRLs contained in the infoValue field of I<itav>. [all …]
|
H A D | OSSL_CMP_ATAV_set0.pod | 53 is transferred to I<atav>. The I<itav> pointer must not be NULL.
|
H A D | OSSL_CMP_CTX_new.pod | 129 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav); 151 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav); 560 OSSL_CMP_CTX_push0_geninfo_ITAV() adds I<itav> to the stack in the I<ctx> to be 640 OSSL_CMP_CTX_push0_genm_ITAV() adds I<itav> to the stack in the I<ctx> which 843 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); 844 OSSL_CMP_CTX_push0_genm_ITAV(cmp_ctx, itav);
|
/openssl/test/ |
H A D | cmp_hdr_test.c | 312 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(); in execute_HDR_generalInfo_push0_item_test() local 314 if (!TEST_ptr(itav)) in execute_HDR_generalInfo_push0_item_test() 317 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push0_item(fixture->hdr, itav), in execute_HDR_generalInfo_push0_item_test() 321 if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo, in execute_HDR_generalInfo_push0_item_test() 341 OSSL_CMP_ITAV *itav, *pushed_itav; in execute_HDR_generalInfo_push1_items_test() local 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 execute_HDR_generalInfo_push1_items_test()
|
H A D | cmp_client_test.c | 105 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); in execute_exec_GENM_ses_test_single() local 108 OSSL_CMP_CTX_push0_genm_ITAV(ctx, itav); in execute_exec_GENM_ses_test_single()
|
/openssl/include/openssl/ |
H A D | cmp.h.in | 272 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type, 274 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav); 275 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav); 277 OSSL_CMP_ITAV *itav); 278 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav); 282 int OSSL_CMP_ITAV_get0_certProfile(const OSSL_CMP_ITAV *itav, 292 int OSSL_CMP_ITAV_get0_rootCaKeyUpdate(const OSSL_CMP_ITAV *itav, 308 int OSSL_CMP_ITAV_get0_crlStatusList(const OSSL_CMP_ITAV *itav, 320 void OSSL_CMP_ATAV_set0(OSSL_CMP_ATAV *itav, ASN1_OBJECT *type, 322 ASN1_OBJECT *OSSL_CMP_ATAV_get0_type(const OSSL_CMP_ATAV *itav); [all …]
|
/openssl/doc/internal/man3/ |
H 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
|
H 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/apps/lib/ |
H A D | cmp_mock_srv.c | 311 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i); in process_cert_request() local 312 ASN1_OBJECT *obj = OSSL_CMP_ITAV_get0_type(itav); in process_cert_request() 318 if (!OSSL_CMP_ITAV_get0_certProfile(itav, &strs)) in process_cert_request()
|
/openssl/apps/ |
H A D | cmp.c | 1962 OSSL_CMP_ITAV *itav = NULL; in add_certProfile() local 1979 if ((itav = OSSL_CMP_ITAV_new0_certProfile(sk)) == NULL) in add_certProfile() 1981 if (OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) in add_certProfile() 1983 OSSL_CMP_ITAV_free(itav); in add_certProfile() 1998 OSSL_CMP_ITAV *itav; in handle_opt_geninfo() local 2059 if ((itav = OSSL_CMP_ITAV_create(obj, type)) == NULL) { in handle_opt_geninfo() 2066 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { in handle_opt_geninfo() 2068 OSSL_CMP_ITAV_free(itav); in handle_opt_geninfo() 2505 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i - 1); in print_itavs() local 2506 ASN1_OBJECT *type = OSSL_CMP_ITAV_get0_type(itav); in print_itavs() [all …]
|
/openssl/crypto/err/ |
H A D | openssl.txt | 240 CMP_R_GET_ITAV:199:get itav
|