/system/tpm/trunks/ |
D | tpm_utility.h | 112 TPM_ALG_ID hash_alg, 124 TPM_ALG_ID hash_alg, 138 TPM_ALG_ID hash_alg, 152 TPM_ALG_ID hash_alg,
|
D | tpm_utility_impl.cc | 59 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 …]
|
D | tpm_utility_impl.h | 62 TPM_ALG_ID hash_alg, 68 TPM_ALG_ID hash_alg, 74 TPM_ALG_ID hash_alg, 80 TPM_ALG_ID hash_alg,
|
D | trunks_factory_for_test.cc | 176 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()
|
D | mock_tpm.h | 422 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,
|
D | tpm_generated.h | 961 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 …]
|
D | tpm_generated_test.cc | 425 null_scheme.details.rsassa.hash_alg = TPM_ALG_SHA256; in TEST_F()
|
D | tpm_utility_test.cc | 434 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()
|
D | tpm_generated.cc | 1125 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 …]
|