Home
last modified time | relevance | path

Searched refs:OSSL_CMP_ITAV (Results 1 – 24 of 24) sorted by relevance

/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_asn.c66 ASN1_ADB_TEMPLATE(infotypeandvalue_default) = ASN1_OPT(OSSL_CMP_ITAV,
70 ASN1_ADB(OSSL_CMP_ITAV) = {
72 ADB_ENTRY(NID_id_it_caProtEncCert, ASN1_OPT(OSSL_CMP_ITAV, infoValue.caProtEncCert, X509)),
74 ASN1_SEQUENCE_OF_OPT(OSSL_CMP_ITAV,
77 ASN1_SEQUENCE_OF_OPT(OSSL_CMP_ITAV,
80 ASN1_OPT(OSSL_CMP_ITAV, infoValue.preferredSymmAlg,
83 ASN1_OPT(OSSL_CMP_ITAV, infoValue.caKeyUpdateInfo,
86 ASN1_OPT(OSSL_CMP_ITAV, infoValue.currentCRL, X509_CRL)),
88 ASN1_SEQUENCE_OF_OPT(OSSL_CMP_ITAV,
91 ASN1_OPT(OSSL_CMP_ITAV, infoValue.keyPairParamReq,
[all …]
H A Dcmp_hdr.c74 STACK_OF(OSSL_CMP_ITAV) in STACK_OF() argument
169 OSSL_CMP_ITAV *itav) in ossl_cmp_hdr_generalInfo_push0_item()
177 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_hdr_generalInfo_push1_items()
180 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_generalInfo_push1_items()
200 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_set_implicitConfirm()
227 OSSL_CMP_ITAV *itav; in ossl_cmp_hdr_has_implicitConfirm()
H A Dcmp_local.h101 STACK_OF(OSSL_CMP_ITAV) *geninfo_ITAVs;
125 STACK_OF(OSSL_CMP_ITAV) *genm_ITAVs; /* content of general message */
308 DECLARE_ASN1_FUNCTIONS(OSSL_CMP_ITAV)
550 STACK_OF(OSSL_CMP_ITAV) *generalInfo; /* 8 */
561 typedef STACK_OF(OSSL_CMP_ITAV) OSSL_CMP_GENMSGCONTENT;
563 typedef STACK_OF(OSSL_CMP_ITAV) OSSL_CMP_GENREPCONTENT;
900 OSSL_CMP_ITAV *itav);
902 const STACK_OF(OSSL_CMP_ITAV) *itavs);
966 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav);
968 const STACK_OF(OSSL_CMP_ITAV) *itavs);
[all …]
H A Dcmp_genm.c74 static OSSL_CMP_ITAV *get_genm_itav(OSSL_CMP_CTX *ctx, in get_genm_itav()
75 OSSL_CMP_ITAV *req, /* gets consumed */ in get_genm_itav()
78 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL; in get_genm_itav()
114 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_shift(itavs); in get_genm_itav()
142 OSSL_CMP_ITAV *req, *itav; in OSSL_CMP_get1_caCerts()
289 OSSL_CMP_ITAV *req, *itav; in OSSL_CMP_get1_rootCaKeyUpdate()
351 OSSL_CMP_ITAV *req = NULL, *itav = NULL; in OSSL_CMP_get1_crlUpdate()
409 OSSL_CMP_ITAV *req, *itav = NULL; in OSSL_CMP_get1_certReqTemplate()
H A Dcmp_msg.c722 int ossl_cmp_msg_gen_push0_ITAV(OSSL_CMP_MSG *msg, OSSL_CMP_ITAV *itav) in ossl_cmp_msg_gen_push0_ITAV()
741 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_msg_gen_push1_ITAVs()
744 OSSL_CMP_ITAV *itav = NULL; in ossl_cmp_msg_gen_push1_ITAVs()
765 const STACK_OF(OSSL_CMP_ITAV) *itavs, in gen_new()
797 const STACK_OF(OSSL_CMP_ITAV) *itavs) in ossl_cmp_genp_new()
H A Dcmp_ctx.c520 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in OSSL_CMP_CTX_push0_geninfo_ITAV()
540 DEFINE_OSSL_CMP_CTX_get0(geninfo_ITAVs, STACK_OF(OSSL_CMP_ITAV)) in DEFINE_OSSL_CMP_CTX_get0() argument
543 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav) in DEFINE_OSSL_CMP_CTX_get0()
H A Dcmp_client.c1026 STACK_OF(OSSL_CMP_ITAV) *OSSL_CMP_exec_GENM_ses(OSSL_CMP_CTX *ctx) in STACK_OF() argument
1030 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL; in STACK_OF()
/freebsd/crypto/openssl/include/openssl/
H A Dcmp.h253 typedef struct ossl_cmp_itav_st OSSL_CMP_ITAV; typedef
254 DECLARE_ASN1_DUP_FUNCTION(OSSL_CMP_ITAV)
256 SKM_DEFINE_STACK_OF_INTERNAL(OSSL_CMP_ITAV, OSSL_CMP_ITAV, OSSL_CMP_ITAV)
258 #define sk_OSSL_CMP_ITAV_value(sk, idx) ((OSSL_CMP_ITAV *)OPENSSL_sk_value(ossl_check_const_OSSL_CM…
259 #define sk_OSSL_CMP_ITAV_new(cmp) ((STACK_OF(OSSL_CMP_ITAV) *)OPENSSL_sk_new(ossl_check_OSSL_CMP_IT…
260 #define sk_OSSL_CMP_ITAV_new_null() ((STACK_OF(OSSL_CMP_ITAV) *)OPENSSL_sk_new_null())
261 #define sk_OSSL_CMP_ITAV_new_reserve(cmp, n) ((STACK_OF(OSSL_CMP_ITAV) *)OPENSSL_sk_new_reserve(oss…
265 #define sk_OSSL_CMP_ITAV_delete(sk, i) ((OSSL_CMP_ITAV *)OPENSSL_sk_delete(ossl_check_OSSL_CMP_ITAV…
266 #define sk_OSSL_CMP_ITAV_delete_ptr(sk, ptr) ((OSSL_CMP_ITAV *)OPENSSL_sk_delete_ptr(ossl_check_OSS…
269 #define sk_OSSL_CMP_ITAV_pop(sk) ((OSSL_CMP_ITAV *)OPENSSL_sk_pop(ossl_check_OSSL_CMP_ITAV_sk_type(…
[all …]
H A Dcmp.h.in230 typedef struct ossl_cmp_itav_st OSSL_CMP_ITAV; typedef
231 DECLARE_ASN1_DUP_FUNCTION(OSSL_CMP_ITAV) argument
234 generate_stack_macros("OSSL_CMP_ITAV");
285 OSSL_CMP_ITAV *OSSL_CMP_ITAV_create(ASN1_OBJECT *type, ASN1_TYPE *value);
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);
290 int OSSL_CMP_ITAV_push0_stack_item(STACK_OF(OSSL_CMP_ITAV) **sk_p,
291 OSSL_CMP_ITAV *itav);
292 void OSSL_CMP_ITAV_free(OSSL_CMP_ITAV *itav);
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_CMP_ITAV_set0.pod12 - OSSL_CMP_ITAV utility functions
18 OSSL_CMP_ITAV *OSSL_CMP_ITAV_create(ASN1_OBJECT *type, ASN1_TYPE *value);
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);
23 int OSSL_CMP_ITAV_push0_stack_item(STACK_OF(OSSL_CMP_ITAV) **itav_sk_p,
24 OSSL_CMP_ITAV *itav);
25 OSSL_CMP_ITAV
27 int OSSL_CMP_ITAV_get0_certProfile(const OSSL_CMP_ITAV *itav,
36 OSSL_CMP_ITAV_create() creates a new B<OSSL_CMP_ITAV> structure and fills it in.
[all …]
H A DOSSL_CMP_ITAV_new_caCerts.pod26 OSSL_CMP_ITAV *OSSL_CMP_ITAV_new_caCerts(const STACK_OF(X509) *caCerts);
27 int OSSL_CMP_ITAV_get0_caCerts(const OSSL_CMP_ITAV *itav, STACK_OF(X509) **out);
29 OSSL_CMP_ITAV *OSSL_CMP_ITAV_new_rootCaCert(const X509 *rootCaCert);
30 int OSSL_CMP_ITAV_get0_rootCaCert(const OSSL_CMP_ITAV *itav, X509 **out);
31 OSSL_CMP_ITAV *OSSL_CMP_ITAV_new_rootCaKeyUpdate(const X509 *newWithNew,
34 int OSSL_CMP_ITAV_get0_rootCaKeyUpdate(const OSSL_CMP_ITAV *itav,
47 OSSL_CMP_ITAV
49 int OSSL_CMP_ITAV_get0_crlStatusList(const OSSL_CMP_ITAV *itav,
51 OSSL_CMP_ITAV *OSSL_CMP_ITAV_new_crls(const X509_CRL *crl);
52 int OSSL_CMP_ITAV_get0_crls(const OSSL_CMP_ITAV *itav, STACK_OF(X509_CRL) **out);
[all …]
H A DOSSL_CMP_HDR_get0_transactionID.pod18 STACK_OF(OSSL_CMP_ITAV)
H A DOSSL_CMP_SRV_CTX_new.pod53 STACK_OF(OSSL_CMP_ITAV) *in,
54 STACK_OF(OSSL_CMP_ITAV) **out);
H A DOSSL_CMP_CTX_new.pod129 int OSSL_CMP_CTX_push0_geninfo_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
131 STACK_OF(OSSL_CMP_ITAV)
151 int OSSL_CMP_CTX_push0_genm_ITAV(OSSL_CMP_CTX *ctx, OSSL_CMP_ITAV *itav);
850 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL);
853 STACK_OF(OSSL_CMP_ITAV) *itavs;
H A DOSSL_CMP_exec_certreq.pod41 STACK_OF(OSSL_CMP_ITAV) *OSSL_CMP_exec_GENM_ses(OSSL_CMP_CTX *ctx);
/freebsd/crypto/openssl/apps/lib/
H A Dcmp_mock_srv.c323 …STACK_OF(OSSL_CMP_ITAV) *itavs = OSSL_CMP_HDR_get0_geninfo_ITAVs(OSSL_CMP_MSG_get0_header(cert_req… in process_cert_request()
327 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i); in process_cert_request()
482 static OSSL_CMP_ITAV *process_genm_itav(mock_srv_ctx *ctx, int req_nid, in process_genm_itav()
483 const OSSL_CMP_ITAV *req) in process_genm_itav()
485 OSSL_CMP_ITAV *rsp = NULL; in process_genm_itav()
569 const STACK_OF(OSSL_CMP_ITAV) *in, in process_genm()
570 STACK_OF(OSSL_CMP_ITAV) **out) in process_genm()
585 OSSL_CMP_ITAV *req = sk_OSSL_CMP_ITAV_value(in, 0), *rsp; in process_genm()
/freebsd/crypto/openssl/fuzz/
H A Dcmp.c126 const STACK_OF(OSSL_CMP_ITAV) *in, in process_genm()
127 STACK_OF(OSSL_CMP_ITAV) **out) in process_genm()
/freebsd/crypto/openssl/test/
H A Dcmp_hdr_test.c316 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_new(); in execute_HDR_generalInfo_push0_item_test()
344 OSSL_CMP_ITAV *itav, *pushed_itav; in execute_HDR_generalInfo_push1_items_test()
345 STACK_OF(OSSL_CMP_ITAV) *itavs = NULL, *ginfo; in execute_HDR_generalInfo_push1_items_test()
H A Dcmp_client_test.c104 OSSL_CMP_ITAV *itav = OSSL_CMP_ITAV_create(type, NULL); in execute_exec_GENM_ses_test_single()
105 STACK_OF(OSSL_CMP_ITAV) *itavs; in execute_exec_GENM_ses_test_single()
H A Dcmp_ctx_test.c779 DEFINE_PUSH_TEST(0, 0, geninfo_ITAVs, geninfo_ITAV, OSSL_CMP_ITAV) in DEFINE_SET_CB_TEST()
801 DEFINE_PUSH_TEST(0, 0, genm_ITAVs, genm_ITAV, OSSL_CMP_ITAV) in DEFINE_SET_CB_TEST()
H A Dcmp_msg_test.c360 OSSL_CMP_ITAV *iv = NULL; in test_cmp_create_genm()
/freebsd/crypto/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);
78 STACK_OF(OSSL_CMP_ITAV) *itavs);
H A Dossl_cmp_hdr_init.pod41 OSSL_CMP_ITAV *itav);
43 STACK_OF(OSSL_CMP_ITAV) *itavs);
/freebsd/crypto/openssl/apps/
H A Dcmp.c2080 OSSL_CMP_ITAV *itav = NULL; in add_certProfile()
2116 OSSL_CMP_ITAV *itav; in handle_opt_geninfo()
2613 static int print_itavs(const STACK_OF(OSSL_CMP_ITAV) *itavs) in print_itavs()
2624 OSSL_CMP_ITAV *itav = sk_OSSL_CMP_ITAV_value(itavs, i - 1); in print_itavs()
3607 OSSL_CMP_ITAV *req; in do_genm()
3608 STACK_OF(OSSL_CMP_ITAV) *itavs; in do_genm()