/external/wpa_supplicant_8/hs20/server/ca/ |
D | setup.sh | 6 export OPENSSL_CONF=$PWD/openssl.cnf 19 cat openssl-root.cnf | sed "s/#@CN@/commonName_default = Hotspot 2.0 Trust Root CA - 99/" > openssl… 26 …$OPENSSL req -config openssl.cnf.tmp -batch -new -newkey rsa:4096 -keyout rootCA/private/cakey.pem… 28 …$OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out rootCA/cacert.pem -days 10957 -… 38 cat openssl.cnf | sed "s/#@CN@/commonName_default = w1.fi Hotspot 2.0 Intermediate CA/" > openssl.c… 45 …$OPENSSL req -config openssl.cnf.tmp -batch -new -newkey rsa:2048 -keyout demoCA/private/cakey.pem… 47 …$OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out demoCA/cacert.pem -days 3652 -b… 59 cat openssl.cnf | sed "s/#@CN@/commonName_default = ocsp.w1.fi/" > openssl.cnf.tmp 60 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out ocsp.csr -keyout… 61 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -keyfile demoCA/private/cakey.pem -passi… [all …]
|
/external/openssl/crypto/x509v3/ |
D | v3_cpols.c | 139 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 …]
|
D | v3_crld.c | 116 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 …]
|
D | v3_akey.c | 116 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()
|
D | v3_alt.c | 247 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 …]
|
D | v3_pci.c | 256 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()
|
D | v3_info.c | 139 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/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
D | v3_cpols.c | 139 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 …]
|
D | v3_crld.c | 116 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 …]
|
D | v3_akey.c | 116 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()
|
D | v3_alt.c | 247 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 …]
|
D | v3_pci.c | 256 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()
|
D | v3_info.c | 139 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/chromium_org/third_party/openssl/openssl/crypto/conf/ |
D | conf_mod.c | 112 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/openssl/crypto/conf/ |
D | conf_mod.c | 112 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/ |
D | generate-multi-root-test-chains.sh | 47 -config redundant-ca.cnf 55 -extfile redundant-ca.cnf \ 67 -config redundant-ca.cnf 75 -extfile redundant-ca.cnf \ 87 -config redundant-ca.cnf 111 -config redundant-ca.cnf 123 -config redundant-ca.cnf 134 -config redundant-ca.cnf 141 -config ee.cnf 152 -config redundant-ca.cnf
|
D | generate-test-certs.sh | 30 -config ca.cnf 38 -extfile ca.cnf \ 47 -config ee.cnf 53 -config ee.cnf 64 -config ca.cnf 73 -config ca.cnf
|
D | generate-redundant-test-chains.sh | 51 -config redundant-ca.cnf 59 -extfile redundant-ca.cnf \ 71 -config redundant-ca.cnf 79 -extfile redundant-ca.cnf \ 107 -config redundant-ca.cnf 118 -config redundant-ca.cnf 125 -config ee.cnf 136 -config redundant-ca.cnf
|
D | generate-client-certificates.sh | 53 -config client-certs.cnf 63 -extfile client-certs.cnf \ 75 -config client-certs.cnf 85 -config client-certs.cnf 94 -config client-certs.cnf 104 -config client-certs.cnf 115 -config client-certs.cnf 127 -config client-certs.cnf 138 -config client-certs.cnf
|
D | generate-policy-certs.sh | 42 -config policy.cnf 52 -extfile policy.cnf \ 63 -config policy.cnf 72 -config policy.cnf \ 83 -config policy.cnf 92 -config policy.cnf \
|
D | generate-duplicate-cn-certs.sh | 40 -config redundant-ca.cnf 47 -extfile redundant-ca.cnf \ 58 -config ee.cnf 66 -config ee.cnf 77 -config redundant-ca.cnf 87 -config redundant-ca.cnf
|
D | generate-aia-certs.sh | 39 -config aia-test.cnf 49 -extfile aia-test.cnf \ 61 -config aia-test.cnf 70 -config aia-test.cnf \ 81 -config aia-test.cnf 91 -config aia-test.cnf \
|
D | generate-cross-signed-certs.sh | 43 -config ca.cnf 53 -extfile ca.cnf \ 64 -extfile ca.cnf \ 72 -config ee.cnf 82 -config ca.cnf
|
/external/openssl/crypto/engine/ |
D | eng_cnf.c | 92 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/ |
D | eng_cnf.c | 92 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()
|