Home
last modified time | relevance | path

Searched refs:STACK_OF (Results 1 – 25 of 227) sorted by relevance

12345678910

/external/boringssl/src/include/openssl/
Dstack.h125 #define STACK_OF(type) struct stack_st_##type macro
127 #define DECLARE_STACK_OF(type) STACK_OF(type);
266 struct StackTraits<STACK_OF(name)> { \
303 OPENSSL_INLINE STACK_OF(name) * \
305 return (STACK_OF(name) *)sk_new((stack_cmp_func)comp); \
308 OPENSSL_INLINE STACK_OF(name) *sk_##name##_new_null(void) { \
309 return (STACK_OF(name) *)sk_new_null(); \
312 OPENSSL_INLINE size_t sk_##name##_num(const STACK_OF(name) *sk) { \
316 OPENSSL_INLINE void sk_##name##_zero(STACK_OF(name) *sk) { \
320 OPENSSL_INLINE ptrtype sk_##name##_value(const STACK_OF(name) *sk, \
[all …]
Dx509v3.h86 typedef STACK_OF(CONF_VALUE) *(*X509V3_EXT_I2V)( typedef
88 STACK_OF(CONF_VALUE) *extlist);
91 STACK_OF(CONF_VALUE) *values);
130 STACK_OF(CONF_VALUE) *(*get_section)(void *db, const char *section);
132 void (*free_section)(void *db, STACK_OF(CONF_VALUE) *section);
211 typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES;
223 typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
225 typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE;
231 STACK_OF(X509_NAME_ENTRY) *relativename;
258 typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS;
[all …]
Dpkcs7.h43 STACK_OF(CRYPTO_BUFFER) *out_certs, CBS *cbs, CRYPTO_BUFFER_POOL *pool);
47 OPENSSL_EXPORT int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs);
52 CBB *out, const STACK_OF(X509) *certs);
60 OPENSSL_EXPORT int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs);
64 OPENSSL_EXPORT int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls);
72 OPENSSL_EXPORT int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs,
81 OPENSSL_EXPORT int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls,
92 STACK_OF(X509) *cert;
93 STACK_OF(X509_CRL) *crl;
97 STACK_OF(X509) *cert;
[all …]
Dx509_vfy.h155 STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */
174 typedef STACK_OF(X509) *(*X509_STORE_CTX_lookup_certs_fn)(X509_STORE_CTX *ctx, typedef
176 typedef STACK_OF(X509_CRL) *(*X509_STORE_CTX_lookup_crls_fn)(X509_STORE_CTX *ctx, typedef
187 STACK_OF(X509_OBJECT) *objs; /* Cache of all objects */
189 STACK_OF(X509) *additional_untrusted;
192 STACK_OF(X509_LOOKUP) *get_cert_methods;
234 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */
235 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
257 STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */
436 OPENSSL_EXPORT int X509_OBJECT_idx_by_subject(STACK_OF(X509_OBJECT) *h, int type,
[all …]
Dx509.h116 typedef STACK_OF(X509_ALGOR) X509_ALGORS;
146 STACK_OF(X509_NAME_ENTRY) *entries;
162 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
173 /* 0 */ STACK_OF(ASN1_TYPE) *set;
188 STACK_OF(X509_ATTRIBUTE) *attributes; // [ 0 ]
208 STACK_OF(X509_EXTENSION) *extensions; // [ 3 ] optional in v3
218 STACK_OF(ASN1_OBJECT) *trust; // trusted uses
219 STACK_OF(ASN1_OBJECT) *reject; // rejected uses
222 STACK_OF(X509_ALGOR) *other; // other unspecified info
244 STACK_OF(DIST_POINT) *crldp;
[all …]
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dstack.h125 #define STACK_OF(type) struct stack_st_##type macro
127 #define DECLARE_STACK_OF(type) STACK_OF(type);
266 struct StackTraits<STACK_OF(name)> { \
303 OPENSSL_INLINE STACK_OF(name) * \
305 return (STACK_OF(name) *)sk_new((stack_cmp_func)comp); \
308 OPENSSL_INLINE STACK_OF(name) *sk_##name##_new_null(void) { \
309 return (STACK_OF(name) *)sk_new_null(); \
312 OPENSSL_INLINE size_t sk_##name##_num(const STACK_OF(name) *sk) { \
316 OPENSSL_INLINE void sk_##name##_zero(STACK_OF(name) *sk) { \
320 OPENSSL_INLINE ptrtype sk_##name##_value(const STACK_OF(name) *sk, \
[all …]
Dpkcs7.h43 STACK_OF(CRYPTO_BUFFER) *out_certs, CBS *cbs, CRYPTO_BUFFER_POOL *pool);
47 OPENSSL_EXPORT int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs);
52 CBB *out, const STACK_OF(X509) *certs);
60 OPENSSL_EXPORT int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs);
64 OPENSSL_EXPORT int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls);
72 OPENSSL_EXPORT int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs,
81 OPENSSL_EXPORT int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls,
92 STACK_OF(X509) *cert;
93 STACK_OF(X509_CRL) *crl;
97 STACK_OF(X509) *cert;
[all …]
Dx509v3.h86 typedef STACK_OF(CONF_VALUE) * typedef
88 STACK_OF(CONF_VALUE) *extlist);
91 STACK_OF(CONF_VALUE) *values);
130 STACK_OF(CONF_VALUE) * (*get_section)(void *db, char *section);
132 void (*free_section)(void *db, STACK_OF(CONF_VALUE) *section);
217 typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES;
229 typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
231 typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE;
237 STACK_OF(X509_NAME_ENTRY) *relativename;
264 typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS;
[all …]
Dx509_vfy.h155 STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */
174 typedef STACK_OF(X509) *(*X509_STORE_CTX_lookup_certs_fn)(X509_STORE_CTX *ctx, typedef
176 typedef STACK_OF(X509_CRL) *(*X509_STORE_CTX_lookup_crls_fn)(X509_STORE_CTX *ctx, typedef
187 STACK_OF(X509_OBJECT) *objs; /* Cache of all objects */
189 STACK_OF(X509) *additional_untrusted;
192 STACK_OF(X509_LOOKUP) *get_cert_methods;
234 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */
235 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
257 STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */
436 OPENSSL_EXPORT int X509_OBJECT_idx_by_subject(STACK_OF(X509_OBJECT) *h, int type,
[all …]
/external/boringssl/src/crypto/x509v3/
Dpcy_int.h77 STACK_OF(POLICYQUALINFO) *qualifier_set;
78 STACK_OF(ASN1_OBJECT) *expected_policy_set;
119 STACK_OF(X509_POLICY_DATA) *data;
153 STACK_OF(X509_POLICY_NODE) *nodes;
171 STACK_OF(X509_POLICY_DATA) *extra_data;
173 STACK_OF(X509_POLICY_NODE) *auth_policies;
174 STACK_OF(X509_POLICY_NODE) *user_policies;
196 STACK_OF(X509_POLICY_NODE) *policy_node_cmp_new(void);
206 X509_POLICY_NODE *tree_find_sk(STACK_OF(X509_POLICY_NODE) *sk,
Dv3_cpols.c77 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol,
79 static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method,
81 static void print_qualifiers(BIO *out, STACK_OF(POLICYQUALINFO) *quals,
85 STACK_OF(CONF_VALUE) *polstrs, int ia5org);
87 STACK_OF(CONF_VALUE) *unot, int ia5org);
88 static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos);
141 static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method,
144 STACK_OF(POLICYINFO) *pols = NULL;
148 STACK_OF(CONF_VALUE) *vals;
175 STACK_OF(CONF_VALUE) *polsect;
[all …]
Dv3_bcons.c68 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
70 STACK_OF(CONF_VALUE)
74 STACK_OF(CONF_VALUE) *values);
94 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
96 STACK_OF(CONF_VALUE)
106 STACK_OF(CONF_VALUE) *values) in v2i_BASIC_CONSTRAINTS()
Dv3_pcons.c68 static STACK_OF(CONF_VALUE) *i2v_POLICY_CONSTRAINTS(const X509V3_EXT_METHOD
69 *method, void *bcons, STACK_OF(CONF_VALUE)
73 STACK_OF(CONF_VALUE) *values);
93 static STACK_OF(CONF_VALUE) *i2v_POLICY_CONSTRAINTS(const X509V3_EXT_METHOD
94 *method, void *a, STACK_OF(CONF_VALUE)
107 STACK_OF(CONF_VALUE) *values) in v2i_POLICY_CONSTRAINTS()
Dv3_extku.c68 STACK_OF(CONF_VALUE) *nval);
69 static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD
70 *method, void *eku, STACK_OF(CONF_VALUE)
102 static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD in ASN1_ITEM_TEMPLATE()
103 *method, void *a, STACK_OF(CONF_VALUE) in ASN1_ITEM_TEMPLATE()
120 STACK_OF(CONF_VALUE) *nval) in v2i_EXTENDED_KEY_USAGE()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dpcy_int.h77 STACK_OF(POLICYQUALINFO) *qualifier_set;
78 STACK_OF(ASN1_OBJECT) *expected_policy_set;
119 STACK_OF(X509_POLICY_DATA) *data;
153 STACK_OF(X509_POLICY_NODE) *nodes;
171 STACK_OF(X509_POLICY_DATA) *extra_data;
173 STACK_OF(X509_POLICY_NODE) *auth_policies;
174 STACK_OF(X509_POLICY_NODE) *user_policies;
196 STACK_OF(X509_POLICY_NODE) *policy_node_cmp_new(void);
206 X509_POLICY_NODE *tree_find_sk(STACK_OF(X509_POLICY_NODE) *sk,
Dv3_cpols.c77 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol,
79 static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method,
81 static void print_qualifiers(BIO *out, STACK_OF(POLICYQUALINFO) *quals,
85 STACK_OF(CONF_VALUE) *polstrs, int ia5org);
87 STACK_OF(CONF_VALUE) *unot, int ia5org);
88 static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos);
141 static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method,
144 STACK_OF(POLICYINFO) *pols = NULL;
148 STACK_OF(CONF_VALUE) *vals;
175 STACK_OF(CONF_VALUE) *polsect;
[all …]
Dv3_pcons.c68 static STACK_OF(CONF_VALUE) *i2v_POLICY_CONSTRAINTS(const X509V3_EXT_METHOD
69 *method, void *bcons, STACK_OF(CONF_VALUE)
73 STACK_OF(CONF_VALUE) *values);
93 static STACK_OF(CONF_VALUE) *i2v_POLICY_CONSTRAINTS(const X509V3_EXT_METHOD
94 *method, void *a, STACK_OF(CONF_VALUE)
107 STACK_OF(CONF_VALUE) *values) in v2i_POLICY_CONSTRAINTS()
Dv3_bcons.c68 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
70 STACK_OF(CONF_VALUE)
74 STACK_OF(CONF_VALUE) *values);
94 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
96 STACK_OF(CONF_VALUE)
106 STACK_OF(CONF_VALUE) *values) in v2i_BASIC_CONSTRAINTS()
Dv3_extku.c68 STACK_OF(CONF_VALUE) *nval);
69 static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD
70 *method, void *eku, STACK_OF(CONF_VALUE)
102 static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD in ASN1_ITEM_TEMPLATE()
103 *method, void *a, STACK_OF(CONF_VALUE) in ASN1_ITEM_TEMPLATE()
120 STACK_OF(CONF_VALUE) *nval) in v2i_EXTENDED_KEY_USAGE()
/external/boringssl/src/crypto/x509/
Dx509_att.c65 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) in X509at_get_attr_count()
70 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, in X509at_get_attr_by_NID()
81 int X509at_get_attr_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *sk, in X509at_get_attr_by_OBJ()
101 X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_get_attr()
109 X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_delete_attr()
119 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() function
123 STACK_OF(X509_ATTRIBUTE) *sk = NULL; in STACK_OF()
153 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_OBJ(STACK_OF(X509_ATTRIBUTE) in STACK_OF() function
160 STACK_OF(X509_ATTRIBUTE) *ret; in STACK_OF()
169 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_NID(STACK_OF(X509_ATTRIBUTE) in STACK_OF() function
[all …]
Dx509_v3.c65 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) in X509v3_get_ext_count()
72 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, in X509v3_get_ext_by_NID()
83 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, in X509v3_get_ext_by_OBJ()
103 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit, in X509v3_get_ext_by_critical()
123 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_get_ext()
131 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_delete_ext()
141 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, in STACK_OF() function
146 STACK_OF(X509_EXTENSION) *sk = NULL; in STACK_OF()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509_att.c65 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) in X509at_get_attr_count()
70 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, in X509at_get_attr_by_NID()
81 int X509at_get_attr_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *sk, in X509at_get_attr_by_OBJ()
101 X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_get_attr()
109 X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc) in X509at_delete_attr()
119 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() function
123 STACK_OF(X509_ATTRIBUTE) *sk = NULL; in STACK_OF()
153 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_OBJ(STACK_OF(X509_ATTRIBUTE) in STACK_OF() function
160 STACK_OF(X509_ATTRIBUTE) *ret; in STACK_OF()
169 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_NID(STACK_OF(X509_ATTRIBUTE) in STACK_OF() function
[all …]
Dx509_v3.c65 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) in X509v3_get_ext_count()
72 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, in X509v3_get_ext_by_NID()
83 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, in X509v3_get_ext_by_OBJ()
103 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit, in X509v3_get_ext_by_critical()
123 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_get_ext()
131 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_delete_ext()
141 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, in STACK_OF() function
146 STACK_OF(X509_EXTENSION) *sk = NULL; in STACK_OF()
/external/boringssl/src/crypto/trust_token/
Dinternal.h100 STACK_OF(TRUST_TOKEN_PRETOKEN) * pmbtoken_exp1_blind(CBB *cbb, size_t count);
104 STACK_OF(TRUST_TOKEN) *
106 const STACK_OF(TRUST_TOKEN_PRETOKEN) * pretokens,
125 STACK_OF(TRUST_TOKEN_PRETOKEN) * pmbtoken_exp2_blind(CBB *cbb, size_t count);
129 STACK_OF(TRUST_TOKEN) *
131 const STACK_OF(TRUST_TOKEN_PRETOKEN) * pretokens,
160 STACK_OF(TRUST_TOKEN_PRETOKEN) * voprf_exp2_blind(CBB *cbb, size_t count);
164 STACK_OF(TRUST_TOKEN) *
166 const STACK_OF(TRUST_TOKEN_PRETOKEN) * pretokens,
201 STACK_OF(TRUST_TOKEN_PRETOKEN) * (*blind)(CBB *cbb, size_t count);
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dinternal.h88 STACK_OF(PMBTOKEN_PRETOKEN) * pmbtoken_exp0_blind(CBB *cbb, size_t count);
92 STACK_OF(TRUST_TOKEN) *
94 const STACK_OF(PMBTOKEN_PRETOKEN) * pretokens,
117 STACK_OF(PMBTOKEN_PRETOKEN) * pmbtoken_exp1_blind(CBB *cbb, size_t count);
121 STACK_OF(TRUST_TOKEN) *
123 const STACK_OF(PMBTOKEN_PRETOKEN) * pretokens,
162 STACK_OF(PMBTOKEN_PRETOKEN) *(*blind)(CBB *cbb, size_t count);
182 STACK_OF(TRUST_TOKEN) *
184 const STACK_OF(PMBTOKEN_PRETOKEN) * pretokens, CBS *cbs,
233 STACK_OF(PMBTOKEN_PRETOKEN)* pretokens;

12345678910