| /freebsd/crypto/openssl/crypto/store/ |
| H A D | store_register.c | 31 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() 50 res->scheme = scheme; in OSSL_STORE_LOADER_new() 61 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme() 140 return OPENSSL_LH_strhash(v->scheme); in store_loader_hash() 146 assert(a->scheme != NULL && b->scheme != NULL); in store_loader_cmp() 147 return strcmp(a->scheme, b->scheme); in store_loader_cmp() 162 const char *scheme = loader->scheme; in ossl_store_register_loader_int() local 171 if (ossl_isalpha(*scheme)) in ossl_store_register_loader_int() 172 while (*scheme != '\0' in ossl_store_register_loader_int() [all …]
|
| H A D | store_meth.c | 78 const char *scheme; /* For get_loader_from_store() */ member 146 id = ossl_namemap_name2num(namemap, methdata->scheme); in get_loader_from_store() 160 const char *scheme, const char *propdef, in put_loader_in_store() argument 168 || (id = ossl_namemap_name2num(namemap, scheme)) == 0) in put_loader_in_store() 264 const char *scheme = algodef->algorithm_names; in construct_loader() local 265 int id = ossl_namemap_add_name(namemap, 0, scheme); in construct_loader() 291 const char *scheme, const char *properties) in inner_loader_fetch() argument 305 id = scheme != NULL ? ossl_namemap_name2num(namemap, scheme) : 0; in inner_loader_fetch() 327 methdata->scheme = scheme; in inner_loader_fetch() 340 id = ossl_namemap_name2num(namemap, scheme); in inner_loader_fetch() [all …]
|
| H A D | store_local.h | 79 OSSL_STORE_LOADER *ossl_store_unregister_loader_int(const char *scheme); 85 const char *scheme; member 120 const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme); 170 const char *scheme,
|
| H A D | store_lib.c | 77 char scheme_copy[256], *p, *schemes[2], *scheme = NULL; in OSSL_STORE_open_ex() local 128 scheme = schemes[i]; in OSSL_STORE_open_ex() 129 OSSL_TRACE1(STORE, "Looking up scheme %s\n", scheme); in OSSL_STORE_open_ex() 132 if ((loader = ossl_store_get0_loader_int(scheme)) != NULL) { in OSSL_STORE_open_ex() 145 && (fetched_loader = OSSL_STORE_LOADER_fetch(libctx, scheme, propq)) != NULL) { in OSSL_STORE_open_ex() 178 OSSL_TRACE1(STORE, "Found loader for scheme %s\n", scheme); in OSSL_STORE_open_ex() 497 char scheme[256], *p; in OSSL_STORE_delete() local 505 OPENSSL_strlcpy(scheme, uri, sizeof(scheme)); in OSSL_STORE_delete() 506 if ((p = strchr(scheme, ':')) != NULL) in OSSL_STORE_delete() 518 OSSL_TRACE1(STORE, "Looking up scheme %s\n", scheme); in OSSL_STORE_delete() [all …]
|
| /freebsd/usr.bin/mkimg/ |
| H A D | scheme.c | 65 static struct mkimg_scheme *scheme; variable 104 scheme = s; in scheme_select() 115 return (scheme); in scheme_selected() 123 if (scheme == NULL || scheme->bootcode == 0) in scheme_bootcode() 128 if (sb.st_size > scheme->bootcode) in scheme_bootcode() 131 bootcode = malloc(scheme->bootcode); in scheme_bootcode() 134 memset(bootcode, 0, scheme->bootcode); in scheme_bootcode() 149 assert(scheme != NULL); in scheme_check_part() 156 iter = scheme->aliases; in scheme_check_part() 168 if (strlen(p->label) > scheme->labellen) in scheme_check_part() [all …]
|
| /freebsd/lib/libfetch/ |
| H A D | fetch.c | 83 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 D | http.c | 633 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 D | partedit.h | 76 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 D | gpart_ops.c | 80 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 D | part_wizard.c | 250 const char *scheme = NULL; in wizard_partition() local 270 scheme = gc->lg_val; in wizard_partition() 277 if (scheme != NULL && strcmp(scheme, "(none)") == 0) in wizard_partition() 278 scheme = NULL; in wizard_partition() 297 if (choice == BSDDIALOG_NO && scheme != NULL && !is_scheme_bootable(scheme)) { in wizard_partition() 306 scheme); in wizard_partition() 313 scheme = choose_part_type(default_scheme()); in wizard_partition() 314 if (scheme == NULL) in wizard_partition() 316 gpart_partition(disk, scheme); in wizard_partition() 319 if (scheme == NULL || choice == 0) { in wizard_partition() [all …]
|
| H A D | scripted.c | 65 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 D | partedit_efi.c | 71 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 D | partedit_x86.c | 95 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 D | mkimg_test.sh | 32 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/crypto/krb5/src/lib/gssapi/spnego/ |
| H A D | gssapiP_negoex.h | 88 auth_scheme scheme; member 93 auth_scheme scheme; member 101 auth_scheme scheme; member 118 auth_scheme scheme; member 153 const auth_scheme scheme, gss_buffer_t token); 155 negoex_add_verify_message(spnego_gss_ctx_id_t ctx, const auth_scheme scheme, 161 const auth_scheme scheme); 178 gss_const_OID oid, auth_scheme scheme); 189 negoex_locate_auth_scheme(spnego_gss_ctx_id_t ctx, const auth_scheme scheme);
|
| H A D | negoex_util.c | 195 info = guid_to_string(msg->u.e.scheme); in trace_received_message() 197 info = guid_to_string(msg->u.v.scheme); in trace_received_message() 199 info = guid_to_string(msg->u.a.scheme); in trace_received_message() 277 memcpy(msg->scheme, p, GUID_LENGTH); in parse_exchange_message() 303 memcpy(msg->scheme, p, GUID_LENGTH); in parse_verify_message() 342 memcpy(msg->scheme, p, GUID_LENGTH); in parse_alert_message() 609 k5_buf_add_len(&ctx->negoex_transcript, mech->scheme, GUID_LENGTH); in negoex_add_nego_message() 610 add_guid(&buf, mech->scheme); in negoex_add_nego_message() 624 const auth_scheme scheme, gss_buffer_t token) in negoex_add_exchange_message() argument 629 k5_buf_add_len(&ctx->negoex_transcript, scheme, GUID_LENGTH); in negoex_add_exchange_message() [all …]
|
| /freebsd/tools/boot/ |
| H A D | rootgen.sh | 106 scheme=$5 128 scheme=$5 151 scheme=$5 210 scheme=$5 230 scheme=$5 255 ${SRCTOP}/tools/boot/install-boot.sh -g ${geli} -s ${scheme} -f ${fs} -b ${bios} -d ${src} ${md} 264 scheme=$5 289 ${SRCTOP}/tools/boot/install-boot.sh -g ${geli} -s ${scheme} -f ${fs} -b ${bios} -d ${src} ${md} 298 scheme=$5 324 ${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 D | http_lib.c | 59 const char *scheme, *scheme_end; in OSSL_parse_url() local 83 scheme = scheme_end = url; in OSSL_parse_url() 89 if (scheme_end == scheme) in OSSL_parse_url() 162 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 D | dso_conf.h.in | 24 my $scheme = $disabled{dso} ? undef : uc $target{dso_scheme}; 25 if (!$scheme) { 26 $scheme = "NONE"; 28 my @macros = ( "DSO_$scheme" ); 29 if ($scheme eq 'DLFCN') { 31 } elsif ($scheme eq "DLFCN_NO_H") {
|
| /freebsd/contrib/llvm-project/lldb/tools/lldb-server/ |
| H A D | Acceptor.cpp | 39 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/unbound/testcode/ |
| H A D | unitzonemd.c | 61 int scheme, int hashalgo, const char* digest) in zonemd_generate_test() argument 94 result = auth_zone_generate_zonemd_hash(z, scheme, hashalgo, in zonemd_generate_test() 118 scheme, hashalgo); in zonemd_generate_test() 179 int scheme = 1; in zonemd_check_test() local 220 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 226 result = auth_zone_generate_zonemd_check(z, scheme, 242, in zonemd_check_test() 229 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 232 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 235 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | UriParser.h | 22 llvm::StringRef scheme; member 28 return port == R.port && scheme == R.scheme && hostname == R.hostname &&
|
| /freebsd/contrib/ntp/sntp/libevent/sample/ |
| H A D | https-client.c | 222 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 D | https-client.c | 222 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 D | SM2.asn1 | 10 sm-scheme OBJECT IDENTIFIER ::= { oscca 1 } 14 sm2-with-SM3 OBJECT IDENTIFIER ::= { sm-scheme 501 } 18 curveSM2 OBJECT IDENTIFIER ::= { sm-scheme 301 }
|