Home
last modified time | relevance | path

Searched refs:CONF_VALUE (Results 1 – 25 of 39) sorted by relevance

12

/external/openssl/crypto/conf/
Dconf_api.c72 static void value_free_hash_doall_arg(CONF_VALUE *a,
73 LHASH_OF(CONF_VALUE) *conf);
74 static void value_free_stack_doall(CONF_VALUE *a);
75 static IMPLEMENT_LHASH_DOALL_ARG_FN(value_free_hash, CONF_VALUE, in IMPLEMENT_LHASH_DOALL_ARG_FN() argument
76 LHASH_OF(CONF_VALUE)) in IMPLEMENT_LHASH_DOALL_ARG_FN() argument
77 static IMPLEMENT_LHASH_DOALL_FN(value_free_stack, CONF_VALUE) in IMPLEMENT_LHASH_DOALL_ARG_FN()
80 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section) in IMPLEMENT_LHASH_DOALL_ARG_FN()
82 CONF_VALUE *v,vv; in IMPLEMENT_LHASH_DOALL_ARG_FN()
92 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf, in STACK_OF() argument
95 CONF_VALUE *v; in STACK_OF()
[all …]
Dconf.h79 } CONF_VALUE; typedef
81 DECLARE_STACK_OF(CONF_VALUE)
82 DECLARE_LHASH_OF(CONF_VALUE);
122 void CONF_set_nconf(CONF *conf,LHASH_OF(CONF_VALUE) *hash);
123 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf,const char *file,
126 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
129 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp,long *eline);
130 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
132 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf,const char *group,
134 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf,const char *group,
[all …]
Dconf_lib.c72 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash) in CONF_set_nconf()
90 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF() argument
93 LHASH_OF(CONF_VALUE) *ltmp; in LHASH_OF()
114 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, in LHASH_OF() argument
118 LHASH_OF(CONF_VALUE) *ltmp; in LHASH_OF()
129 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, in LHASH_OF() argument
143 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, in STACK_OF() argument
158 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf,const char *group, in CONF_get_string()
173 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf,const char *group, in CONF_get_number()
198 void CONF_free(LHASH_OF(CONF_VALUE) *conf) in CONF_free()
[all …]
Dconf_api.h70 CONF_VALUE *_CONF_new_section(CONF *conf, const char *section);
72 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section);
74 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf,
77 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value);
Dcnf_save.c62 static void print_conf(CONF_VALUE *cv);
63 static IMPLEMENT_LHASH_DOALL_FN(print_conf, CONF_VALUE *);
81 static void print_conf(CONF_VALUE *cv) in print_conf()
84 CONF_VALUE *v; in print_conf()
99 v=(CONF_VALUE *)sk_value(s,i); in print_conf()
Dconf_def.c219 CONF_VALUE *v=NULL,*tv; in def_load_bio()
220 CONF_VALUE *sv=NULL; in def_load_bio()
222 STACK_OF(CONF_VALUE) *section_sk=NULL,*ts; in def_load_bio()
253 section_sk=(STACK_OF(CONF_VALUE) *)sv->value; in def_load_bio()
346 section_sk=(STACK_OF(CONF_VALUE) *)sv->value; in def_load_bio()
380 if (!(v=(CONF_VALUE *)OPENSSL_malloc(sizeof(CONF_VALUE)))) in def_load_bio()
409 ts=(STACK_OF(CONF_VALUE) *)tv->value; in def_load_bio()
431 vv=(CONF_VALUE *)lh_insert(conf->data,v); in def_load_bio()
725 static void dump_value_doall_arg(CONF_VALUE *a, BIO *out) in dump_value_doall_arg()
733 static IMPLEMENT_LHASH_DOALL_ARG_FN(dump_value, CONF_VALUE, BIO) in IMPLEMENT_LHASH_DOALL_ARG_FN() argument
/external/openssl/include/openssl/
Dconf.h79 } CONF_VALUE; typedef
81 DECLARE_STACK_OF(CONF_VALUE)
82 DECLARE_LHASH_OF(CONF_VALUE);
122 void CONF_set_nconf(CONF *conf,LHASH_OF(CONF_VALUE) *hash);
123 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf,const char *file,
126 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
129 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp,long *eline);
130 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
132 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf,const char *group,
134 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf,const char *group,
[all …]
Dx509v3.h79 typedef STACK_OF(CONF_VALUE) *
81 STACK_OF(CONF_VALUE) *extlist);
84 STACK_OF(CONF_VALUE) *values);
123 STACK_OF(CONF_VALUE) * (*get_section)(void *db, char *section);
125 void (*free_section)(void *db, STACK_OF(CONF_VALUE) *section);
531 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
532 STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
534 STACK_OF(CONF_VALUE) *extlist);
536 STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method, GENERAL_NAME *gen, STACK_OF(CONF_…
541 STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method,
[all …]
Dconf_api.h70 CONF_VALUE *_CONF_new_section(CONF *conf, const char *section);
72 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section);
74 STACK_OF(CONF_VALUE) *_CONF_get_section_values(const CONF *conf,
77 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value);
/external/openssl/crypto/x509v3/
Dx509v3.h79 typedef STACK_OF(CONF_VALUE) *
81 STACK_OF(CONF_VALUE) *extlist);
84 STACK_OF(CONF_VALUE) *values);
123 STACK_OF(CONF_VALUE) * (*get_section)(void *db, char *section);
125 void (*free_section)(void *db, STACK_OF(CONF_VALUE) *section);
531 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
532 STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
534 STACK_OF(CONF_VALUE) *extlist);
536 STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method, GENERAL_NAME *gen, STACK_OF(CONF_…
541 STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method,
[all …]
Dv3_bcons.c67 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, BASIC_CONSTRAINTS *bc…
68 …S *v2i_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values);
89 static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
90 BASIC_CONSTRAINTS *bcons, STACK_OF(CONF_VALUE) *extlist)
98 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values) in v2i_BASIC_CONSTRAINTS()
101 CONF_VALUE *val; in v2i_BASIC_CONSTRAINTS()
Dv3_pcons.c67 static STACK_OF(CONF_VALUE) *
69 STACK_OF(CONF_VALUE) *extlist);
72 STACK_OF(CONF_VALUE) *values);
93 static STACK_OF(CONF_VALUE) *
95 STACK_OF(CONF_VALUE) *extlist)
107 STACK_OF(CONF_VALUE) *values) in v2i_POLICY_CONSTRAINTS()
110 CONF_VALUE *val; 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 *method,
70 void *eku, STACK_OF(CONF_VALUE) *extlist);
101 static STACK_OF(CONF_VALUE) * in ASN1_ITEM_TEMPLATE()
103 STACK_OF(CONF_VALUE) *ext_list) in ASN1_ITEM_TEMPLATE()
118 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_EXTENDED_KEY_USAGE()
123 CONF_VALUE *val; in v2i_EXTENDED_KEY_USAGE()
Dv3_pmaps.c67 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
68 static STACK_OF(CONF_VALUE) *
70 STACK_OF(CONF_VALUE) *extlist);
96 static STACK_OF(CONF_VALUE) *
98 STACK_OF(CONF_VALUE) *ext_list)
115 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_POLICY_MAPPINGS()
120 CONF_VALUE *val; in v2i_POLICY_MAPPINGS()
Dv3_info.c66 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
68 STACK_OF(CONF_VALUE) *ret);
70 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
103 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method,
105 STACK_OF(CONF_VALUE) *ret)
110 CONF_VALUE *vtmp;
136 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_AUTHORITY_INFO_ACCESS()
139 CONF_VALUE *cnf, ctmp; in v2i_AUTHORITY_INFO_ACCESS()
Dv3_akey.c66 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
67 AUTHORITY_KEYID *akeyid, STACK_OF(CONF_VALUE) *extlist);
69 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values);
83 static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method, in STACK_OF() argument
84 AUTHORITY_KEYID *akeyid, STACK_OF(CONF_VALUE) *extlist) in STACK_OF()
112 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *values) in v2i_AUTHORITY_KEYID()
116 CONF_VALUE *cnf; in v2i_AUTHORITY_KEYID()
Dv3_conf.c74 static STACK_OF(CONF_VALUE) *conf_lhash_get_section(void *db, char *section);
120 STACK_OF(CONF_VALUE) *nval; in do_ext_nconf()
329 STACK_OF(CONF_VALUE) *nval; in X509V3_EXT_add_nconf_sk()
330 CONF_VALUE *val; in X509V3_EXT_add_nconf_sk()
397 STACK_OF(CONF_VALUE) * X509V3_get_section(X509V3_CTX *ctx, char *section) in STACK_OF() argument
416 void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section) in X509V3_section_free()
428 static STACK_OF(CONF_VALUE) *nconf_get_section(void *db, char *section) in STACK_OF() argument
458 X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_conf()
468 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_conf_nid()
481 static STACK_OF(CONF_VALUE) *conf_lhash_get_section(void *db, char *section) in STACK_OF() argument
[all …]
Dv3_cpols.c75 STACK_OF(CONF_VALUE) *polstrs, int ia5org);
77 STACK_OF(CONF_VALUE) *unot, int ia5org);
78 static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos);
138 STACK_OF(CONF_VALUE) *vals;
139 CONF_VALUE *cnf;
164 STACK_OF(CONF_VALUE) *polsect;
199 STACK_OF(CONF_VALUE) *polstrs, int ia5org) in policy_section()
202 CONF_VALUE *cnf; in policy_section()
228 STACK_OF(CONF_VALUE) *unot; in policy_section()
273 STACK_OF(CONF_VALUE) *unot, int ia5org) in notice_section()
[all …]
Dv3_alt.c64 …RAL_NAMES *v2i_subject_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
65 …ERAL_NAMES *v2i_issuer_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
93 STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method, in STACK_OF() argument
94 GENERAL_NAMES *gens, STACK_OF(CONF_VALUE) *ret) in STACK_OF()
106 STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method, in STACK_OF() argument
107 GENERAL_NAME *gen, STACK_OF(CONF_VALUE) *ret) in STACK_OF()
244 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_issuer_alt()
247 CONF_VALUE *cnf; in v2i_issuer_alt()
309 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_subject_alt()
312 CONF_VALUE *cnf; in v2i_subject_alt()
[all …]
Dv3_crld.c67 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
95 STACK_OF(CONF_VALUE) *gnsect; in STACK_OF()
116 CONF_VALUE *cnf) in set_dist_point_name()
129 STACK_OF(CONF_VALUE) *dnsect; in set_dist_point_name()
208 STACK_OF(CONF_VALUE) *rsk = NULL; in set_reasons()
271 STACK_OF(CONF_VALUE) *nval) in crldp_from_section()
274 CONF_VALUE *cnf; in crldp_from_section()
312 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_crld()
317 CONF_VALUE *cnf; in v2i_crld()
325 STACK_OF(CONF_VALUE) *dpsect; in v2i_crld()
[all …]
Dv3_utl.c82 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value()
84 CONF_VALUE *vtmp = NULL; in X509V3_add_value()
88 if(!(vtmp = (CONF_VALUE *)OPENSSL_malloc(sizeof(CONF_VALUE)))) goto err; in X509V3_add_value()
104 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_uchar()
111 void X509V3_conf_free(CONF_VALUE *conf) in X509V3_conf_free()
121 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_bool()
128 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_bool_nf()
202 STACK_OF(CONF_VALUE) **extlist) in X509V3_add_value_int()
213 int X509V3_get_value_bool(CONF_VALUE *value, int *asn1_bool) in X509V3_get_value_bool()
234 int X509V3_get_value_int(CONF_VALUE *value, ASN1_INTEGER **aint) in X509V3_get_value_int()
[all …]
Dv3_bitst.c94 STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, in STACK_OF() argument
95 ASN1_BIT_STRING *bits, STACK_OF(CONF_VALUE) *ret) in STACK_OF()
106 X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval) in v2i_ASN1_BIT_STRING()
108 CONF_VALUE *val; in v2i_ASN1_BIT_STRING()
Dv3_pci.c75 static int process_pci_value(CONF_VALUE *val, in process_pci_value()
247 STACK_OF(CONF_VALUE) *vals; in r2i_pci()
256 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci()
265 STACK_OF(CONF_VALUE) *sect; in r2i_pci()
/external/openssl/crypto/engine/
Deng_cnf.c97 STACK_OF(CONF_VALUE) *ecmds; in int_engine_configure()
98 CONF_VALUE *ecmd = NULL; in int_engine_configure()
218 STACK_OF(CONF_VALUE) *elist; in int_engine_module_init()
219 CONF_VALUE *cval; in int_engine_module_init()
/external/openssl/crypto/asn1/
Dasn_moid.c75 STACK_OF(CONF_VALUE) *sktmp; in oid_module_init()
76 CONF_VALUE *oval; in oid_module_init()

12