Home
last modified time | relevance | path

Searched refs:cnf (Results 1 – 25 of 66) sorted by relevance

123

/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/
Dv3_cpols.c139 CONF_VALUE *cnf;
153 cnf = sk_CONF_VALUE_value(vals, i);
154 if(cnf->value || !cnf->name ) {
156 X509V3_conf_err(cnf);
159 pstr = cnf->name;
169 X509V3_conf_err(cnf);
176 if(!(pobj = OBJ_txt2obj(cnf->name, 0))) {
178 X509V3_conf_err(cnf);
202 CONF_VALUE *cnf; in policy_section() local
207 cnf = sk_CONF_VALUE_value(polstrs, i); in policy_section()
[all …]
Dv3_crld.c116 CONF_VALUE *cnf) in set_dist_point_name() argument
120 if (!strncmp(cnf->name, "fullname", 9)) in set_dist_point_name()
122 fnm = gnames_from_sectname(ctx, cnf->value); in set_dist_point_name()
126 else if (!strcmp(cnf->name, "relativename")) in set_dist_point_name()
134 dnsect = X509V3_get_section(ctx, cnf->value); in set_dist_point_name()
274 CONF_VALUE *cnf; in crldp_from_section() local
282 cnf = sk_CONF_VALUE_value(nval, i); in crldp_from_section()
283 ret = set_dist_point_name(&point->distpoint, ctx, cnf); in crldp_from_section()
288 if (!strcmp(cnf->name, "reasons")) in crldp_from_section()
290 if (!set_reasons(&point->reasons, cnf->value)) in crldp_from_section()
[all …]
Dv3_akey.c116 CONF_VALUE *cnf; in v2i_AUTHORITY_KEYID() local
128 cnf = sk_CONF_VALUE_value(values, i); in v2i_AUTHORITY_KEYID()
129 if(!strcmp(cnf->name, "keyid")) in v2i_AUTHORITY_KEYID()
132 if(cnf->value && !strcmp(cnf->value, "always")) in v2i_AUTHORITY_KEYID()
135 else if(!strcmp(cnf->name, "issuer")) in v2i_AUTHORITY_KEYID()
138 if(cnf->value && !strcmp(cnf->value, "always")) in v2i_AUTHORITY_KEYID()
144 ERR_add_error_data(2, "name=", cnf->name); in v2i_AUTHORITY_KEYID()
Dv3_alt.c247 CONF_VALUE *cnf; in v2i_issuer_alt() local
254 cnf = sk_CONF_VALUE_value(nval, i); in v2i_issuer_alt()
255 if(!name_cmp(cnf->name, "issuer") && cnf->value && in v2i_issuer_alt()
256 !strcmp(cnf->value, "copy")) { in v2i_issuer_alt()
260 if(!(gen = v2i_GENERAL_NAME(method, ctx, cnf))) in v2i_issuer_alt()
312 CONF_VALUE *cnf; in v2i_subject_alt() local
319 cnf = sk_CONF_VALUE_value(nval, i); in v2i_subject_alt()
320 if(!name_cmp(cnf->name, "email") && cnf->value && in v2i_subject_alt()
321 !strcmp(cnf->value, "copy")) { in v2i_subject_alt()
323 } else if(!name_cmp(cnf->name, "email") && cnf->value && in v2i_subject_alt()
[all …]
Dv3_pci.c256 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci() local
257 if (!cnf->name || (*cnf->name != '@' && !cnf->value)) in r2i_pci()
260 X509V3_conf_err(cnf); in r2i_pci()
263 if (*cnf->name == '@') in r2i_pci()
268 sect = X509V3_get_section(ctx, cnf->name + 1); in r2i_pci()
272 X509V3_conf_err(cnf); in r2i_pci()
287 if (!process_pci_value(cnf, in r2i_pci()
290 X509V3_conf_err(cnf); in r2i_pci()
Dv3_info.c139 CONF_VALUE *cnf, ctmp; in v2i_AUTHORITY_INFO_ACCESS() local
148 cnf = sk_CONF_VALUE_value(nval, i); in v2i_AUTHORITY_INFO_ACCESS()
154 ptmp = strchr(cnf->name, ';'); in v2i_AUTHORITY_INFO_ACCESS()
159 objlen = ptmp - cnf->name; in v2i_AUTHORITY_INFO_ACCESS()
161 ctmp.value = cnf->value; in v2i_AUTHORITY_INFO_ACCESS()
168 strncpy(objtmp, cnf->name, objlen); in v2i_AUTHORITY_INFO_ACCESS()
/external/openssl/crypto/x509v3/
Dv3_cpols.c139 CONF_VALUE *cnf;
153 cnf = sk_CONF_VALUE_value(vals, i);
154 if(cnf->value || !cnf->name ) {
156 X509V3_conf_err(cnf);
159 pstr = cnf->name;
169 X509V3_conf_err(cnf);
176 if(!(pobj = OBJ_txt2obj(cnf->name, 0))) {
178 X509V3_conf_err(cnf);
202 CONF_VALUE *cnf; in policy_section() local
207 cnf = sk_CONF_VALUE_value(polstrs, i); in policy_section()
[all …]
Dv3_crld.c116 CONF_VALUE *cnf) in set_dist_point_name() argument
120 if (!strncmp(cnf->name, "fullname", 9)) in set_dist_point_name()
122 fnm = gnames_from_sectname(ctx, cnf->value); in set_dist_point_name()
126 else if (!strcmp(cnf->name, "relativename")) in set_dist_point_name()
134 dnsect = X509V3_get_section(ctx, cnf->value); in set_dist_point_name()
274 CONF_VALUE *cnf; in crldp_from_section() local
282 cnf = sk_CONF_VALUE_value(nval, i); in crldp_from_section()
283 ret = set_dist_point_name(&point->distpoint, ctx, cnf); in crldp_from_section()
288 if (!strcmp(cnf->name, "reasons")) in crldp_from_section()
290 if (!set_reasons(&point->reasons, cnf->value)) in crldp_from_section()
[all …]
Dv3_akey.c116 CONF_VALUE *cnf; in v2i_AUTHORITY_KEYID() local
128 cnf = sk_CONF_VALUE_value(values, i); in v2i_AUTHORITY_KEYID()
129 if(!strcmp(cnf->name, "keyid")) in v2i_AUTHORITY_KEYID()
132 if(cnf->value && !strcmp(cnf->value, "always")) in v2i_AUTHORITY_KEYID()
135 else if(!strcmp(cnf->name, "issuer")) in v2i_AUTHORITY_KEYID()
138 if(cnf->value && !strcmp(cnf->value, "always")) in v2i_AUTHORITY_KEYID()
144 ERR_add_error_data(2, "name=", cnf->name); in v2i_AUTHORITY_KEYID()
Dv3_alt.c247 CONF_VALUE *cnf; in v2i_issuer_alt() local
254 cnf = sk_CONF_VALUE_value(nval, i); in v2i_issuer_alt()
255 if(!name_cmp(cnf->name, "issuer") && cnf->value && in v2i_issuer_alt()
256 !strcmp(cnf->value, "copy")) { in v2i_issuer_alt()
260 if(!(gen = v2i_GENERAL_NAME(method, ctx, cnf))) in v2i_issuer_alt()
312 CONF_VALUE *cnf; in v2i_subject_alt() local
319 cnf = sk_CONF_VALUE_value(nval, i); in v2i_subject_alt()
320 if(!name_cmp(cnf->name, "email") && cnf->value && in v2i_subject_alt()
321 !strcmp(cnf->value, "copy")) { in v2i_subject_alt()
323 } else if(!name_cmp(cnf->name, "email") && cnf->value && in v2i_subject_alt()
[all …]
Dv3_pci.c256 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci() local
257 if (!cnf->name || (*cnf->name != '@' && !cnf->value)) in r2i_pci()
260 X509V3_conf_err(cnf); in r2i_pci()
263 if (*cnf->name == '@') in r2i_pci()
268 sect = X509V3_get_section(ctx, cnf->name + 1); in r2i_pci()
272 X509V3_conf_err(cnf); in r2i_pci()
287 if (!process_pci_value(cnf, in r2i_pci()
290 X509V3_conf_err(cnf); in r2i_pci()
Dv3_info.c139 CONF_VALUE *cnf, ctmp; in v2i_AUTHORITY_INFO_ACCESS() local
148 cnf = sk_CONF_VALUE_value(nval, i); in v2i_AUTHORITY_INFO_ACCESS()
154 ptmp = strchr(cnf->name, ';'); in v2i_AUTHORITY_INFO_ACCESS()
159 objlen = ptmp - cnf->name; in v2i_AUTHORITY_INFO_ACCESS()
161 ctmp.value = cnf->value; in v2i_AUTHORITY_INFO_ACCESS()
168 strncpy(objtmp, cnf->name, objlen); in v2i_AUTHORITY_INFO_ACCESS()
/external/openssl/crypto/conf/
Dconf_mod.c112 static int module_run(const CONF *cnf, char *name, char *value,
118 const CONF *cnf);
119 static CONF_MODULE *module_load_dso(const CONF *cnf, char *name, char *value,
124 int CONF_modules_load(const CONF *cnf, const char *appname, in CONF_modules_load() argument
133 if (!cnf) in CONF_modules_load()
137 vsection = NCONF_get_string(cnf, NULL, appname); in CONF_modules_load()
140 vsection = NCONF_get_string(cnf, NULL, "openssl_conf"); in CONF_modules_load()
148 values = NCONF_get_section(cnf, vsection); in CONF_modules_load()
156 ret = module_run(cnf, vl->name, vl->value, flags); in CONF_modules_load()
206 static int module_run(const CONF *cnf, char *name, char *value, in module_run() argument
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/conf/
Dconf_mod.c112 static int module_run(const CONF *cnf, char *name, char *value,
118 const CONF *cnf);
119 static CONF_MODULE *module_load_dso(const CONF *cnf, char *name, char *value,
124 int CONF_modules_load(const CONF *cnf, const char *appname, in CONF_modules_load() argument
133 if (!cnf) in CONF_modules_load()
137 vsection = NCONF_get_string(cnf, NULL, appname); in CONF_modules_load()
140 vsection = NCONF_get_string(cnf, NULL, "openssl_conf"); in CONF_modules_load()
148 values = NCONF_get_section(cnf, vsection); in CONF_modules_load()
156 ret = module_run(cnf, vl->name, vl->value, flags); in CONF_modules_load()
206 static int module_run(const CONF *cnf, char *name, char *value, in module_run() argument
[all …]
/external/chromium_org/net/data/ssl/scripts/
Dgenerate-test-certs.sh30 -config ca.cnf
39 -extfile ca.cnf \
47 -config ee.cnf
53 -config ee.cnf
64 -config ca.cnf
73 -config ca.cnf
Dgenerate-aia-certs.sh39 -config aia-test.cnf
49 -extfile aia-test.cnf \
60 -config aia-test.cnf
69 -config aia-test.cnf \
80 -config aia-test.cnf
90 -config aia-test.cnf \
Dgenerate-policy-certs.sh42 -config policy.cnf
52 -extfile policy.cnf \
62 -config policy.cnf
71 -config policy.cnf \
82 -config policy.cnf
91 -config policy.cnf \
Dgenerate-client-certificates.sh53 -config client-certs.cnf
74 -config client-certs.cnf
84 -config client-certs.cnf
93 -config client-certs.cnf
103 -config client-certs.cnf
114 -config client-certs.cnf
126 -config client-certs.cnf
137 -config client-certs.cnf
Dgenerate-cross-signed-certs.sh43 -config ca.cnf
53 -extfile ca.cnf \
64 -extfile ca.cnf \
72 -config ee.cnf
82 -config ca.cnf
Dgenerate-duplicate-cn-certs.sh55 -config redundant-ca.cnf
64 -extfile redundant-ca.cnf \
75 -config ee.cnf
83 -config ee.cnf
99 -config redundant-ca.cnf
114 -config redundant-ca.cnf
Dgenerate-redundant-test-chains.sh66 -config redundant-ca.cnf
91 -config redundant-ca.cnf
137 -config redundant-ca.cnf
153 -config redundant-ca.cnf
160 -config ee.cnf
176 -config redundant-ca.cnf
/external/openssl/crypto/engine/
Deng_cnf.c92 static int int_engine_configure(char *name, char *value, const CONF *cnf) in int_engine_configure() argument
108 ecmds = NCONF_get_section(cnf, value); in int_engine_configure()
169 if (!NCONF_get_number_e(cnf, value, "init", &do_init)) in int_engine_configure()
216 static int int_engine_module_init(CONF_IMODULE *md, const CONF *cnf) in int_engine_module_init() argument
226 elist = NCONF_get_section(cnf, CONF_imodule_get_value(md)); in int_engine_module_init()
237 if (!int_engine_configure(cval->name, cval->value, cnf)) in int_engine_module_init()
/external/chromium_org/third_party/openssl/openssl/crypto/engine/
Deng_cnf.c92 static int int_engine_configure(char *name, char *value, const CONF *cnf) in int_engine_configure() argument
108 ecmds = NCONF_get_section(cnf, value); in int_engine_configure()
169 if (!NCONF_get_number_e(cnf, value, "init", &do_init)) in int_engine_configure()
216 static int int_engine_module_init(CONF_IMODULE *md, const CONF *cnf) in int_engine_module_init() argument
226 elist = NCONF_get_section(cnf, CONF_imodule_get_value(md)); in int_engine_module_init()
237 if (!int_engine_configure(cval->name, cval->value, cnf)) in int_engine_module_init()
/external/chromium_org/third_party/openssl/openssl/apps/
Dasn1pars.c389 CONF *cnf = NULL; in do_generate() local
397 cnf = NCONF_new(NULL); in do_generate()
398 if (!NCONF_load(cnf, genconf, &errline)) in do_generate()
401 genstr = NCONF_get_string(cnf, "default", "asn1"); in do_generate()
409 atyp = ASN1_generate_nconf(genstr, cnf); in do_generate()
410 NCONF_free(cnf); in do_generate()
411 cnf = NULL; in do_generate()
440 NCONF_free(cnf); in do_generate()
/external/openssl/apps/
Dasn1pars.c389 CONF *cnf = NULL; in do_generate() local
397 cnf = NCONF_new(NULL); in do_generate()
398 if (!NCONF_load(cnf, genconf, &errline)) in do_generate()
401 genstr = NCONF_get_string(cnf, "default", "asn1"); in do_generate()
409 atyp = ASN1_generate_nconf(genstr, cnf); in do_generate()
410 NCONF_free(cnf); in do_generate()
411 cnf = NULL; in do_generate()
440 NCONF_free(cnf); in do_generate()

123