Home
last modified time | relevance | path

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

1234

/external/boringssl/src/include/openssl/
Dstack_macros.h21 ((STACK_OF(ACCESS_DESCRIPTION) *)sk_new(CHECKED_CAST( \
27 ((STACK_OF(ACCESS_DESCRIPTION) *)sk_new_null())
30 sk_num(CHECKED_CAST(_STACK *, STACK_OF(ACCESS_DESCRIPTION) *, sk))
33 sk_zero(CHECKED_CAST(_STACK *, STACK_OF(ACCESS_DESCRIPTION) *, sk));
37 CHECKED_CAST(_STACK *, const STACK_OF(ACCESS_DESCRIPTION) *, sk), (i)))
41 CHECKED_CAST(_STACK *, STACK_OF(ACCESS_DESCRIPTION) *, sk), (i), \
45 sk_free(CHECKED_CAST(_STACK *, STACK_OF(ACCESS_DESCRIPTION) *, sk))
48 sk_pop_free(CHECKED_CAST(_STACK *, STACK_OF(ACCESS_DESCRIPTION) *, sk), \
53 sk_insert(CHECKED_CAST(_STACK *, STACK_OF(ACCESS_DESCRIPTION) *, sk), \
58 CHECKED_CAST(_STACK *, STACK_OF(ACCESS_DESCRIPTION) *, sk), (where)))
[all …]
Dx509v3.h76 typedef STACK_OF(CONF_VALUE) * typedef
78 STACK_OF(CONF_VALUE) *extlist);
81 STACK_OF(CONF_VALUE) *values);
120 STACK_OF(CONF_VALUE) * (*get_section)(void *db, char *section);
122 void (*free_section)(void *db, STACK_OF(CONF_VALUE) *section);
204 typedef STACK_OF(GENERAL_NAME) GENERAL_NAMES;
211 typedef STACK_OF(ACCESS_DESCRIPTION) AUTHORITY_INFO_ACCESS;
213 typedef STACK_OF(ASN1_OBJECT) EXTENDED_KEY_USAGE;
225 STACK_OF(X509_NAME_ENTRY) *relativename;
252 typedef STACK_OF(DIST_POINT) CRL_DIST_POINTS;
[all …]
Dx509_vfy.h172 STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */
185 STACK_OF(X509_OBJECT) *objs; /* Cache of all objects */
189 STACK_OF(X509_LOOKUP) *get_cert_methods;
202 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
203 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
235 STACK_OF(X509) *untrusted; /* chain of X509s - untrusted - passed in */
236 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
251 STACK_OF(X509) * (*lookup_certs)(X509_STORE_CTX *ctx, X509_NAME *nm);
252 STACK_OF(X509_CRL) * (*lookup_crls)(X509_STORE_CTX *ctx, X509_NAME *nm);
258 STACK_OF(X509) *chain; /* chain of X509s - built up and trusted */
[all …]
Dx509.h113 typedef STACK_OF(X509_ALGOR) X509_ALGORS;
148 STACK_OF(X509_NAME_ENTRY) *entries;
171 typedef STACK_OF(X509_EXTENSION) X509_EXTENSIONS;
183 /* 0 */ STACK_OF(ASN1_TYPE) *set;
199 STACK_OF(X509_ATTRIBUTE) *attributes; /* [ 0 ] */
221 STACK_OF(X509_EXTENSION) *extensions; /* [ 3 ] optional in v3 */
233 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */
234 STACK_OF(ASN1_OBJECT) *reject; /* rejected uses */
237 STACK_OF(X509_ALGOR) *other; /* other unspecified info */
259 STACK_OF(DIST_POINT) *crldp;
[all …]
/external/boringssl/src/crypto/stack/
Dmake_macros.sh33 …((STACK_OF(${type})*) sk_new(CHECKED_CAST(stack_cmp_func, int (*) (const ${ptrtype} *a, const ${pt…
36 ((STACK_OF(${type})*) sk_new_null())
39 sk_num(CHECKED_CAST(_STACK*, STACK_OF(${type})*, sk))
42 sk_zero(CHECKED_CAST(_STACK*, STACK_OF(${type})*, sk));
45 ((${ptrtype}) sk_value(CHECKED_CAST(_STACK*, const STACK_OF(${type})*, sk), (i)))
48 …((${ptrtype}) sk_set(CHECKED_CAST(_STACK*, STACK_OF(${type})*, sk), (i), CHECKED_CAST(void*, ${ptr…
51 sk_free(CHECKED_CAST(_STACK*, STACK_OF(${type})*, sk))
54 …sk_pop_free(CHECKED_CAST(_STACK*, STACK_OF(${type})*, sk), CHECKED_CAST(void (*) (void*), void (*)…
57 …sk_insert(CHECKED_CAST(_STACK*, STACK_OF(${type})*, sk), CHECKED_CAST(void*, ${ptrtype}, p), (wher…
60 ((${ptrtype}) sk_delete(CHECKED_CAST(_STACK*, STACK_OF(${type})*, sk), (where)))
[all …]
/external/boringssl/src/ssl/
Dssl_cert.c227 int ssl_cert_set0_chain(CERT *cert, STACK_OF(X509) *chain) { in ssl_cert_set0_chain()
233 int ssl_cert_set1_chain(CERT *cert, STACK_OF(X509) *chain) { in ssl_cert_set1_chain()
234 STACK_OF(X509) *dchain; in ssl_cert_set1_chain()
277 int ssl_verify_cert_chain(SSL *ssl, STACK_OF(X509) *cert_chain) { in ssl_verify_cert_chain()
319 static void set_client_CA_list(STACK_OF(X509_NAME) **ca_list, in set_client_CA_list()
320 STACK_OF(X509_NAME) *name_list) { in set_client_CA_list()
325 STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *list) { in STACK_OF() function
326 STACK_OF(X509_NAME) *ret = sk_X509_NAME_new_null(); in STACK_OF()
344 void SSL_set_client_CA_list(SSL *ssl, STACK_OF(X509_NAME) *name_list) { in SSL_set_client_CA_list()
348 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) { in SSL_CTX_set_client_CA_list()
[all …]
/external/boringssl/src/crypto/x509v3/
Dpcy_int.h77 STACK_OF(POLICYQUALINFO) *qualifier_set;
78 STACK_OF(ASN1_OBJECT) *expected_policy_set;
117 STACK_OF(X509_POLICY_DATA) *data;
149 STACK_OF(X509_POLICY_NODE) *nodes;
165 STACK_OF(X509_POLICY_DATA) *extra_data;
167 STACK_OF(X509_POLICY_NODE) *auth_policies;
168 STACK_OF(X509_POLICY_NODE) *user_policies;
191 STACK_OF(X509_POLICY_NODE) *policy_node_cmp_new(void);
201 X509_POLICY_NODE *tree_find_sk(STACK_OF(X509_POLICY_NODE) *sk,
Dv3_cpols.c75 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol, BIO *out, int indent);
76 static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, char *value);
77 static void print_qualifiers(BIO *out, STACK_OF(POLICYQUALINFO) *quals, int indent);
80 STACK_OF(CONF_VALUE) *polstrs, int ia5org);
82 STACK_OF(CONF_VALUE) *unot, int ia5org);
83 static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos);
136 static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method,
139 STACK_OF(POLICYINFO) *pols = NULL;
143 STACK_OF(CONF_VALUE) *vals;
170 STACK_OF(CONF_VALUE) *polsect;
[all …]
Dv3_bcons.c69 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, BASIC_CONSTRAINTS *bc…
70 …INTS *v2i_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *valu…
91 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
92 BASIC_CONSTRAINTS *bcons, STACK_OF(CONF_VALUE) *extlist)
100 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values) in v2i_BASIC_CONSTRAINTS()
Dv3_pcons.c69 static STACK_OF(CONF_VALUE) *
71 STACK_OF(CONF_VALUE) *extlist);
74 STACK_OF(CONF_VALUE) *values);
95 static STACK_OF(CONF_VALUE) *
97 STACK_OF(CONF_VALUE) *extlist)
109 STACK_OF(CONF_VALUE) *values) in v2i_POLICY_CONSTRAINTS()
Dv3_extku.c69 STACK_OF(CONF_VALUE) *nval);
70 static STACK_OF(CONF_VALUE) *i2v_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method,
71 void *eku, STACK_OF(CONF_VALUE) *extlist);
102 static STACK_OF(CONF_VALUE) * in ASN1_ITEM_TEMPLATE()
104 STACK_OF(CONF_VALUE) *ext_list) in ASN1_ITEM_TEMPLATE()
119 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_EXTENDED_KEY_USAGE()
Dv3_crld.c70 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
96 static STACK_OF(GENERAL_NAME) *gnames_from_sectname(X509V3_CTX *ctx, char *sect) in STACK_OF() function
98 STACK_OF(CONF_VALUE) *gnsect; in STACK_OF()
99 STACK_OF(GENERAL_NAME) *gens; in STACK_OF()
120 STACK_OF(GENERAL_NAME) *fnm = NULL; in set_dist_point_name()
121 STACK_OF(X509_NAME_ENTRY) *rnm = NULL; in set_dist_point_name()
131 STACK_OF(CONF_VALUE) *dnsect; in set_dist_point_name()
207 STACK_OF(CONF_VALUE) *rsk = NULL; in set_reasons()
271 STACK_OF(CONF_VALUE) *nval) in crldp_from_section()
312 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_crld()
[all …]
Dv3_pmaps.c68 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
69 static STACK_OF(CONF_VALUE) *
71 STACK_OF(CONF_VALUE) *extlist);
97 static STACK_OF(CONF_VALUE) *
99 STACK_OF(CONF_VALUE) *ext_list)
116 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_POLICY_MAPPINGS()
Dv3_akey.c69 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
70 AUTHORITY_KEYID *akeyid, STACK_OF(CONF_VALUE) *extlist);
72 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values);
86 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method, in STACK_OF() function
87 AUTHORITY_KEYID *akeyid, STACK_OF(CONF_VALUE) *extlist) in STACK_OF()
115 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values) in v2i_AUTHORITY_KEYID()
Dv3_info.c72 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
74 STACK_OF(CONF_VALUE) *ret);
76 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
109 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
111 STACK_OF(CONF_VALUE) *ret)
142 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_AUTHORITY_INFO_ACCESS()
Dv3_utl.c78 static STACK_OF(OPENSSL_STRING) *get_email(X509_NAME *name, GENERAL_NAMES *gens);
80 static int append_ia5(STACK_OF(OPENSSL_STRING) **sk, ASN1_IA5STRING *email);
90 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value()
112 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_uchar()
129 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_bool()
136 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_bool_nf()
210 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_int()
258 STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line) in STACK_OF() function
262 STACK_OF(CONF_VALUE) *values = NULL; in STACK_OF()
470 STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x) in STACK_OF() function
[all …]
Dv3_conf.c122 STACK_OF(CONF_VALUE) *nval; in do_ext_nconf()
329 STACK_OF(X509_EXTENSION) **sk) in X509V3_EXT_add_nconf_sk()
332 STACK_OF(CONF_VALUE) *nval; in X509V3_EXT_add_nconf_sk()
352 STACK_OF(X509_EXTENSION) **sk = NULL; in X509V3_EXT_add_nconf()
363 STACK_OF(X509_EXTENSION) **sk = NULL; in X509V3_EXT_CRL_add_nconf()
374 STACK_OF(X509_EXTENSION) *extlist = NULL, **sk = NULL; in X509V3_EXT_REQ_add_nconf()
400 STACK_OF(CONF_VALUE) * X509V3_get_section(X509V3_CTX *ctx, char *section) in STACK_OF() function
419 void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) in X509V3_section_free()
432 static STACK_OF(CONF_VALUE) *nconf_get_section(void *db, char *section) in STACK_OF() function
Dpcy_tree.c87 STACK_OF(ASN1_OBJECT) *pset = node->data->expected_policy_set; in expected_print()
148 static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs, in tree_init()
428 STACK_OF(ASN1_OBJECT) *expset = node->data->expected_policy_set; in tree_link_unmatched()
511 STACK_OF(X509_POLICY_NODE) *nodes; in tree_prune()
561 static int tree_add_auth_node(STACK_OF(X509_POLICY_NODE) **pnodes, in tree_add_auth_node()
590 STACK_OF(X509_POLICY_NODE) **pnodes) in tree_calculate_authority_set()
594 STACK_OF(X509_POLICY_NODE) **addnodes; in tree_calculate_authority_set()
637 STACK_OF(ASN1_OBJECT) *policy_oids, in tree_calculate_user_set()
638 STACK_OF(X509_POLICY_NODE) *auth_nodes) in tree_calculate_user_set()
772 STACK_OF(X509) *certs, in X509_policy_check()
[all …]
Dpcy_lib.c83 STACK_OF(X509_POLICY_NODE) * in STACK_OF() function
91 STACK_OF(X509_POLICY_NODE) * in STACK_OF() function
149 STACK_OF(POLICYQUALINFO) * in STACK_OF() function
Dv3_bitst.c96 STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, in STACK_OF() function
97 ASN1_BIT_STRING *bits, STACK_OF(CONF_VALUE) *ret) in STACK_OF()
108 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_ASN1_BIT_STRING()
/external/boringssl/src/crypto/x509/
Dx509_att.c66 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) in X509at_get_attr_count()
71 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, const ASN1_OBJECT *obj, 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()
154 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_OBJ(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() function
159 STACK_OF(X509_ATTRIBUTE) *ret; in STACK_OF()
167 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_NID(STACK_OF(X509_ATTRIBUTE) **x, in STACK_OF() function
[all …]
Dx509_v3.c66 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()
82 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, const ASN1_OBJECT *obj, in X509v3_get_ext_by_OBJ()
102 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()
Dx_name.c72 typedef STACK_OF(X509_NAME_ENTRY) STACK_OF_X509_NAME_ENTRY;
88 static int i2d_name_canon(STACK_OF(STACK_OF_X509_NAME_ENTRY) *intname,
178 static void local_sk_X509_NAME_ENTRY_free(STACK_OF(X509_NAME_ENTRY) *ne) in local_sk_X509_NAME_ENTRY_free()
183 static void local_sk_X509_NAME_ENTRY_pop_free(STACK_OF(X509_NAME_ENTRY) *ne) in local_sk_X509_NAME_ENTRY_pop_free()
193 union { STACK_OF(STACK_OF_X509_NAME_ENTRY) *s; in x509_name_ex_d2i()
198 STACK_OF(X509_NAME_ENTRY) *entries; in x509_name_ex_d2i()
268 union { STACK_OF(STACK_OF_X509_NAME_ENTRY) *s; in x509_name_encode()
272 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_encode()
334 STACK_OF(STACK_OF_X509_NAME_ENTRY) *intname = NULL; in x509_name_canon()
335 STACK_OF(X509_NAME_ENTRY) *entries = NULL; in x509_name_canon()
[all …]
Dpkcs7_test.c473 STACK_OF(X509) *certs = sk_X509_new_null(); in test_cert_reparse()
474 STACK_OF(X509) *certs2 = sk_X509_new_null(); in test_cert_reparse()
537 STACK_OF(X509_CRL) *crls = sk_X509_CRL_new_null(); in test_crl_reparse()
538 STACK_OF(X509_CRL) *crls2 = sk_X509_CRL_new_null(); in test_crl_reparse()
600 STACK_OF(X509) *certs = sk_X509_new_null(); in test_pem_certs()
622 STACK_OF(X509_CRL) *crls = sk_X509_CRL_new_null(); in test_pem_crls()
Dpkcs7.c92 int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs) { in PKCS7_get_certificates()
152 int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs) { in PKCS7_get_CRLs()
221 int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs, BIO *pem_bio) { in PKCS7_get_PEM_certificates()
243 int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls, BIO *pem_bio) { in PKCS7_get_PEM_CRLs()
296 const STACK_OF(X509) *certs = arg; in pkcs7_bundle_certificates_cb()
321 int PKCS7_bundle_certificates(CBB *out, const STACK_OF(X509) *certs) { in PKCS7_bundle_certificates()
326 const STACK_OF(X509_CRL) *crls = arg; in pkcs7_bundle_crls_cb()
351 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs()

1234