/external/libcups/cups/ |
D | auth.c | 40 static const char *cups_auth_find(const char *www_authenticate, const char *scheme); 41 static const char *cups_auth_param(const char *scheme, const char *name, char *value, size_t valsiz… 42 static const char *cups_auth_scheme(const char *www_authenticate, char *scheme, size_t schemesize); 114 char scheme[256], /* Scheme name */ in cupsDoAuthentication() local 168 …_scheme(www_auth, scheme, sizeof(scheme)); schemedata; schemedata = cups_auth_scheme(schemedata + … in cupsDoAuthentication() 174 DEBUG_printf(("2cupsDoAuthentication: Trying scheme \"%s\"...", scheme)); in cupsDoAuthentication() 177 if (!_cups_strcasecmp(scheme, "Negotiate")) in cupsDoAuthentication() 204 if (_cups_strcasecmp(scheme, "Basic") && _cups_strcasecmp(scheme, "Digest")) in cupsDoAuthentication() 210 DEBUG_printf(("2cupsDoAuthentication: Scheme \"%s\" not yet supported.", scheme)); in cupsDoAuthentication() 218 …ries > 1 || !http->userpass[0]) && (!_cups_strcasecmp(scheme, "Basic") || (!_cups_strcasecmp(schem… in cupsDoAuthentication() [all …]
|
D | http-support.c | 157 const char *scheme, /* I - Scheme name */ in httpAssembleURI() argument 171 if (!uri || urilen < 1 || !scheme || port < 0) in httpAssembleURI() 184 ptr = http_copy_encode(uri, scheme, end, NULL, NULL, 0); in httpAssembleURI() 189 if (!strcmp(scheme, "geo") || !strcmp(scheme, "mailto") || !strcmp(scheme, "tel")) in httpAssembleURI() 437 const char *scheme, /* I - Scheme name */ in httpAssembleURIf() argument 453 if (!uri || urilen < 1 || !scheme || port < 0 || !resourcef) in httpAssembleURIf() 475 return (httpAssembleURI(encoding, uri, urilen, scheme, username, host, in httpAssembleURIf() 891 char *scheme, /* O - Scheme [32] (http, https, etc.) */ in httpSeparate() argument 897 httpSeparateURI(HTTP_URI_CODING_ALL, uri, scheme, 32, username, in httpSeparate() 915 char *scheme, /* O - Scheme (http, https, etc.) */ in httpSeparate2() argument [all …]
|
/external/tpm2-tss/test/integration/ |
D | esys-rsa-encrypt-decrypt.int.c | 89 .scheme = { .scheme = TPM2_ALG_RSAES }, in test_esys_rsa_encrypt_decrypt() 124 inPublic.publicArea.parameters.rsaDetail.scheme.scheme = in test_esys_rsa_encrypt_decrypt() 127 inPublic.publicArea.parameters.rsaDetail.scheme.scheme = in test_esys_rsa_encrypt_decrypt() 130 inPublic.publicArea.parameters.rsaDetail.scheme.scheme = in test_esys_rsa_encrypt_decrypt() 132 inPublic.publicArea.parameters.rsaDetail.scheme.details.oaep. in test_esys_rsa_encrypt_decrypt() 161 TPMT_RSA_DECRYPT scheme; in test_esys_rsa_encrypt_decrypt() local 164 scheme.scheme = TPM2_ALG_NULL; in test_esys_rsa_encrypt_decrypt() 166 scheme.scheme = TPM2_ALG_RSAES; in test_esys_rsa_encrypt_decrypt() 168 scheme.scheme = TPM2_ALG_OAEP; in test_esys_rsa_encrypt_decrypt() 169 scheme.details.oaep.hashAlg = TPM2_ALG_SHA1; in test_esys_rsa_encrypt_decrypt() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptEccCrypt.c | 53 TPMT_KDF_SCHEME *scheme // IN: a decrypt scheme in CryptEccSelectScheme() argument 59 if(scheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme() 60 *scheme = *keyScheme; in CryptEccSelectScheme() 61 if(keyScheme->scheme == TPM_ALG_NULL) in CryptEccSelectScheme() 62 keyScheme = scheme; in CryptEccSelectScheme() 63 return (scheme->scheme != TPM_ALG_NULL && in CryptEccSelectScheme() 64 (keyScheme->scheme == scheme->scheme in CryptEccSelectScheme() 65 && keyScheme->details.anyKdf.hashAlg == scheme->details.anyKdf.hashAlg)); in CryptEccSelectScheme() 81 TPMT_KDF_SCHEME *scheme, // IN: scheme to use. in CryptEccEncrypt() argument 116 if (TPM_ALG_KDF2 != scheme->scheme) in CryptEccEncrypt() [all …]
|
D | CryptUtil.c | 88 &signKey->publicArea.parameters.keyedHashDetail.scheme; in CryptHMACVerifySignature() 98 if((keyScheme->scheme != TPM_ALG_NULL) in CryptHMACVerifySignature() 99 && ((keyScheme->scheme != signature->sigAlg) in CryptHMACVerifySignature() 132 TPMT_KEYEDHASH_SCHEME *scheme; in CryptGenerateKeyedHash() local 136 scheme = &publicArea->parameters.keyedHashDetail.scheme; in CryptGenerateKeyedHash() 142 if(scheme->scheme == TPM_ALG_NULL) in CryptGenerateKeyedHash() 144 else if(scheme->scheme == TPM_ALG_XOR) in CryptGenerateKeyedHash() 145 hashAlg = scheme->details.xor.hashAlg; in CryptGenerateKeyedHash() 147 hashAlg = scheme->details.hmac.hashAlg; in CryptGenerateKeyedHash() 191 TPM_ALG_ID scheme // IN: the scheme algorithm to test in CryptIsSchemeAnonymous() argument [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBEPBKDF2.java | 155 private int scheme; field in PBEPBKDF2.BasePBKDF2 162 public BasePBKDF2(String name, int scheme) in BasePBKDF2() argument 164 this(name, scheme, SHA1); in BasePBKDF2() 170 String name, int scheme, int digest, int keySizeInBits, int ivSizeInBits) in BasePBKDF2() argument 175 this.scheme = scheme; in BasePBKDF2() 184 private BasePBKDF2(String name, int scheme, int digest) { in BasePBKDF2() argument 185 this(name, scheme, digest, 0, 0); in BasePBKDF2() 205 this.algName, this.algOid, scheme, defaultDigest, keySizeInBits, in engineGenerateSecret() 244 … CipherParameters param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 246 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Challenge.java | 22 private final String scheme; field in Challenge 25 public Challenge(String scheme, String realm) { in Challenge() argument 26 this.scheme = scheme; in Challenge() 32 return scheme; in getScheme() 42 && equal(scheme, ((Challenge) o).scheme) in equals() 49 result = 31 * result + (scheme != null ? scheme.hashCode() : 0); in hashCode() 54 return scheme + " realm=\"" + realm + "\""; in toString()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | Challenge.java | 24 private final String scheme; field in Challenge 27 public Challenge(String scheme, String realm) { in Challenge() argument 28 this.scheme = scheme; in Challenge() 34 return scheme; in getScheme() 44 && equal(scheme, ((Challenge) o).scheme) in equals() 51 result = 31 * result + (scheme != null ? scheme.hashCode() : 0); in hashCode() 56 return scheme + " realm=\"" + realm + "\""; in toString()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBEPBKDF2.java | 162 private int scheme; field in PBEPBKDF2.BasePBKDF2 169 public BasePBKDF2(String name, int scheme) in BasePBKDF2() argument 171 this(name, scheme, SHA1); in BasePBKDF2() 177 String name, int scheme, int digest, int keySizeInBits, int ivSizeInBits) in BasePBKDF2() argument 182 this.scheme = scheme; in BasePBKDF2() 191 private BasePBKDF2(String name, int scheme, int digest) { in BasePBKDF2() argument 192 this(name, scheme, digest, 0, 0); in BasePBKDF2() 212 this.algName, this.algOid, scheme, defaultDigest, keySizeInBits, in engineGenerateSecret() 251 … CipherParameters param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 253 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret() [all …]
|
/external/python/cpython2/Lib/ |
D | urlparse.py | 137 def urlparse(url, scheme='', allow_fragments=True): argument 143 tuple = urlsplit(url, scheme, allow_fragments) 144 scheme, netloc, url, query, fragment = tuple 145 if scheme in uses_params and ';' in url: 149 return ParseResult(scheme, netloc, url, params, query, fragment) 168 def urlsplit(url, scheme='', allow_fragments=True): argument 175 key = url, scheme, allow_fragments, type(url), type(scheme) 185 scheme = url[:i].lower() 196 v = SplitResult(scheme, netloc, url, query, fragment) 208 scheme, url = url[:i].lower(), rest [all …]
|
/external/apache-http/src/org/apache/http/auth/ |
D | AuthScope.java | 83 private final String scheme; field in AuthScope 112 final String realm, final String scheme) in AuthScope() argument 117 this.scheme = (scheme == null) ? ANY_SCHEME: scheme.toUpperCase(Locale.ENGLISH); in AuthScope() 164 this.scheme = authscope.getScheme(); in AuthScope() 192 return this.scheme; in getScheme() 204 if (LangUtils.equals(this.scheme, that.scheme)) { in match() 207 if (this.scheme != ANY_SCHEME && that.scheme != ANY_SCHEME) { in match() 254 && LangUtils.equals(this.scheme, that.scheme); in equals() 263 if (this.scheme != null) { in toString() 264 buffer.append(this.scheme.toUpperCase(Locale.ENGLISH)); in toString() [all …]
|
/external/rust/crates/url/src/ |
D | origin.rs | 16 let scheme = url.scheme(); in url_origin() localVariable 17 match scheme { in url_origin() 26 scheme.to_owned(), in url_origin() 79 Origin::Tuple(ref scheme, ref host, port) => { in ascii_serialization() 80 if default_port(scheme) == Some(port) { in ascii_serialization() 81 format!("{}://{}", scheme, host) in ascii_serialization() 83 format!("{}://{}:{}", scheme, host, port) in ascii_serialization() 93 Origin::Tuple(ref scheme, ref host, port) => { in unicode_serialization() 101 if default_port(scheme) == Some(port) { in unicode_serialization() 102 format!("{}://{}", scheme, host) in unicode_serialization() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBEPBKDF2.java | 162 private int scheme; field in PBEPBKDF2.BasePBKDF2 169 public BasePBKDF2(String name, int scheme) in BasePBKDF2() argument 171 this(name, scheme, SHA1); in BasePBKDF2() 177 String name, int scheme, int digest, int keySizeInBits, int ivSizeInBits) in BasePBKDF2() argument 182 this.scheme = scheme; in BasePBKDF2() 191 private BasePBKDF2(String name, int scheme, int digest) { in BasePBKDF2() argument 192 this(name, scheme, digest, 0, 0); in BasePBKDF2() 212 this.algName, this.algOid, scheme, defaultDigest, keySizeInBits, in engineGenerateSecret() 251 … CipherParameters param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 253 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret() [all …]
|
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/ |
D | SPIRVAvailability.td | 57 class MinVersionBase<string name, I32EnumAttr scheme, I32EnumAttrCase min> 61 let queryFnRetType = scheme.returnType; 64 let mergeAction = "$overall = static_cast<" # scheme.returnType # ">(" 66 let initializer = "static_cast<" # scheme.returnType # ">(uint32_t(0))"; 67 let instanceType = scheme.cppNamespace # "::" # scheme.className; 69 let instance = scheme.cppNamespace # "::" # scheme.className # "::" # 73 class MaxVersionBase<string name, I32EnumAttr scheme, I32EnumAttrCase max> 77 let queryFnRetType = scheme.returnType; 80 let mergeAction = "$overall = static_cast<" # scheme.returnType # ">(" 82 let initializer = "static_cast<" # scheme.returnType # ">(~uint32_t(0))"; [all …]
|
/external/curl/tests/libtest/ |
D | lib1536.c | 31 char *scheme; in test() local 41 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme); in test() 47 if(scheme != NULL) { in test() 66 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme); in test() 72 if(memcmp(scheme, "HTTP", 5) != 0) { in test() 76 (scheme == NULL ? "NULL" : "invalid")); in test() 92 res = curl_easy_getinfo(dupe, CURLINFO_SCHEME, &scheme); in test() 98 if(scheme != 0) { in test() 111 res = curl_easy_getinfo(curl, CURLINFO_SCHEME, &scheme); in test() 117 if(scheme != 0) { in test()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Asymmetric/ |
D | ZGen_2Phase.c | 60 TPM_ALG_ID scheme; in TPM2_ZGen_2Phase() local 77 scheme = eccKey->publicArea.parameters.asymDetail.scheme.scheme; in TPM2_ZGen_2Phase() 78 if(scheme != TPM_ALG_NULL) in TPM2_ZGen_2Phase() 80 if(scheme != in->inScheme) in TPM2_ZGen_2Phase() 84 scheme = in->inScheme; in TPM2_ZGen_2Phase() 85 if(scheme == TPM_ALG_NULL) in TPM2_ZGen_2Phase() 108 scheme, in TPM2_ZGen_2Phase()
|
/external/boringssl/src/util/fipstools/acvp/acvptool/test/vectors/ |
D | KAS-ECC-SSC.bz2 |
|
/external/libbrillo/brillo/http/ |
D | http_proxy.cc | 64 std::string scheme = base::ToLowerASCII(std::string(token.begin(), space)); in ParseProxyInfo() local 66 if (scheme == "socks") { in ParseProxyInfo() 67 scheme += "4"; in ParseProxyInfo() 68 } else if (scheme == "proxy") { in ParseProxyInfo() 69 scheme = "http"; in ParseProxyInfo() 70 } else if (scheme != "https" && scheme != "socks4" && scheme != "socks5" && in ParseProxyInfo() 71 scheme != "direct") { in ParseProxyInfo() 72 LOG(ERROR) << "Invalid proxy scheme found of: " << scheme; in ParseProxyInfo() 78 if (scheme != "direct" && host_and_port.empty()) { in ParseProxyInfo() 82 proxies_out->push_back(scheme + "://" + host_and_port); in ParseProxyInfo()
|
/external/grpc-grpc/src/objective-c/tests/ |
D | run_tests.sh | 55 -scheme AllTests \ 85 -scheme CoreCronetEnd2EndTests \ 95 -scheme CoreCronetEnd2EndTests_Asan \ 105 -scheme CoreCronetEnd2EndTests_Tsan \ 115 -scheme CronetUnitTests \ 125 -scheme InteropTestsRemoteWithCronet \ 136 -scheme InteropTestsRemoteCFStream \ 147 -scheme InteropTestsLocalCleartextCFStream \ 158 -scheme InteropTestsLocalSSLCFStream \
|
/external/openscreen/third_party/mozilla/ |
D | url_parse.cc | 247 bool DoExtractScheme(const char* url, int url_len, Component* scheme) { in DoExtractScheme() argument 258 *scheme = MakeRange(begin, i); in DoExtractScheme() 322 if (DoExtractScheme(spec, spec_len, &parsed->scheme)) { in DoParseStandardURL() 323 after_scheme = parsed->scheme.end() + 1; // Skip past the colon. in DoParseStandardURL() 328 parsed->scheme.reset(); in DoParseStandardURL() 353 parsed->scheme.reset(); in DoParseFileSystemURL() 360 if (DoExtractScheme(&spec[begin], spec_len - begin, &parsed->scheme)) { in DoParseFileSystemURL() 362 parsed->scheme.begin += begin; in DoParseFileSystemURL() 364 if (parsed->scheme.end() == spec_len - 1) in DoParseFileSystemURL() 367 inner_start = parsed->scheme.end() + 1; in DoParseFileSystemURL() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | PBESecretKeyFactory.java | 21 private int scheme; field in PBESecretKeyFactory 30 int scheme, in PBESecretKeyFactory() argument 38 this.scheme = scheme; in PBESecretKeyFactory() 55 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 60 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 64 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 67 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | PBESecretKeyFactory.java | 17 private int scheme; field in PBESecretKeyFactory 26 int scheme, in PBESecretKeyFactory() argument 34 this.scheme = scheme; in PBESecretKeyFactory() 51 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 60 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 63 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | PBESecretKeyFactory.java | 21 private int scheme; field in PBESecretKeyFactory 30 int scheme, in PBESecretKeyFactory() argument 38 this.scheme = scheme; in PBESecretKeyFactory() 55 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 60 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 64 param = PBE.Util.makePBEMacParameters(pbeSpec, scheme, digest, keySize); in engineGenerateSecret() 67 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
D | UriLoader.java | 27 final String scheme = model.getScheme(); in getResourceFetcher() local 30 if (isLocalUri(scheme)) { in getResourceFetcher() 37 } else if (urlLoader != null && ("http".equals(scheme) || "https".equals(scheme))) { in getResourceFetcher() 48 private static boolean isLocalUri(String scheme) { in isLocalUri() argument 49 return ContentResolver.SCHEME_FILE.equals(scheme) in isLocalUri() 50 || ContentResolver.SCHEME_CONTENT.equals(scheme) in isLocalUri() 51 || ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme); in isLocalUri()
|
/external/tpm2-tss/test/unit/ |
D | TPMT-marshal.c | 114 pub.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in tpmt_marshal_success_offset() 115 pub.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA256; in tpmt_marshal_success_offset() 122 assert_int_equal (ptr5->scheme.scheme, HOST_TO_BE_16(TPM2_ALG_HMAC)); in tpmt_marshal_success_offset() 123 assert_int_equal (ptr5->scheme.details.hmac.hashAlg, HOST_TO_BE_16(TPM2_ALG_SHA256)); in tpmt_marshal_success_offset() 152 pub.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in tpmt_marshal_buffer_null_with_offset() 153 pub.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA256; in tpmt_marshal_buffer_null_with_offset() 201 pub.parameters.keyedHashDetail.scheme.scheme = TPM2_ALG_HMAC; in tpmt_marshal_buffer_size_lt_data_nad_lt_offset() 202 pub.parameters.keyedHashDetail.scheme.details.hmac.hashAlg = TPM2_ALG_SHA256; in tpmt_marshal_buffer_size_lt_data_nad_lt_offset() 254 ptr5->scheme.scheme = HOST_TO_BE_16(TPM2_ALG_HMAC); in tpmt_unmarshal_success() 255 ptr5->scheme.details.hmac.hashAlg = HOST_TO_BE_16(TPM2_ALG_SHA256); in tpmt_unmarshal_success() [all …]
|