Home
last modified time | relevance | path

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

/system/update_engine/
Dchrome_browser_proxy_resolver.cc170 string scheme = base::ToLowerASCII(string(token.begin(), space)); in ParseProxyString() local
172 if (scheme == "socks") in ParseProxyString()
173 scheme += "4"; in ParseProxyString()
174 else if (scheme == "proxy") in ParseProxyString()
175 scheme = "http"; in ParseProxyString()
176 else if (scheme != "https" && in ParseProxyString()
177 scheme != "socks4" && in ParseProxyString()
178 scheme != "socks5" && in ParseProxyString()
179 scheme != "direct") in ParseProxyString()
184 if (scheme != "direct" && host_and_port.empty()) in ParseProxyString()
[all …]
/system/core/crash_reporter/
Dlist_proxies.cc83 std::string scheme = base::ToLowerASCII(std::string(token.begin(), space)); in ParseProxyString() local
85 if (scheme == "socks") in ParseProxyString()
86 scheme += "4"; in ParseProxyString()
87 else if (scheme == "proxy") in ParseProxyString()
88 scheme = "http"; in ParseProxyString()
89 else if (scheme != "https" && in ParseProxyString()
90 scheme != "socks4" && in ParseProxyString()
91 scheme != "socks5" && in ParseProxyString()
92 scheme != "direct") in ParseProxyString()
97 if (scheme != "direct" && host_and_port.empty()) in ParseProxyString()
[all …]
/system/tpm/trunks/
Dtpm_utility_impl.cc410 TPM_ALG_ID scheme, in AsymmetricEncrypt() argument
419 if (scheme == TPM_ALG_RSAES) { in AsymmetricEncrypt()
420 in_scheme.scheme = TPM_ALG_RSAES; in AsymmetricEncrypt()
421 } else if (scheme == TPM_ALG_OAEP || scheme == TPM_ALG_NULL) { in AsymmetricEncrypt()
422 in_scheme.scheme = TPM_ALG_OAEP; in AsymmetricEncrypt()
473 TPM_ALG_ID scheme, in AsymmetricDecrypt() argument
482 if (scheme == TPM_ALG_RSAES) { in AsymmetricDecrypt()
483 in_scheme.scheme = TPM_ALG_RSAES; in AsymmetricDecrypt()
484 } else if (scheme == TPM_ALG_OAEP || scheme == TPM_ALG_NULL) { in AsymmetricDecrypt()
485 in_scheme.scheme = TPM_ALG_OAEP; in AsymmetricDecrypt()
[all …]
Dtpm_utility.h111 TPM_ALG_ID scheme,
123 TPM_ALG_ID scheme,
137 TPM_ALG_ID scheme,
151 TPM_ALG_ID scheme,
Dtpm_utility_impl.h61 TPM_ALG_ID scheme,
67 TPM_ALG_ID scheme,
73 TPM_ALG_ID scheme,
79 TPM_ALG_ID scheme,
Dtrunks_factory_for_test.cc175 TPM_ALG_ID scheme, in AsymmetricEncrypt() argument
181 scheme, in AsymmetricEncrypt()
189 TPM_ALG_ID scheme, in AsymmetricDecrypt() argument
195 scheme, in AsymmetricDecrypt()
203 TPM_ALG_ID scheme, in Sign() argument
209 scheme, in Sign()
217 TPM_ALG_ID scheme, in Verify() argument
222 return target_->Verify(key_handle, scheme, hash_alg, in Verify()
Dtpm_utility_test.cc567 TPMT_RSA_DECRYPT scheme; in TEST_F() local
573 SaveArg<3>(&scheme), in TEST_F()
581 EXPECT_EQ(scheme.scheme, TPM_ALG_OAEP); in TEST_F()
582 EXPECT_EQ(scheme.details.oaep.hash_alg, TPM_ALG_SHA256); in TEST_F()
597 TPMT_RSA_DECRYPT scheme; in TEST_F() local
603 SaveArg<3>(&scheme), in TEST_F()
611 EXPECT_EQ(scheme.scheme, TPM_ALG_RSAES); in TEST_F()
712 TPMT_RSA_DECRYPT scheme; in TEST_F() local
718 SaveArg<3>(&scheme), in TEST_F()
727 EXPECT_EQ(scheme.scheme, TPM_ALG_OAEP); in TEST_F()
[all …]
Dtpm_generated_test.cc388 std::string scheme("\x00\x10", 2); // scheme=TPM_ALG_NULL in TEST_F() local
402 expected_command += auth_in + user_data + scheme; in TEST_F()
424 null_scheme.scheme = TPM_ALG_NULL; in TEST_F()
Dtpm_generated.h1294 TPMI_ALG_KEYEDHASH_SCHEME scheme; member
1315 TPMI_ALG_SIG_SCHEME scheme; member
1351 TPMI_ALG_KDF scheme; member
1368 TPMI_ALG_ASYM_SCHEME scheme; member
1373 TPMI_ALG_RSA_SCHEME scheme; member
1378 TPMI_ALG_RSA_DECRYPT scheme; member
1408 TPMI_ALG_ECC_SCHEME scheme; member
1471 TPMT_KEYEDHASH_SCHEME scheme; member
1476 TPMT_ASYM_SCHEME scheme; member
1481 TPMT_RSA_SCHEME scheme; member
[all …]
Dtpm_generated.cc5926 result = Serialize_TPMI_ALG_KEYEDHASH_SCHEME(value.scheme, buffer); in Serialize_TPMT_KEYEDHASH_SCHEME()
5933 value.scheme, in Serialize_TPMT_KEYEDHASH_SCHEME()
5950 &value->scheme, in Parse_TPMT_KEYEDHASH_SCHEME()
5958 value->scheme, in Parse_TPMT_KEYEDHASH_SCHEME()
6162 result = Serialize_TPMI_ALG_SIG_SCHEME(value.scheme, buffer); in Serialize_TPMT_SIG_SCHEME()
6169 value.scheme, in Serialize_TPMT_SIG_SCHEME()
6186 &value->scheme, in Parse_TPMT_SIG_SCHEME()
6194 value->scheme, in Parse_TPMT_SIG_SCHEME()
6484 result = Serialize_TPMI_ALG_KDF(value.scheme, buffer); in Serialize_TPMT_KDF_SCHEME()
6491 value.scheme, in Serialize_TPMT_KDF_SCHEME()
[all …]
/system/core/libdiskconfig/
Ddiskconfig.c185 dinfo->scheme = PART_SCHEME_MBR; in load_diskconfig()
396 switch (dinfo->scheme) { in validate_and_config()
468 switch (dinfo->scheme) { in dump_disk_config()
523 switch (dinfo->scheme) { in find_part_device()
/system/core/include/diskconfig/
Ddiskconfig.h91 uint8_t scheme; member
/system/tpm/trunks/generator/
Draw_commands.txt1642 a parameter that should be a key derivation scheme (KDF) selection does not
1660 a parameter that should be signing or encryption scheme selection does not have
3547 If the TPM implements a “gap” scheme for assigning contextID values, then the TPM shall return
4245 5) If the key is an ECC key and the scheme required by the curveID is not the same as scheme in
4488 inconsistent attributes decrypt, sign, restricted and key's scheme ID;
4489 or hash algorithm is inconsistent with the scheme ID for keyed hash
4496 hash object is larger than is allowed for the scheme
4898 the signing scheme is not valid for the key
5331 the signing scheme is not valid for the key
5471 // Validate the scheme parameters
[all …]
Draw_commands_fixed.txt1642 a parameter that should be a key derivation scheme (KDF) selection does not
1660 a parameter that should be signing or encryption scheme selection does not have
3547 If the TPM implements a “gap” scheme for assigning contextID values, then the TPM shall return
4247 5) If the key is an ECC key and the scheme required by the curveID is not the same as scheme in
4490 inconsistent attributes decrypt, sign, restricted and key's scheme ID;
4491 or hash algorithm is inconsistent with the scheme ID for keyed hash
4498 hash object is larger than is allowed for the scheme
4900 the signing scheme is not valid for the key
5333 the signing scheme is not valid for the key
5473 // Validate the scheme parameters
[all …]
Draw_structures.txt2952 ECC elliptic-curve based, anonymous signing scheme
5104 unsupported or incompatible scheme
7853 A mode, method, or scheme may have an associated asymmetric, symmetric, or hash algorithm.
8728 is symmetrically encrypted using the parameter encryption scheme described in Part
8772 first parameter in the response using the parameter encryption scheme described in
10115 This is the definition of the interface type for a signature scheme. This table would change accord…
10150 response code when a signature scheme is not correct
10153 This is the definition of the interface type for an ECC key exchange scheme. This table would change
10172 response code when a key exchange scheme is not correct
12879 This structure is the scheme data for schemes that only require a hash to complete the scheme defin…
[all …]
Draw_structures_fixed.txt2946 ECC elliptic-curve based, anonymous signing scheme
5098 unsupported or incompatible scheme
7881 A mode, method, or scheme may have an associated asymmetric, symmetric, or hash algorithm.
8756 is symmetrically encrypted using the parameter encryption scheme described in Part
8800 first parameter in the response using the parameter encryption scheme described in
10143 This is the definition of the interface type for a signature scheme. This table would change accord…
10178 response code when a signature scheme is not correct
10181 This is the definition of the interface type for an ECC key exchange scheme. This table would change
10200 response code when a key exchange scheme is not correct
12891 This structure is the scheme data for schemes that only require a hash to complete the scheme defin…
[all …]
/system/vold/
DDisk.cpp407 dinfo.scheme = PART_SCHEME_MBR; in partitionPublic()
/system/connectivity/shill/doc/
Dservice-api.txt1247 pac_script); scheme of URL must be specified
1261 [<proxy-scheme>"://"]<proxy-host>[":"<proxy-port>];
1262 if the proxy to use depends on the scheme of the
1264 <url-scheme>"="<proxy-uri>
1289 3) [<scheme>"://"]<ip_literal>[":"<port>]