Home
last modified time | relevance | path

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

12345678910>>...28

/netbsd-src/crypto/external/bsd/openssl.old/dist/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()
53 res->scheme = scheme; in OSSL_STORE_LOADER_new()
64 return loader->scheme; in OSSL_STORE_LOADER_get0_scheme()
134 return OPENSSL_LH_strhash(v->scheme); in store_loader_hash()
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()
158 while (*scheme != '\0' in ossl_store_register_loader_int()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/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,
/netbsd-src/share/examples/refuse/ian/libfetch/
H A Dfetch.c83 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet()
85 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchXGet()
87 else if (strcasecmp(URL->scheme, SCHEME_HTTP) == 0) in fetchXGet()
89 else if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchXGet()
112 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut()
114 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchPut()
116 else if (strcasecmp(URL->scheme, SCHEME_HTTP) == 0) in fetchPut()
118 else if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchPut()
135 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat()
137 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchStat()
[all …]
/netbsd-src/external/bsd/fetch/dist/libfetch/
H A Dfetch.c88 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchXGet()
90 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchXGet()
92 else if (strcasecmp(URL->scheme, SCHEME_HTTP) == 0) in fetchXGet()
94 else if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchXGet()
118 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchPut()
120 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchPut()
122 else if (strcasecmp(URL->scheme, SCHEME_HTTP) == 0) in fetchPut()
124 else if (strcasecmp(URL->scheme, SCHEME_HTTPS) == 0) in fetchPut()
142 if (strcasecmp(URL->scheme, SCHEME_FILE) == 0) in fetchStat()
144 else if (strcasecmp(URL->scheme, SCHEME_FTP) == 0) in fetchStat()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Durl.c57 const char **scheme ));
59 int ldap_pvt_url_scheme2proto( const char *scheme ) in ldap_pvt_url_scheme2proto() argument
61 assert( scheme != NULL ); in ldap_pvt_url_scheme2proto()
63 if( scheme == NULL ) { in ldap_pvt_url_scheme2proto()
67 if( strcmp("ldap", scheme) == 0 || strcmp("pldap", scheme) == 0 ) { in ldap_pvt_url_scheme2proto()
71 if( strcmp("ldapi", scheme) == 0 ) { in ldap_pvt_url_scheme2proto()
75 if( strcmp("ldaps", scheme) == 0 || strcmp("pldaps", scheme) == 0 ) { in ldap_pvt_url_scheme2proto()
79 if( strcmp("cldap", scheme) == 0 ) { in ldap_pvt_url_scheme2proto()
87 int ldap_pvt_url_scheme_port( const char *scheme, int port ) in ldap_pvt_url_scheme_port() argument
89 assert( scheme != NULL ); in ldap_pvt_url_scheme_port()
[all …]
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/pbkdf2/
H A Dpw-pbkdf2.c146 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()
179 }else if(!ber_bvcmp(scheme, &pbkdf2_sha256_scheme)){ in pbkdf2_encrypt()
182 }else if(!ber_bvcmp(scheme, &pbkdf2_sha512_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()
201 }else if(!ber_bvcmp(scheme, &pbkdf2_sha256_scheme)){ in pbkdf2_encrypt()
207 }else if(!ber_bvcmp(scheme, &pbkdf2_sha512_scheme)){ in pbkdf2_encrypt()
236 printf("Encrypt for %s\n", scheme->bv_val); in pbkdf2_encrypt()
[all …]
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/sha2/
H A Dslapd-sha2.c46 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
167 return lutil_passwd_string64(scheme, &digest, hash, &salt); in hash_ssha512()
[all …]
/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Dcolor.cpp80 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-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dpasswd.c154 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
201 bv.bv_val = strchr( scheme, '}' ); in get_scheme()
205 bv.bv_len = bv.bv_val - scheme + 1; in get_scheme()
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()
224 return get_scheme(scheme) != NULL; in lutil_passwd_scheme()
229 const char* scheme, in is_allowed_scheme() argument
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/pwmods/
H A Dargon2.c68 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-src/external/bsd/openldap/dist/contrib/ldapc++/src/
H A DLDAPUrl.cpp150 void LDAPUrl::setScheme( const std::string &scheme ) in setScheme() argument
152 if (scheme == "ldap" || scheme == "ldaps" || in setScheme()
153 scheme == "ldapi" || scheme == "cldap" ) in setScheme()
155 m_Scheme = scheme; in setScheme()
159 "Unknown URL scheme: \"" + scheme + "\""); in setScheme()
173 std::string scheme = m_urlString.substr(0, pos); in parseUrl() local
174 DEBUG(LDAP_DEBUG_TRACE, " scheme is <" << scheme << ">" << std::endl); in parseUrl()
176 if ( scheme == "ldap" ) { in parseUrl()
177 m_Scheme = scheme; in parseUrl()
178 } else if ( scheme == "ldaps" ) { in parseUrl()
[all …]
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/totp/
H A Dslapd-totp.c521 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
606 return chk_totp_and_pw(scheme, passwd, cred, text, TOTP_SHA1); in chk_totp1andpw()
610 const struct berval *scheme, in chk_totp256andpw() argument
615 return chk_totp_and_pw(scheme, passwd, cred, text, TOTP_SHA256); in chk_totp256andpw()
619 const struct berval *scheme, in chk_totp512andpw() argument
624 return chk_totp_and_pw(scheme, passwd, cred, text, TOTP_SHA512); in chk_totp512andpw()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/http/
H A Dhttp_lib.c51 const char *scheme, *scheme_end; in OSSL_parse_url() local
75 scheme = scheme_end = url; in OSSL_parse_url()
81 if (scheme_end == scheme) in OSSL_parse_url()
157 if (!copy_substring(pscheme, scheme, scheme_end) in OSSL_parse_url()
196 char *scheme, *port; in OSSL_HTTP_parse_url() local
202 if (!OSSL_parse_url(url, &scheme, puser, phost, &port, pport_num, in OSSL_HTTP_parse_url()
207 if (strcmp(scheme, OSSL_HTTPS_NAME) == 0) { in OSSL_HTTP_parse_url()
211 } else if (*scheme != '\0' && strcmp(scheme, OSSL_HTTP_NAME) != 0) { in OSSL_HTTP_parse_url()
213 OPENSSL_free(scheme); in OSSL_HTTP_parse_url()
217 OPENSSL_free(scheme); in OSSL_HTTP_parse_url()
/netbsd-src/crypto/external/bsd/openssl/dist/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") {
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/crypto/
H A Ddso_conf.h.in19 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-src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
H A Dapr1.c166 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-src/external/bsd/openldap/dist/doc/rfc/
H A Drfc3112.txt92 authPasswordValue = w scheme s authInfo s authValue w
93 scheme = %x30-39 / %x41-5A / %x2D-2F / %x5F
104 where scheme describes the mechanism and authInfo and authValue are a
105 scheme specific. The authInfo field is often a base64 encoded salt.
124 for the scheme naming, in section 3.
139 same scheme, authInfo, and authValue components as the asserted
152 component. Each value is matched per its scheme. The assertion is
185 password schemes which the server supports. The syntax of a scheme
220 private or implementation specific scheme, or may be named using the
222 scheme.
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dslappasswd.c120 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-src/external/bsd/unbound/dist/testcode/
H A Dunitzonemd.c61 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-src/external/bsd/openldap/dist/doc/guide/admin/
H A Dsecurity.sdf178 This is also the most interoperable storage scheme.
184 Note: Values of password attributes, regardless of storage scheme
193 runs out of values to inspect. The storage scheme is stored as a prefix
195 scheme looks like:
211 H3: SSHA password storage scheme
213 This is the salted version of the SHA scheme. It is believed to be the
214 most secure password storage scheme supported by {{slapd}}.
221 H3: CRYPT password storage scheme
223 This scheme uses the operating system's {{crypt(3)}} hash function.
231 The advantage of the CRYPT scheme is that passwords can be
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/asn1/
H A Dp5_scrypt.c44 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-src/external/bsd/libevent/dist/sample/
H A Dhttps-client.c223 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-src/crypto/external/bsd/openssl.old/dist/doc/man3/
H A DOSSL_STORE_LOADER.pod24 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 …]

12345678910>>...28