Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 220) sorted by relevance

123456789

/freebsd/crypto/openssl/crypto/store/
H A Dstore_register.c31 OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme) in OSSL_STORE_LOADER_new() argument
41 if (scheme == NULL) { in OSSL_STORE_LOADER_new()
52 res->scheme = scheme; in OSSL_STORE_LOADER_new()
63 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme()
143 return OPENSSL_LH_strhash(v->scheme); in store_loader_hash()
149 assert(a->scheme != NULL && b->scheme != NULL); in store_loader_cmp()
150 return strcmp(a->scheme, b->scheme); in store_loader_cmp()
165 const char *scheme = loader->scheme; in ossl_store_register_loader_int() local
174 if (ossl_isalpha(*scheme)) in ossl_store_register_loader_int()
175 while (*scheme != '\0' in ossl_store_register_loader_int()
[all …]
H A Dstore_meth.c94 const char *scheme; /* For get_loader_from_store() */ member
163 id = ossl_namemap_name2num(namemap, methdata->scheme); in get_loader_from_store()
177 const char *scheme, const char *propdef, in put_loader_in_store() argument
185 || (id = ossl_namemap_name2num(namemap, scheme)) == 0) in put_loader_in_store()
274 const char *scheme = algodef->algorithm_names; in construct_loader() local
275 int id = ossl_namemap_add_name(namemap, 0, scheme); in construct_loader()
301 const char *scheme, const char *properties) in inner_loader_fetch() argument
318 if (!ossl_assert(id == 0 || scheme == NULL)) { in inner_loader_fetch()
324 if (id == 0 && scheme != NULL) in inner_loader_fetch()
325 id = ossl_namemap_name2num(namemap, scheme); in inner_loader_fetch()
[all …]
H A Dstore_local.h79 OSSL_STORE_LOADER *ossl_store_unregister_loader_int(const char *scheme);
85 const char *scheme; member
119 const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme);
169 const char *scheme,
/freebsd/usr.bin/mkimg/
H A Dscheme.c63 static struct mkimg_scheme *scheme; variable
102 scheme = s; in scheme_select()
113 return (scheme); in scheme_selected()
121 if (scheme == NULL || scheme->bootcode == 0) in scheme_bootcode()
126 if (sb.st_size > scheme->bootcode) in scheme_bootcode()
129 bootcode = malloc(scheme->bootcode); in scheme_bootcode()
132 memset(bootcode, 0, scheme->bootcode); in scheme_bootcode()
147 assert(scheme != NULL); in scheme_check_part()
154 iter = scheme->aliases; in scheme_check_part()
166 if (strlen(p->label) > scheme->labellen) in scheme_check_part()
[all …]
/freebsd/lib/libfetch/
H A Dfetch.c83 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet()
85 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchXGet()
87 else if (strcmp(URL->scheme, SCHEME_HTTP) == 0) in fetchXGet()
89 else if (strcmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchXGet()
113 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut()
115 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchPut()
117 else if (strcmp(URL->scheme, SCHEME_HTTP) == 0) in fetchPut()
119 else if (strcmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchPut()
137 if (strcmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat()
139 else if (strcmp(URL->scheme, SCHEME_FTP) == 0) in fetchStat()
[all …]
H A Dhttp.c633 http_auth_schemes_t scheme; member
646 b->scheme = HTTPAS_UNKNOWN; in init_http_auth_challenge()
783 cs->challenges[cs->count]->scheme = HTTPAS_BASIC; in http_parse_authenticate()
785 cs->challenges[cs->count]->scheme = HTTPAS_DIGEST; in http_parse_authenticate()
787 cs->challenges[cs->count]->scheme = HTTPAS_UNKNOWN; in http_parse_authenticate()
1024 char *scheme; member
1033 s->scheme = s->realm = s->user = s->password = NULL; in init_http_auth_params()
1039 if (s->scheme) in clean_http_auth_params()
1040 free(s->scheme); in clean_http_auth_params()
1067 if ((parms->scheme = strdup(v)) == NULL) { in http_authfromenv()
[all …]
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dpartedit.h76 int gpart_partition(const char *lg_name, const char *scheme);
77 void set_default_part_metadata(const char *name, const char *scheme,
84 int is_scheme_bootable(const char *scheme); /* Non-zero if scheme boots */
85 int is_fs_bootable(const char *scheme, const char *fs); /* Ditto if FS boots */
88 size_t bootpart_size(const char *scheme);
96 const char *bootpart_type(const char *scheme, const char **mountpoint);
99 const char *bootcode_path(const char *scheme);
106 const char *partcode_path(const char *scheme, const char *fs_type);
H A Dgpart_ops.c80 scheme_supports_labels(const char *scheme) in scheme_supports_labels() argument
82 if (strcmp(scheme, "APM") == 0) in scheme_supports_labels()
84 if (strcmp(scheme, "GPT") == 0) in scheme_supports_labels()
236 const char *scheme = NULL; in choose_part_type() local
280 scheme = items[choice].name; in choose_part_type()
282 return scheme; in choose_part_type()
286 gpart_partition(const char *lg_name, const char *scheme) in gpart_partition() argument
296 if (scheme == NULL) { in gpart_partition()
297 scheme = choose_part_type(default_scheme()); in gpart_partition()
299 if (scheme == NULL) in gpart_partition()
[all …]
H A Dpart_wizard.c229 const char *scheme = NULL; in wizard_partition() local
249 scheme = gc->lg_val; in wizard_partition()
256 if (scheme != NULL && strcmp(scheme, "(none)") == 0) in wizard_partition()
257 scheme = NULL; in wizard_partition()
276 if (choice == BSDDIALOG_NO && scheme != NULL && !is_scheme_bootable(scheme)) { in wizard_partition()
285 scheme); in wizard_partition()
292 scheme = choose_part_type(default_scheme()); in wizard_partition()
293 if (scheme == NULL) in wizard_partition()
295 gpart_partition(disk, scheme); in wizard_partition()
298 if (scheme == NULL || choice == 0) { in wizard_partition()
[all …]
H A Dscripted.c65 part_config(char *disk, const char *scheme, char *config) in part_config() argument
73 if (scheme == NULL) in part_config()
74 scheme = default_scheme(); in part_config()
96 gpart_partition(disk, scheme); in part_config()
98 if (strcmp(scheme, "MBR") == 0) { in part_config()
160 char *disk = NULL, *scheme = NULL, *partconfig = NULL; in parse_disk_config() local
185 else if (scheme == NULL) in parse_disk_config()
186 scheme = strsep(&input, " \t\n"); in parse_disk_config()
204 return (part_config(disk, scheme, partconfig)); in parse_disk_config()
H A Dpartedit_efi.c71 bootpart_size(const char *scheme) in bootpart_size() argument
75 if (strcmp(scheme, "GPT") != 0) in bootpart_size()
82 bootpart_type(const char *scheme, const char **mountpoint) in bootpart_type() argument
H A Dpartedit_x86.c95 bootpart_size(const char *scheme) in bootpart_size() argument
99 if (strcmp(scheme, "GPT") != 0) in bootpart_size()
111 bootpart_type(const char *scheme, const char **mountpoint) in bootpart_type() argument
/freebsd/usr.bin/mkimg/tests/
H A Dmkimg_test.sh32 local blksz bootarg bootsz format geom nhds nsecs partarg pfx scheme
35 scheme=$2
44 bootsz=`bootcode $scheme`
62 imagename=$pfx-$geom-$blksz-$scheme.$format
64 mkimg -y -f $format -o $imagename -s $scheme -P $blksz -H $nhds -T $nsecs \
98 local blksz format geom scheme
102 scheme=$3
105 case $scheme in
114 image=`makeimage $format $scheme $blksz $geom img $partinfo`
/freebsd/tools/boot/
H A Drootgen.sh106 scheme=$5
128 scheme=$5
151 scheme=$5
210 scheme=$5
237 scheme=$5
257 scheme=$5
284 scheme=$5
309 ${SRCTOP}/tools/boot/install-boot.sh -g ${geli} -s ${scheme} -f ${fs} -b ${bios} -d ${src} ${md}
318 scheme=$5
343 ${SRCTOP}/tools/boot/install-boot.sh -g ${geli} -s ${scheme} -f ${fs} -b ${bios} -d ${src} ${md}
[all …]
/freebsd/crypto/openssl/crypto/http/
H A Dhttp_lib.c58 const char *scheme, *scheme_end; in OSSL_parse_url() local
82 scheme = scheme_end = url; in OSSL_parse_url()
88 if (scheme_end == scheme) in OSSL_parse_url()
164 if (!copy_substring(pscheme, scheme, scheme_end) in OSSL_parse_url()
203 char *scheme, *port; in OSSL_HTTP_parse_url() local
209 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, in OSSL_HTTP_parse_url()
214 if (strcmp(scheme, OSSL_HTTPS_NAME) == 0) { in OSSL_HTTP_parse_url()
218 } else if (*scheme != '\0' && strcmp(scheme, OSSL_HTTP_NAME) != 0) { in OSSL_HTTP_parse_url()
220 OPENSSL_free(scheme); in OSSL_HTTP_parse_url()
224 OPENSSL_free(scheme); in OSSL_HTTP_parse_url()
/freebsd/crypto/openssl/include/crypto/
H A Ddso_conf.h.in21 my $scheme = $disabled{dso} ? undef : uc $target{dso_scheme};
22 if (!$scheme) {
23 $scheme = "NONE";
25 my @macros = ( "DSO_$scheme" );
26 if ($scheme eq 'DLFCN') {
28 } elsif ($scheme eq "DLFCN_NO_H") {
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A DAcceptor.cpp39 bool FindProtocolByScheme(const char *scheme, in FindProtocolByScheme() argument
42 if (!strcmp(s.m_scheme, scheme)) { in FindProtocolByScheme()
90 if (!FindProtocolByScheme(res->scheme.str().c_str(), socket_protocol)) in Create()
92 res->scheme.str().c_str()); in Create()
94 name = name.drop_front(res->scheme.size() + strlen("://")); in Create()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DUriParser.h22 llvm::StringRef scheme; member
28 return port == R.port && scheme == R.scheme && hostname == R.hostname &&
/freebsd/contrib/ntp/sntp/libevent/sample/
H A Dhttps-client.c222 const char *scheme, *host, *path, *query; in main() local
311 scheme = evhttp_uri_get_scheme(http_uri); in main()
312 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && in main()
313 strcasecmp(scheme, "http") != 0)) { in main()
326 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; in main()
432 if (strcasecmp(scheme, "http") == 0) { in main()
/freebsd/contrib/libevent/sample/
H A Dhttps-client.c222 const char *scheme, *host, *path, *query; in main() local
311 scheme = evhttp_uri_get_scheme(http_uri); in main()
312 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && in main()
313 strcasecmp(scheme, "http") != 0)) { in main()
326 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; in main()
432 if (strcasecmp(scheme, "http") == 0) { in main()
/freebsd/crypto/openssl/providers/common/der/
H A DSM2.asn110 sm-scheme OBJECT IDENTIFIER ::= { oscca 1 }
14 sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 }
18 curveSM2 OBJECT IDENTIFIER ::= { sm-scheme 301 }
/freebsd/crypto/openssl/crypto/asn1/
H A Dp5_scrypt.c46 X509_ALGOR *scheme = NULL, *ret = NULL; in PKCS5_pbe2_set_scrypt() local
74 scheme = pbe2->encryption; in PKCS5_pbe2_set_scrypt()
76 scheme->algorithm = OBJ_nid2obj(alg_nid); in PKCS5_pbe2_set_scrypt()
77 scheme->parameter = ASN1_TYPE_new(); in PKCS5_pbe2_set_scrypt()
78 if (scheme->parameter == NULL) in PKCS5_pbe2_set_scrypt()
96 if (EVP_CIPHER_param_to_asn1(ctx, scheme->parameter) <= 0) { in PKCS5_pbe2_set_scrypt()
H A Dp5_pbev2.c47 X509_ALGOR *scheme = NULL, *ret = NULL; variable
63 scheme = pbe2->encryption;
64 scheme->algorithm = OBJ_nid2obj(alg_nid);
65 if ((scheme->parameter = ASN1_TYPE_new()) == NULL)
84 if (EVP_CIPHER_param_to_asn1(ctx, scheme->parameter) <= 0) {
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Dgpmc-nand.txt35 Refer below "How to select correct ECC scheme for your device ?"
105 How to select correct ECC scheme for your device ?
107 Higher ECC scheme usually means better protection against bit-flips and
108 increased system lifetime. However, selection of ECC scheme is dependent
120 Other factor which governs the selection of ecc-scheme is oob-size.
137 trying to use BCH16 (ECC_BYTES=26) ecc-scheme.
144 trying to use BCH16 (ECC_BYTES=26) ecc-scheme.
147 (OOBSIZE=128). So this device can use BCH16 ecc-scheme.
/freebsd/contrib/libfido2/src/
H A Dtpm.c110 uint16_t scheme; /* TPM_ALG_NULL */
119 uint16_t scheme; /* TPM_ALG_NULL */
194 x->param.scheme = htobe16(x->param.scheme); in bswap_rs256_pubarea()
207 x->param.scheme = htobe16(x->param.scheme); in bswap_es256_pubarea()
247 expected.param.scheme = TPM_ALG_NULL; in check_rs256_pubarea()
282 expected.param.scheme = TPM_ALG_NULL; /* TCG Alg. Registry, 5.2.4 */ in check_es256_pubarea()

123456789