Home
last modified time | relevance | path

Searched refs:hash_alg (Results 1 – 9 of 9) sorted by relevance

/system/tpm/trunks/
Dtpm_utility.h112 TPM_ALG_ID hash_alg,
124 TPM_ALG_ID hash_alg,
138 TPM_ALG_ID hash_alg,
152 TPM_ALG_ID hash_alg,
Dtpm_utility_impl.cc59 trunks::TPM_ALG_ID hash_alg) { in HashString() argument
60 switch (hash_alg) { in HashString()
362 digests.digests[0].hash_alg = TPM_ALG_SHA256; in ExtendPCR()
411 TPM_ALG_ID hash_alg, in AsymmetricEncrypt() argument
416 if (hash_alg == TPM_ALG_NULL) { in AsymmetricEncrypt()
417 hash_alg = TPM_ALG_SHA256; in AsymmetricEncrypt()
423 in_scheme.details.oaep.hash_alg = hash_alg; in AsymmetricEncrypt()
474 TPM_ALG_ID hash_alg, in AsymmetricDecrypt() argument
479 if (hash_alg == TPM_ALG_NULL) { in AsymmetricDecrypt()
480 hash_alg = TPM_ALG_SHA256; in AsymmetricDecrypt()
[all …]
Dtpm_utility_impl.h62 TPM_ALG_ID hash_alg,
68 TPM_ALG_ID hash_alg,
74 TPM_ALG_ID hash_alg,
80 TPM_ALG_ID hash_alg,
Dtrunks_factory_for_test.cc176 TPM_ALG_ID hash_alg, in AsymmetricEncrypt() argument
182 hash_alg, in AsymmetricEncrypt()
190 TPM_ALG_ID hash_alg, in AsymmetricDecrypt() argument
196 hash_alg, in AsymmetricDecrypt()
204 TPM_ALG_ID hash_alg, in Sign() argument
210 hash_alg, in Sign()
218 TPM_ALG_ID hash_alg, in Verify() argument
222 return target_->Verify(key_handle, scheme, hash_alg, in Verify()
Dmock_tpm.h422 const TPMI_ALG_HASH& hash_alg,
428 const TPMI_ALG_HASH& hash_alg,
437 const TPMI_ALG_HASH& hash_alg,
444 const TPMI_ALG_HASH& hash_alg,
466 const TPMI_ALG_HASH& hash_alg,
473 const TPMI_ALG_HASH& hash_alg,
478 const TPMI_ALG_HASH& hash_alg,
483 const TPMI_ALG_HASH& hash_alg,
1192 const TPMI_ALG_HASH& hash_alg,
1199 const TPMI_ALG_HASH& hash_alg,
Dtpm_generated.h961 TPMI_ALG_HASH hash_alg; member
1280 TPMI_ALG_HASH hash_alg; member
1284 TPMI_ALG_HASH hash_alg; member
1299 TPMI_ALG_HASH hash_alg; member
1320 TPMI_ALG_HASH hash_alg; member
1324 TPMI_ALG_HASH hash_alg; member
1328 TPMI_ALG_HASH hash_alg; member
1332 TPMI_ALG_HASH hash_alg; member
1336 TPMI_ALG_HASH hash_alg; member
1340 TPMI_ALG_HASH hash_alg; member
[all …]
Dtpm_generated_test.cc425 null_scheme.details.rsassa.hash_alg = TPM_ALG_SHA256; in TEST_F()
Dtpm_utility_test.cc434 EXPECT_EQ(TPM_ALG_SHA256, digests.digests[0].hash_alg); in TEST_F()
582 EXPECT_EQ(scheme.details.oaep.hash_alg, TPM_ALG_SHA256); in TEST_F()
728 EXPECT_EQ(scheme.details.oaep.hash_alg, TPM_ALG_SHA256); in TEST_F()
945 EXPECT_EQ(scheme.details.rsassa.hash_alg, TPM_ALG_SHA256); in TEST_F()
975 EXPECT_EQ(scheme.details.rsapss.hash_alg, TPM_ALG_SHA1); in TEST_F()
Dtpm_generated.cc1125 result = Serialize_TPMI_ALG_HASH(value.hash_alg, buffer); in Serialize_TPMS_SCHEME_SIGHASH()
1141 &value->hash_alg, in Parse_TPMS_SCHEME_SIGHASH()
2440 result = Serialize_TPMI_ALG_HASH(value.hash_alg, buffer); in Serialize_TPMT_HA()
2447 value.hash_alg, in Serialize_TPMT_HA()
2464 &value->hash_alg, in Parse_TPMT_HA()
2472 value->hash_alg, in Parse_TPMT_HA()
5822 result = Serialize_TPMI_ALG_HASH(value.hash_alg, buffer); in Serialize_TPMS_SCHEME_XOR()
5843 &value->hash_alg, in Parse_TPMS_SCHEME_XOR()
5973 result = Serialize_TPMI_ALG_HASH(value.hash_alg, buffer); in Serialize_TPMS_SCHEME_ECDAA()
5994 &value->hash_alg, in Parse_TPMS_SCHEME_ECDAA()
[all …]