/netbsd/crypto/external/bsd/openssl.old/dist/crypto/store/ |
H A D | store_register.c | 41 if (scheme == NULL) { in OSSL_STORE_LOADER_new() 53 res->scheme = scheme; in OSSL_STORE_LOADER_new() 64 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme() 140 assert(a->scheme != NULL && b->scheme != NULL); in store_loader_cmp() 141 return strcmp(a->scheme, b->scheme); in store_loader_cmp() 148 const char *scheme = loader->scheme; in ossl_store_register_loader_int() local 157 if (ossl_isalpha(*scheme)) in ossl_store_register_loader_int() 162 scheme++; in ossl_store_register_loader_int() 163 if (*scheme != '\0') { in ossl_store_register_loader_int() 211 template.scheme = scheme; in ossl_store_get0_loader_int() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/store/ |
H A D | store_register.c | 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() 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() 179 scheme++; in ossl_store_register_loader_int() 180 if (*scheme != '\0') { in ossl_store_register_loader_int() 219 template.scheme = scheme; in ossl_store_get0_loader_int() [all …]
|
H A D | store_meth.c | 163 id = ossl_namemap_name2num(namemap, methdata->scheme); in get_loader_from_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() 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() 348 methdata->scheme = scheme; in inner_loader_fetch() 372 if ((id != 0 || scheme != NULL) && method == NULL) { in inner_loader_fetch() 381 if (scheme == NULL) in inner_loader_fetch() 382 scheme = ossl_namemap_num2name(namemap, id, 0); 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 119 const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme); 169 const char *scheme,
|
/netbsd/share/examples/refuse/ian/libfetch/ |
H A D | fetch.c | 83 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet() 112 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut() 135 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat() 154 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchList() 256 if (!scheme || (!host && !doc)) { in fetchMakeURL() 279 seturl(scheme); in fetchMakeURL() 310 snprintf(u->scheme, URL_SCHEMELEN+1, in fetchParseURL() 323 (u->scheme[0] == '\0' && in fetchParseURL() 377 if (strcasecmp(u->scheme, SCHEME_HTTP) == 0 || in fetchParseURL() 378 strcasecmp(u->scheme, SCHEME_HTTPS) == 0) { in fetchParseURL() [all …]
|
/netbsd/external/bsd/fetch/dist/libfetch/ |
H A D | fetch.c | 266 if (!scheme || (!host && !doc)) { in fetchMakeURL() 289 seturl(scheme); in fetchMakeURL() 380 strcpy(u->scheme, SCHEME_FILE); in fetchParseURL() 386 strcpy(u->scheme, SCHEME_FILE); in fetchParseURL() 399 strcpy(u->scheme, SCHEME_HTTP); in fetchParseURL() 402 strcpy(u->scheme, SCHEME_HTTPS); in fetchParseURL() 416 strcpy(u->scheme, SCHEME_FTP); in fetchParseURL() 606 url->scheme, in fetchStringifyURL() 607 url->scheme[0] != '\0' ? "://" : "", in fetchStringifyURL() 617 url->scheme, in fetchStringifyURL() [all …]
|
/netbsd/external/bsd/openldap/dist/libraries/libldap/ |
H A D | url.c | 67 if( strcmp("ldap", scheme) == 0 || strcmp("pldap", scheme) == 0 ) { in ldap_pvt_url_scheme2proto() 75 if( strcmp("ldaps", scheme) == 0 || strcmp("pldaps", scheme) == 0 ) { in ldap_pvt_url_scheme2proto() 94 if( strcmp("ldap", scheme) == 0 || strcmp("pldap", scheme) == 0 ) { in ldap_pvt_url_scheme_port() 102 if( strcmp("ldaps", scheme) == 0 || strcmp("pldaps", scheme) == 0 ) { in ldap_pvt_url_scheme_port() 124 return strcmp("ldaps", scheme) == 0 || strcmp("pldaps", scheme) == 0; in ldap_pvt_url_scheme2tls() 136 return strcmp("pldap", scheme) == 0 || strcmp("pldaps", scheme) == 0; in ldap_pvt_url_scheme2proxied() 143 const char * scheme; in ldap_is_ldap_url() local 170 return strcmp(scheme, "ldaps") == 0 || strcmp(scheme, "pldaps") == 0; in ldap_is_ldaps_url() 244 *scheme = "ldap"; in skip_url_prefix() 252 *scheme = "pldap"; in skip_url_prefix() [all …]
|
/netbsd/external/bsd/openldap/dist/contrib/slapd-modules/passwd/pbkdf2/ |
H A D | pw-pbkdf2.c | 146 const struct berval *scheme, in pbkdf2_encrypt() argument 173 if(!ber_bvcmp(scheme, &pbkdf2_scheme)){ in pbkdf2_encrypt() 176 }else if(!ber_bvcmp(scheme, &pbkdf2_sha1_scheme)){ in pbkdf2_encrypt() 189 if(!ber_bvcmp(scheme, &pbkdf2_scheme)){ in pbkdf2_encrypt() 195 }else if(!ber_bvcmp(scheme, &pbkdf2_sha1_scheme)){ in pbkdf2_encrypt() 236 printf("Encrypt for %s\n", scheme->bv_val); in pbkdf2_encrypt() 264 const struct berval *scheme, in pbkdf2_check() argument 292 printf("Checking for %s\n", scheme->bv_val); in pbkdf2_check() 298 if(!ber_bvcmp(scheme, &pbkdf2_scheme)){ in pbkdf2_check() 301 }else if(!ber_bvcmp(scheme, &pbkdf2_sha1_scheme)){ in pbkdf2_check() [all …]
|
/netbsd/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/ |
H A D | slapd-sha2.c | 46 const struct berval *scheme, in hash_ssha256() argument 71 return lutil_passwd_string64(scheme, &digest, hash, &salt); in hash_ssha256() 75 const struct berval *scheme, in hash_sha256() argument 90 return lutil_passwd_string64(scheme, &digest, hash, NULL); in hash_sha256() 94 const struct berval *scheme, in hash_ssha384() argument 119 return lutil_passwd_string64(scheme, &digest, hash, &salt); in hash_ssha384() 123 const struct berval *scheme, in hash_sha384() argument 138 return lutil_passwd_string64(scheme, &digest, hash, NULL); in hash_sha384() 142 const struct berval *scheme, in hash_ssha512() argument 171 const struct berval *scheme, in hash_sha512() argument [all …]
|
/netbsd/external/gpl2/groff/dist/src/libs/libgroff/ |
H A D | color.cpp | 80 scheme = c->scheme; in color() 93 if (scheme != c.scheme) in operator ==() 95 switch (scheme) { in operator ==() 134 return scheme; in get_components() 139 scheme = DEFAULT; in set_default() 147 scheme = RGB; in set_rgb() 158 scheme = CMY; in set_cmy() 169 scheme = CMYK; in set_cmyk() 180 scheme = GRAY; in set_gray() 220 scheme = cs; in read_encoding() [all …]
|
/netbsd/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | passwd.c | 154 struct berval *scheme, in lutil_passwd_add() argument 165 ptr->s.name = *scheme; in lutil_passwd_add() 194 const char* scheme ) in get_scheme() argument 206 bv.bv_val = (char *) scheme; in get_scheme() 218 const char* scheme ) in lutil_passwd_scheme() argument 220 if( scheme == NULL ) { in lutil_passwd_scheme() 229 const char* scheme, in is_allowed_scheme() argument 255 if( strncasecmp( passwd->bv_val, scheme->name.bv_val, scheme->name.bv_len ) == 0 ) { in passwd_scheme() 756 const struct berval *scheme, in hash_ssha1() argument 787 const struct berval *scheme, in hash_sha1() argument [all …]
|
/netbsd/external/bsd/openldap/dist/servers/slapd/pwmods/ |
H A D | argon2.c | 68 const struct berval *scheme, in slapd_argon2_hash() argument 104 p = hash->bv_val = ber_memalloc( scheme->bv_len + encoded_length ); in slapd_argon2_hash() 110 AC_MEMCPY( p, scheme->bv_val, scheme->bv_len ); in slapd_argon2_hash() 111 p += scheme->bv_len; in slapd_argon2_hash() 122 hash->bv_len = scheme->bv_len + encoded_length; in slapd_argon2_hash() 131 p = hash->bv_val = ber_memalloc( scheme->bv_len + crypto_pwhash_STRBYTES ); in slapd_argon2_hash() 136 AC_MEMCPY( hash->bv_val, scheme->bv_val, scheme->bv_len ); in slapd_argon2_hash() 137 p += scheme->bv_len; in slapd_argon2_hash() 157 const struct berval *scheme, in slapd_argon2_verify() argument
|
/netbsd/external/bsd/openldap/dist/contrib/ldapc++/src/ |
H A D | LDAPUrl.cpp | 152 if (scheme == "ldap" || scheme == "ldaps" || in setScheme() 153 scheme == "ldapi" || scheme == "cldap" ) in setScheme() 155 m_Scheme = scheme; in setScheme() 176 if ( scheme == "ldap" ) { in parseUrl() 177 m_Scheme = scheme; in parseUrl() 178 } else if ( scheme == "ldaps" ) { in parseUrl() 179 m_Scheme = scheme; in parseUrl() 180 } else if ( scheme == "ldapi" ) { in parseUrl() 181 m_Scheme = scheme; in parseUrl() 182 } else if ( scheme == "cldap" ) { in parseUrl() [all …]
|
/netbsd/external/bsd/openldap/dist/contrib/slapd-modules/passwd/totp/ |
H A D | slapd-totp.c | 521 const struct berval *scheme, in chk_totp_and_pw() argument 574 const struct berval *scheme, in chk_totp1() argument 583 const struct berval *scheme, in chk_totp256() argument 592 const struct berval *scheme, in chk_totp512() argument 601 const struct berval *scheme, in chk_totp1andpw() argument 610 const struct berval *scheme, in chk_totp256andpw() argument 619 const struct berval *scheme, in chk_totp512andpw() argument 628 const struct berval *scheme, in passwd_string32() argument 636 AC_MEMCPY(hash->bv_val, scheme->bv_val, scheme->bv_len); in passwd_string32() 648 const struct berval *scheme, in hash_totp_and_pw() argument [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/http/ |
H A D | http_lib.c | 44 const char *scheme, *scheme_end; in OSSL_parse_url() local 67 scheme = scheme_end = url; in OSSL_parse_url() 73 if (scheme_end == scheme) in OSSL_parse_url() 149 if (!copy_substring(pscheme, scheme, scheme_end) in OSSL_parse_url() 188 char *scheme, *port; in OSSL_HTTP_parse_url() local 194 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, in OSSL_HTTP_parse_url() 199 if (strcmp(scheme, OSSL_HTTPS_NAME) == 0) { in OSSL_HTTP_parse_url() 203 } else if (*scheme != '\0' && strcmp(scheme, OSSL_HTTP_NAME) != 0) { in OSSL_HTTP_parse_url() 205 OPENSSL_free(scheme); in OSSL_HTTP_parse_url() 209 OPENSSL_free(scheme); in OSSL_HTTP_parse_url()
|
/netbsd/crypto/external/bsd/openssl.old/dist/include/crypto/ |
H A D | dso_conf.h.in | 19 my $scheme = $disabled{dso} ? undef : uc $target{dso_scheme}; 20 if (!$scheme) { 21 $scheme = "NONE"; 23 my @macros = ( "DSO_$scheme" ); 24 if ($scheme eq 'DLFCN') { 26 } elsif ($scheme eq "DLFCN_NO_H") {
|
/netbsd/crypto/external/bsd/openssl/dist/include/crypto/ |
H A D | dso_conf.h.in | 21 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") {
|
/netbsd/external/bsd/openldap/dist/contrib/slapd-modules/passwd/ |
H A D | apr1.c | 166 const struct berval *scheme, in chk_apr1() argument 175 const struct berval *scheme, in chk_bsdmd5() argument 184 const struct berval *scheme, in hash_phk() argument 213 return lutil_passwd_string64(scheme, &digest, hash, &salt); in hash_phk() 217 const struct berval *scheme, in hash_apr1() argument 222 return hash_phk(scheme, &magic_apr1, passwd, hash, text); in hash_apr1() 226 const struct berval *scheme, in hash_bsdmd5() argument 231 return hash_phk(scheme, &magic_bsdmd5, passwd, hash, text); in hash_bsdmd5()
|
/netbsd/external/bsd/openldap/dist/doc/rfc/ |
H A D | rfc3112.txt | 92 authPasswordValue = w scheme s authInfo s authValue w 93 scheme = %x30-39 / %x41-5A / %x2D-2F / %x5F 124 for the scheme naming, in section 3. 222 scheme. 231 3.1. MD5 scheme 233 The MD5 [RFC1321] scheme name is "MD5". 254 Values of this scheme SHOULD only be used to implement simple 257 3.2. SHA1 scheme 259 The SHA1 [SHA1] scheme name is "SHA1". 303 SHOULD support the MD5 scheme. [all …]
|
/netbsd/external/bsd/openldap/dist/servers/slapd/ |
H A D | slappasswd.c | 120 char *scheme = default_scheme; in slappasswd() local 144 scheme = "{CRYPT}"; in slappasswd() 164 if ( scheme != default_scheme ) { in slappasswd() 169 scheme = optarg; in slappasswd() 275 lutil_passwd_hash( &passwd, scheme, &hash, &text ); in slappasswd() 279 scheme, text ? text : "" ); in slappasswd()
|
/netbsd/external/bsd/unbound/dist/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() 178 int scheme = 1; in zonemd_check_test() local 219 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 225 result = auth_zone_generate_zonemd_check(z, scheme, 242, in zonemd_check_test() 228 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 231 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test() 234 result = auth_zone_generate_zonemd_check(z, scheme, hashalgo, in zonemd_check_test()
|
/netbsd/external/bsd/openldap/dist/doc/guide/admin/ |
H A D | security.sdf | 178 This is also the most interoperable storage scheme. 195 scheme looks like: 211 H3: SSHA password storage scheme 221 H3: CRYPT password storage scheme 239 H3: MD5 password storage scheme 248 scheme is vulnerable to a dictionary attack. 250 H3: SMD5 password storage scheme 260 H3: SHA password storage scheme 264 of salt leaves the scheme exposed to dictionary attacks. 268 H3: SASL password storage scheme [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
H A D | p5_scrypt.c | 44 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()
|
/netbsd/external/bsd/libevent/dist/sample/ |
H A D | https-client.c | 223 const char *scheme, *host, *path, *query; in main() local 312 scheme = evhttp_uri_get_scheme(http_uri); in main() 313 if (scheme == NULL || (strcasecmp(scheme, "https") != 0 && in main() 314 strcasecmp(scheme, "http") != 0)) { in main() 327 port = (strcasecmp(scheme, "http") == 0) ? 80 : 443; in main() 433 if (strcasecmp(scheme, "http") == 0) { in main()
|
/netbsd/crypto/external/bsd/openssl.old/dist/doc/man3/ |
H A D | OSSL_STORE_LOADER.pod | 24 OSSL_STORE_LOADER *OSSL_STORE_LOADER_new(ENGINE *e, const char *scheme); 66 OSSL_STORE_LOADER *OSSL_STORE_unregister_loader(const char *scheme); 76 It contains a scheme and the functions needed to implement 78 OSSL_STORE_close() for this scheme. 94 manner possible according to the scheme the loader implements, it also 181 It takes an B<ENGINE> B<e> and a string B<scheme>. 182 B<scheme> must I<always> be set. 183 Both B<e> and B<scheme> are used as is and must therefore be alive as 187 OSSL_STORE_LOADER_get0_scheme() returns the scheme of the B<store_loader>. 214 B<scheme>. [all …]
|