| /src/crypto/openssl/crypto/cmp/ |
| H A D | cmp_asn.c | 174 OSSL_CMP_ITAV *itav; variable 176 if (type == NULL || (itav = OSSL_CMP_ITAV_new()) == NULL) 178 OSSL_CMP_ITAV_set0(itav, type, value); 179 return itav; 182 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type, in OSSL_CMP_ITAV_set0() argument 185 itav->infoType = type; in OSSL_CMP_ITAV_set0() 186 itav->infoValue.other = value; in OSSL_CMP_ITAV_set0() 189 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav) in OSSL_CMP_ITAV_get0_type() argument 191 if (itav == NULL) in OSSL_CMP_ITAV_get0_type() 193 return itav->infoType; in OSSL_CMP_ITAV_get0_type() [all …]
|
| H A D | cmp_hdr.c | 169 OSSL_CMP_ITAV *itav) in ossl_cmp_hdr_generalInfo_push0_item() argument 171 if (!ossl_assert(hdr != NULL && itav != NULL)) in ossl_cmp_hdr_generalInfo_push0_item() 173 return OSSL_CMP_ITAV_push0_stack_item(&hdr->generalInfo, itav); in ossl_cmp_hdr_generalInfo_push0_item() 180 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_generalInfo_push1_items() local 186 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_hdr_generalInfo_push1_items() 187 if (itav == NULL) in ossl_cmp_hdr_generalInfo_push1_items() 190 if (!ossl_cmp_hdr_generalInfo_push0_item(hdr, itav)) { in ossl_cmp_hdr_generalInfo_push1_items() 191 OSSL_CMP_ITAV_free(itav); in ossl_cmp_hdr_generalInfo_push1_items() 200 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_set_implicitConfirm() local 208 if ((itav = OSSL_CMP_ITAV_create(OBJ_nid2obj(NID_id_it_implicitConfirm), in ossl_cmp_hdr_set_implicitConfirm() [all …]
|
| H A D | cmp_genm.c | 114 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_shift(itavs); in get_genm_itav() local 115 ASN1_OBJECT *obj = OSSL_CMP_ITAV_get0_type(itav); in get_genm_itav() 123 return itav; in get_genm_itav() 129 OSSL_CMP_ITAV_free(itav); in get_genm_itav() 142 OSSL_CMP_ITAV *req, *itav; in OSSL_CMP_get1_caCerts() local 154 if ((itav = get_genm_itav(ctx, req, NID_id_it_caCerts, "caCerts")) == NULL) in OSSL_CMP_get1_caCerts() 156 if (!OSSL_CMP_ITAV_get0_caCerts(itav, &certs)) in OSSL_CMP_get1_caCerts() 176 OSSL_CMP_ITAV_free(itav); in OSSL_CMP_get1_caCerts() 289 OSSL_CMP_ITAV *req, *itav; in OSSL_CMP_get1_rootCaKeyUpdate() local 300 itav = get_genm_itav(ctx, req, NID_id_it_rootCaKeyUpdate, "rootCaKeyUpdate"); in OSSL_CMP_get1_rootCaKeyUpdate() [all …]
|
| H A D | cmp_msg.c | 722 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) in ossl_cmp_msg_gen_push0_ITAV() argument 726 if (!ossl_assert(msg != NULL && itav != NULL)) in ossl_cmp_msg_gen_push0_ITAV() 737 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); in ossl_cmp_msg_gen_push0_ITAV() 744 OSSL_CMP_ITAV *itav = NULL; in ossl_cmp_msg_gen_push1_ITAVs() local 750 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); in ossl_cmp_msg_gen_push1_ITAVs() 751 if (itav == NULL in ossl_cmp_msg_gen_push1_ITAVs() 752 || !ossl_cmp_msg_gen_push0_ITAV(msg, itav)) { in ossl_cmp_msg_gen_push1_ITAVs() 753 OSSL_CMP_ITAV_free(itav); in ossl_cmp_msg_gen_push1_ITAVs()
|
| H A D | cmp_ctx.c | 520 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_geninfo_ITAV() argument 526 return OSSL_CMP_ITAV_push0_stack_item(&ctx->geninfo_ITAVs, itav); in OSSL_CMP_CTX_push0_geninfo_ITAV() 543 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in DEFINE_OSSL_CMP_CTX_get0() 549 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); 966 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
|
| /src/crypto/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, 39 OSSL_CMP_ITAV_set0() sets the I<itav> with an infoType of I<type> and an 44 I<itav>. 47 the I<itav> as generic B<ASN1_TYPE> pointer. 49 OSSL_CMP_ITAV_push0_stack_item() pushes I<itav> to the stack pointed to 58 list of certificate profile names contained in the infoValue field of I<itav>. [all …]
|
| H A D | OSSL_CMP_ITAV_new_caCerts.pod | 27 int OSSL_CMP_ITAV_get0_caCerts(const OSSL_CMP_ITAV *itav, STACK_OF(X509) **out); 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, 52 int OSSL_CMP_ITAV_get0_crls(const OSSL_CMP_ITAV *itav, STACK_OF(X509_CRL) **out); 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>. 69 It assigns NULL to I<*out> if there are no CA certificates in I<itav>, otherwise 75 OSSL_CMP_ITAV_get0_rootCaCert() requires that I<itav> has type B<rootCaCert>. 76 It assigns NULL to I<*out> if no certificate is included in I<itav>, otherwise [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); 567 OSSL_CMP_CTX_push0_geninfo_ITAV() adds I<itav> to the stack in the I<ctx> to be 647 OSSL_CMP_CTX_push0_genm_ITAV() adds I<itav> to the stack in the I<ctx> which 850 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); 851 OSSL_CMP_CTX_push0_genm_ITAV(cmp_ctx, itav);
|
| /src/crypto/openssl/test/ |
| H A D | cmp_hdr_test.c | 316 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(); in execute_HDR_generalInfo_push0_item_test() local 318 if (!TEST_ptr(itav)) in execute_HDR_generalInfo_push0_item_test() 321 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push0_item(fixture->hdr, itav), in execute_HDR_generalInfo_push0_item_test() 325 if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo, 0))) in execute_HDR_generalInfo_push0_item_test() 344 OSSL_CMP_ITAV *itav, *pushed_itav; in execute_HDR_generalInfo_push1_items_test() local 361 if (!TEST_ptr(itav = OSSL_CMP_ITAV_create(OBJ_txt2obj(oid, 1), val))) { in execute_HDR_generalInfo_push1_items_test() 365 if (!TEST_true(OSSL_CMP_ITAV_push0_stack_item(&itavs, itav))) { in execute_HDR_generalInfo_push1_items_test() 366 OSSL_CMP_ITAV_free(itav); in execute_HDR_generalInfo_push1_items_test() 380 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 | 104 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); in execute_exec_GENM_ses_test_single() local 107 OSSL_CMP_CTX_push0_genm_ITAV(ctx, itav); in execute_exec_GENM_ses_test_single()
|
| /src/crypto/openssl/include/openssl/ |
| H A D | cmp.h.in | 286 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type, 288 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav); 289 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav); 291 OSSL_CMP_ITAV *itav); 292 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav); 296 int OSSL_CMP_ITAV_get0_certProfile(const OSSL_CMP_ITAV *itav, 299 int OSSL_CMP_ITAV_get0_caCerts(const OSSL_CMP_ITAV *itav, STACK_OF(X509) **out); 302 int OSSL_CMP_ITAV_get0_rootCaCert(const OSSL_CMP_ITAV *itav, X509 **out); 306 int OSSL_CMP_ITAV_get0_rootCaKeyUpdate(const OSSL_CMP_ITAV *itav, 322 int OSSL_CMP_ITAV_get0_crlStatusList(const OSSL_CMP_ITAV *itav, [all …]
|
| H A D | cmp.h | 429 void OSSL_CMP_ITAV_set0(OSSL_CMP_ITAV *itav, ASN1_OBJECT *type, 431 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav); 432 ASN1_TYPE *OSSL_CMP_ITAV_get0_value(const OSSL_CMP_ITAV *itav); 434 OSSL_CMP_ITAV *itav); 435 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav); 439 int OSSL_CMP_ITAV_get0_certProfile(const OSSL_CMP_ITAV *itav, 442 int OSSL_CMP_ITAV_get0_caCerts(const OSSL_CMP_ITAV *itav, STACK_OF(X509) **out); 445 int OSSL_CMP_ITAV_get0_rootCaCert(const OSSL_CMP_ITAV *itav, X509 **out); 449 int OSSL_CMP_ITAV_get0_rootCaKeyUpdate(const OSSL_CMP_ITAV *itav, 465 int OSSL_CMP_ITAV_get0_crlStatusList(const OSSL_CMP_ITAV *itav, [all …]
|
| /src/crypto/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.
|
| /src/crypto/openssl/apps/lib/ |
| H A D | cmp_mock_srv.c | 327 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i); in process_cert_request() local 328 ASN1_OBJECT *obj = OSSL_CMP_ITAV_get0_type(itav); in process_cert_request() 334 if (!OSSL_CMP_ITAV_get0_certProfile(itav, &strs)) in process_cert_request()
|
| /src/crypto/openssl/apps/ |
| H A D | cmp.c | 2080 OSSL_CMP_ITAV *itav = NULL; in add_certProfile() local 2097 if ((itav = OSSL_CMP_ITAV_new0_certProfile(sk)) == NULL) in add_certProfile() 2099 if (OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) in add_certProfile() 2101 OSSL_CMP_ITAV_free(itav); in add_certProfile() 2116 OSSL_CMP_ITAV *itav; in handle_opt_geninfo() local 2177 if ((itav = OSSL_CMP_ITAV_create(obj, type)) == NULL) { in handle_opt_geninfo() 2184 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { in handle_opt_geninfo() 2186 OSSL_CMP_ITAV_free(itav); in handle_opt_geninfo() 2624 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i - 1); in print_itavs() local 2625 ASN1_OBJECT *type = OSSL_CMP_ITAV_get0_type(itav); in print_itavs() [all …]
|
| /src/crypto/openssl/crypto/err/ |
| H A D | openssl.txt | 241 CMP_R_GET_ITAV:199:get itav
|