Searched refs:Tpm2toEpidHashAlg (Results 1 – 3 of 3) sorted by relevance
54 EXPECT_EQ(kSha256, Tpm2toEpidHashAlg(TPM_ALG_SHA256)); in TEST_F()55 EXPECT_EQ(kSha384, Tpm2toEpidHashAlg(TPM_ALG_SHA384)); in TEST_F()56 EXPECT_EQ(kSha512, Tpm2toEpidHashAlg(TPM_ALG_SHA512)); in TEST_F()57 EXPECT_EQ(kInvalidHashAlg, Tpm2toEpidHashAlg(TPM_ALG_NULL)); in TEST_F()58 EXPECT_EQ(kInvalidHashAlg, Tpm2toEpidHashAlg((TPMI_ALG_HASH)0x0020)); in TEST_F()
65 HashAlg Tpm2toEpidHashAlg(TPMI_ALG_HASH tpm_hash_alg);
39 HashAlg Tpm2toEpidHashAlg(TPMI_ALG_HASH tpm_hash_alg) { in Tpm2toEpidHashAlg() function