Searched defs:STACK_OF (Results 1 - 25 of 31) sorted by relevance

12

/external/boringssl/src/decrepit/ssl/
H A Dssl_decrepit.c123 int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack, function
/external/boringssl/include/openssl/
H A Dstack.h73 * of a specific type of object has type |STACK_OF(type)|. This can be defined
86 * STACK_OF(FOO), the macros would be sk_FOO_new, sk_FOO_pop etc. */
112 #define STACK_OF(type) struct stack_st_##type macro
114 #define DECLARE_STACK_OF(type) STACK_OF(type);
213 * |STACK_OF(T)|. */
224 static inline OPENSSL_UNUSED STACK_OF(name) * \
226 return (STACK_OF(name) *)sk_new((stack_cmp_func)comp); \
229 static inline OPENSSL_UNUSED STACK_OF(name) *sk_##name##_new_null(void) { \
230 return (STACK_OF(name) *)sk_new_null(); \
234 const STACK_OF(nam
[all...]
/external/boringssl/src/crypto/x509/
H A Dx509_set.c151 STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x) function
H A Dx509_v3.c65 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x) function
72 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x, int nid, function
83 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *sk, function
103 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *sk, int crit, function
123 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc) function
131 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc) function
141 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x, function
146 STACK_OF(X509_EXTENSION) *sk = NULL;
H A Dx509_att.c65 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x) function
70 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid, function
81 int X509at_get_attr_by_OBJ(const STACK_OF(X509_ATTRIBUTE) *sk, function
101 X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc) function
109 X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc) function
119 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x, function
123 STACK_OF(X509_ATTRIBUTE) *sk = NULL;
153 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_OBJ(STACK_OF(X509_ATTRIBUT function
169 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_NID(STACK_OF(X509_ATTRIBUTE) function
184 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr_by_txt(STACK_OF(X509_ATTRIBUTE) function
200 void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x, function
[all...]
H A Dx509_cmp.c269 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name, function
291 X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name) function
386 int X509_chain_check_suiteb(int *perror_depth, X509 *x, STACK_OF(X509) *chain,
468 STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain) function
470 STACK_OF(X509) *ret;
H A Dx509_req.c183 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) function
207 return (STACK_OF(X509_EXTENSION) *)
213 * Add a STACK_OF extensions to a certificate request: allow alternative OIDs
217 int X509_REQ_add_extensions_nid(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts,
254 int X509_REQ_add_extensions(X509_REQ *req, STACK_OF(X509_EXTENSION) *exts)
H A Dx_name.c73 typedef STACK_OF(X509_NAME_ENTRY) STACK_OF_X509_NAME_ENTRY;
96 static int i2d_name_canon(STACK_OF(STACK_OF_X509_NAME_ENTRY) * intname,
184 static void local_sk_X509_NAME_ENTRY_free(STACK_OF(X509_NAME_ENTRY) *ne) function
189 static void local_sk_X509_NAME_ENTRY_pop_free(STACK_OF(X509_NAME_ENTRY) *ne) function
201 STACK_OF(STACK_OF_X509_NAME_ENTRY) *s;
214 STACK_OF(X509_NAME_ENTRY) *entries;
292 STACK_OF(STACK_OF_X509_NAME_ENTRY) *s;
299 STACK_OF(X509_NAME_ENTRY) *entries = NULL;
352 STACK_OF(STACK_OF_X509_NAME_ENTRY) *intname = NULL;
353 STACK_OF(X509_NAME_ENTR
507 static int i2d_name_canon(STACK_OF(STACK_OF_X509_NAME_ENTRY) * _intname, function
[all...]
H A Dx509_lu.c245 STACK_OF(X509_LOOKUP) *sk;
274 STACK_OF(X509_LOOKUP) *sk;
408 STACK_OF(X509) *untrusted) {
437 static int x509_object_idx_cnt(STACK_OF(X509_OBJECT) *h, int type, function
483 int X509_OBJECT_idx_by_subject(STACK_OF(X509_OBJECT) *h, int type, function
489 X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK_OF(X509_OBJECT) *h, function
499 STACK_OF (X509) * X509_STORE_get1_certs(X509_STORE_CTX *ctx, X509_NAME *nm) function
502 STACK_OF(X509) *sk;
545 STACK_OF (X509_CRL) * X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) function
548 STACK_OF(X509_CR
584 X509_OBJECT *X509_OBJECT_retrieve_match(STACK_OF(X509_OBJECT) *h, function
[all...]
/external/boringssl/src/crypto/x509v3/
H A Dpcy_lib.c82 STACK_OF(X509_POLICY_NODE) *X509_policy_tree_get0_policies(const function
91 STACK_OF(X509_POLICY_NODE) *X509_policy_tree_get0_user_policies(const function
140 STACK_OF(POLICYQUALINFO) *X509_policy_node_get0_qualifiers(const function
H A Dv3_bitst.c96 STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, function
98 STACK_OF(CONF_VALUE) *ret)
110 STACK_OF(CONF_VALUE) *nval)
H A Dv3_akey.c69 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
71 STACK_OF(CONF_VALUE)
75 STACK_OF(CONF_VALUE) *values);
88 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method, function
90 STACK_OF(CONF_VALUE)
119 STACK_OF(CONF_VALUE) *values)
H A Dpcy_node.c71 STACK_OF(X509_POLICY_NODE) *policy_node_cmp_new(void) function
76 X509_POLICY_NODE *tree_find_sk(STACK_OF(X509_POLICY_NODE) *nodes, function
H A Dv3_lib.c70 static STACK_OF(X509V3_EXT_METHOD) *ext_list = NULL;
232 void *X509V3_get_d2i(STACK_OF(X509_EXTENSION) *x, int nid, int *crit, function
288 int X509V3_add1_i2d(STACK_OF(X509_EXTENSION) **x, int nid, void *value, function
H A Dpcy_tree.c90 STACK_OF(ASN1_OBJECT) *pset = node->data->expected_policy_set;
149 static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs,
416 STACK_OF(ASN1_OBJECT) *expset = node->data->expected_policy_set;
496 STACK_OF(X509_POLICY_NODE) *nodes;
539 static int tree_add_auth_node(STACK_OF(X509_POLICY_NODE) **pnodes, function
566 STACK_OF(X509_POLICY_NODE) **pnodes)
570 STACK_OF(X509_POLICY_NODE) **addnodes;
610 STACK_OF(ASN1_OBJECT) *policy_oids,
611 STACK_OF(X509_POLICY_NODE) *auth_nodes)
736 STACK_OF(X50
[all...]
H A Dv3_alt.c69 STACK_OF(CONF_VALUE) *nval);
72 STACK_OF(CONF_VALUE) *nval);
100 STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method, function
102 STACK_OF(CONF_VALUE) *ret)
115 STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method, function
117 STACK_OF(CONF_VALUE) *ret)
253 STACK_OF(CONF_VALUE) *nval)
323 STACK_OF(CONF_VALUE) *nval)
413 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval)
603 STACK_OF(CONF_VALU
[all...]
H A Dv3_conf.c125 STACK_OF(CONF_VALUE) *nval;
330 STACK_OF(X509_EXTENSION) **sk)
333 STACK_OF(CONF_VALUE) *nval;
356 STACK_OF(X509_EXTENSION) **sk = NULL;
367 STACK_OF(X509_EXTENSION) **sk = NULL;
378 STACK_OF(X509_EXTENSION) *extlist = NULL, **sk = NULL;
403 STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, char *section) function
422 void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section)
436 static STACK_OF(CONF_VALUE) *nconf_get_section(void *db, char *section) function
H A Dv3_crld.c70 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
94 static STACK_OF(GENERAL_NAME) *gnames_from_sectname(X509V3_CTX *ctx, function
97 STACK_OF(CONF_VALUE) *gnsect;
98 STACK_OF(GENERAL_NAME) *gens;
118 STACK_OF(GENERAL_NAME) *fnm = NULL;
119 STACK_OF(X509_NAME_ENTRY) *rnm = NULL;
126 STACK_OF(CONF_VALUE) *dnsect;
195 STACK_OF(CONF_VALUE) *rsk = NULL;
252 STACK_OF(CONF_VALUE) *nval)
287 X509V3_CTX *ctx, STACK_OF(CONF_VALU
[all...]
/external/boringssl/src/include/openssl/
H A Dstack.h73 * of a specific type of object has type |STACK_OF(type)|. This can be defined
86 * STACK_OF(FOO), the macros would be sk_FOO_new, sk_FOO_pop etc. */
112 #define STACK_OF(type) struct stack_st_##type macro
114 #define DECLARE_STACK_OF(type) STACK_OF(type);
213 * |STACK_OF(T)|. */
224 static inline OPENSSL_UNUSED STACK_OF(name) * \
226 return (STACK_OF(name) *)sk_new((stack_cmp_func)comp); \
229 static inline OPENSSL_UNUSED STACK_OF(name) *sk_##name##_new_null(void) { \
230 return (STACK_OF(name) *)sk_new_null(); \
234 const STACK_OF(nam
[all...]
/external/boringssl/src/crypto/
H A Dex_data.c205 static int get_func_pointers(STACK_OF(CRYPTO_EX_DATA_FUNCS) **out, function
240 STACK_OF(CRYPTO_EX_DATA_FUNCS) *func_pointers;
/external/boringssl/src/crypto/pkcs7/
H A Dpkcs7.c95 int PKCS7_get_raw_certificates(STACK_OF(CRYPTO_BUFFER) *out_certs, CBS *cbs, function
H A Dpkcs7_x509.c31 int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs) { function
34 STACK_OF(CRYPTO_BUFFER) *raw = sk_CRYPTO_BUFFER_new_null();
64 int PKCS7_get_CRLs(STACK_OF(X509_CRL) *out_crls, CBS *cbs) { function
131 int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs, BIO *pem_bio) { function
153 int PKCS7_get_PEM_CRLs(STACK_OF(X509_CRL) *out_crls, BIO *pem_bio) { function
176 const STACK_OF(X509) *certs = arg;
201 int PKCS7_bundle_certificates(CBB *out, const STACK_OF(X509) *certs) {
206 const STACK_OF(X509_CRL) *crls = arg;
231 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) {
/external/boringssl/src/crypto/pem/
H A Dpem_info.c75 STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk, function
79 STACK_OF(X509_INFO) *ret;
92 STACK_OF(X509_INFO) *PEM_X509_INFO_read_bio(BIO *bp, STACK_OF(X509_INFO) *sk, function
102 STACK_OF(X509_INFO) *ret = NULL;
/external/boringssl/src/crypto/asn1/
H A Dtasn_enc.c70 static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out,
312 STACK_OF(ASN1_VALUE) *sk = (STACK_OF(ASN1_VALUE) *)*pval;
429 static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out, function
/external/boringssl/src/crypto/conf/
H A Dconf.c141 sk_CONF_VALUE_free((STACK_OF(CONF_VALUE)*)value->value);
162 STACK_OF(CONF_VALUE) *sk = NULL;
374 STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf, const char *section) { function
379 return (STACK_OF(CONF_VALUE)*) section_value->value;
398 STACK_OF(CONF_VALUE) *section_stack = (STACK_OF(CONF_VALUE)*) section->value;

Completed in 585 milliseconds

12