| /src/crypto/external/apache2/openssl/dist/crypto/cmp/ |
| cmp_asn.c | 69 /* ITAV means InfoTypeAndValue */ 174 OSSL_CMP_ITAV *itav; 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, 185 itav->infoType = type; 186 itav->infoValue.other = value; 189 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav) 191 if (itav == NULL [all...] |
| cmp_hdr.c | 169 OSSL_CMP_ITAV *itav) 171 if (!ossl_assert(hdr != NULL && itav != NULL)) 173 return OSSL_CMP_ITAV_push0_stack_item(&hdr->generalInfo, itav); 180 OSSL_CMP_ITAV *itav; local 186 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); 187 if (itav == NULL) 190 if (!ossl_cmp_hdr_generalInfo_push0_item(hdr, itav)) { 191 OSSL_CMP_ITAV_free(itav); 200 OSSL_CMP_ITAV *itav; local 208 if ((itav = OSSL_CMP_ITAV_create(OBJ_nid2obj(NID_id_it_implicitConfirm) 227 OSSL_CMP_ITAV *itav; local [all...] |
| cmp_genm.c | 111 "response on genm contains %d ITAVs; will use the first ITAV with infoType id-it-%s", 114 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_shift(itavs); local 115 ASN1_OBJECT *obj = OSSL_CMP_ITAV_get0_type(itav); 123 return itav; 129 OSSL_CMP_ITAV_free(itav); 132 "could not find any ITAV for %s", desc); 142 OSSL_CMP_ITAV *req, *itav; local 154 if ((itav = get_genm_itav(ctx, req, NID_id_it_caCerts, "caCerts")) == NULL) 156 if (!OSSL_CMP_ITAV_get0_caCerts(itav, &certs)) 176 OSSL_CMP_ITAV_free(itav); 289 OSSL_CMP_ITAV *req, *itav; local 351 OSSL_CMP_ITAV *req = NULL, *itav = NULL; local 409 OSSL_CMP_ITAV *req, *itav = NULL; local [all...] |
| cmp_msg.c | 722 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) 726 if (!ossl_assert(msg != NULL && itav != NULL)) 737 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); 744 OSSL_CMP_ITAV *itav = NULL; local 750 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); 751 if (itav == NULL 752 || !ossl_cmp_msg_gen_push0_ITAV(msg, itav)) { 753 OSSL_CMP_ITAV_free(itav); 761 * Creates a new General Message/Response with a copy of the given itav stack
|
| cmp_ctx.c | 519 /* Add an ITAV for geninfo of the PKI message header */ 520 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) 526 return OSSL_CMP_ITAV_push0_stack_item(&ctx->geninfo_ITAVs, itav); 542 /* Add an itav for the body of outgoing general messages */ 543 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) 549 return OSSL_CMP_ITAV_push0_stack_item(&ctx->genm_ITAVs, itav);
|
| 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/external/bsd/openssl/dist/crypto/cmp/ |
| cmp_hdr.c | 189 OSSL_CMP_ITAV *itav) 191 if (!ossl_assert(hdr != NULL && itav != NULL)) 193 return OSSL_CMP_ITAV_push0_stack_item(&hdr->generalInfo, itav); 200 OSSL_CMP_ITAV *itav; local 206 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); 207 if (itav == NULL) 210 if (!ossl_cmp_hdr_generalInfo_push0_item(hdr, itav)) { 211 OSSL_CMP_ITAV_free(itav); 220 OSSL_CMP_ITAV *itav; local 228 if ((itav = OSSL_CMP_ITAV_create(OBJ_nid2obj(NID_id_it_implicitConfirm) 246 OSSL_CMP_ITAV *itav; local [all...] |
| cmp_asn.c | 79 /* ITAV means InfoTypeAndValue */ 135 OSSL_CMP_ITAV *itav; 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, 146 itav->infoType = type; 147 itav->infoValue.other = value; 150 ASN1_OBJECT *OSSL_CMP_ITAV_get0_type(const OSSL_CMP_ITAV *itav) 152 if (itav == NULL [all...] |
| cmp_msg.c | 637 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) 641 if (!ossl_assert(msg != NULL && itav != NULL)) 652 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); 659 OSSL_CMP_ITAV *itav = NULL; local 665 itav = OSSL_CMP_ITAV_dup(sk_OSSL_CMP_ITAV_value(itavs, i)); 666 if (itav == NULL 667 || !ossl_cmp_msg_gen_push0_ITAV(msg, itav)) { 668 OSSL_CMP_ITAV_free(itav); 676 * Creates a new General Message/Response with an empty itav stack
|
| cmp_ctx.c | 565 /* Add an ITAV for geninfo of the PKI message header */ 566 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) 572 return OSSL_CMP_ITAV_push0_stack_item(&ctx->geninfo_ITAVs, itav); 586 /* Add an itav for the body of outgoing general messages */ 587 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) 593 return OSSL_CMP_ITAV_push0_stack_item(&ctx->genm_ITAVs, itav);
|
| cmp_local.h | 815 OSSL_CMP_ITAV *itav); 880 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
|
| /src/crypto/external/apache2/openssl/dist/include/openssl/ |
| 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...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| cmp_hdr_test.c | 316 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(); local 318 if (!TEST_ptr(itav)) 321 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push0_item(fixture->hdr, itav), 325 if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo, 0))) 344 OSSL_CMP_ITAV *itav, *pushed_itav; local 361 if (!TEST_ptr(itav = OSSL_CMP_ITAV_create(OBJ_txt2obj(oid, 1), val))) { 365 if (!TEST_true(OSSL_CMP_ITAV_push0_stack_item(&itavs, itav))) { 366 OSSL_CMP_ITAV_free(itav); 380 if (!TEST_int_eq(ASN1_TYPE_cmp(itav->infoValue.other, pushed_val), 0))
|
| cmp_client_test.c | 104 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); local 107 OSSL_CMP_CTX_push0_genm_ITAV(ctx, itav);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| cmp_hdr_test.c | 312 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(); local 314 if (!TEST_ptr(itav)) 317 if (!TEST_int_eq(ossl_cmp_hdr_generalInfo_push0_item(fixture->hdr, itav), 321 if (!TEST_true(itav == sk_OSSL_CMP_ITAV_value(fixture->hdr->generalInfo, 341 OSSL_CMP_ITAV *itav, *pushed_itav; local 358 if (!TEST_ptr(itav = OSSL_CMP_ITAV_create(OBJ_txt2obj(oid, 1), val))) { 362 if (!TEST_true(OSSL_CMP_ITAV_push0_stack_item(&itavs, itav))) { 363 OSSL_CMP_ITAV_free(itav); 377 if (!TEST_int_eq(ASN1_TYPE_cmp(itav->infoValue.other, pushed_val), 0))
|
| cmp_client_test.c | 106 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); local 109 OSSL_CMP_CTX_push0_genm_ITAV(ctx, itav);
|
| /src/crypto/external/bsd/openssl/dist/include/openssl/ |
| cmp.h.in | 255 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);
|
| /src/crypto/external/apache2/openssl/dist/apps/lib/ |
| cmp_mock_srv.c | 327 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i); local 328 ASN1_OBJECT *obj = OSSL_CMP_ITAV_get0_type(itav); 334 if (!OSSL_CMP_ITAV_get0_certProfile(itav, &strs))
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| cmp.c | 1782 OSSL_CMP_ITAV *itav; local 1820 itav = OSSL_CMP_ITAV_create(type, val); 1821 if (itav == NULL) { 1826 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { 1827 OSSL_CMP_ITAV_free(itav); 2084 OSSL_CMP_ITAV *itav = NULL; local 2090 CMP_info("genp contains no ITAV"); 2095 itav = sk_OSSL_CMP_ITAV_value(itavs, i); 2096 r = OBJ_obj2txt(buf, 128, OSSL_CMP_ITAV_get0_type(itav), 0); 2098 CMP_err("could not get ITAV details") 2996 OSSL_CMP_ITAV *itav = local [all...] |
| /src/crypto/external/apache2/openssl/dist/apps/ |
| cmp.c | 2080 OSSL_CMP_ITAV *itav = NULL; local 2097 if ((itav = OSSL_CMP_ITAV_new0_certProfile(sk)) == NULL) 2099 if (OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) 2101 OSSL_CMP_ITAV_free(itav); 2116 OSSL_CMP_ITAV *itav; local 2177 if ((itav = OSSL_CMP_ITAV_create(obj, type)) == NULL) { 2184 if (!OSSL_CMP_CTX_push0_geninfo_ITAV(ctx, itav)) { 2185 CMP_err("Failed to add ITAV for geninfo of the PKI message header"); 2186 OSSL_CMP_ITAV_free(itav); 2619 CMP_info("genp does not contain any ITAV"); 2624 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i - 1); local [all...] |