Searched refs:EpidtoTpm2HashAlg (Results 1 – 6 of 6) sorted by relevance
44 EXPECT_EQ(TPM_ALG_SHA256, EpidtoTpm2HashAlg(kSha256)); in TEST_F()45 EXPECT_EQ(TPM_ALG_SHA384, EpidtoTpm2HashAlg(kSha384)); in TEST_F()46 EXPECT_EQ(TPM_ALG_SHA512, EpidtoTpm2HashAlg(kSha512)); in TEST_F()47 EXPECT_EQ(TPM_ALG_NULL, EpidtoTpm2HashAlg(kSha512_256)); in TEST_F()48 EXPECT_EQ(TPM_ALG_NULL, EpidtoTpm2HashAlg(kInvalidHashAlg)); in TEST_F()49 EXPECT_EQ(TPM_ALG_NULL, EpidtoTpm2HashAlg((HashAlg)10)); in TEST_F()
75 in.inScheme.details.ecdaa.hashAlg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2Sign()137 in.inScheme.details.ecdaa.hashAlg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2ReleaseCounter()
54 TPMI_ALG_HASH EpidtoTpm2HashAlg(HashAlg hash_alg);
26 TPMI_ALG_HASH EpidtoTpm2HashAlg(HashAlg hash_alg) { in EpidtoTpm2HashAlg() function
46 halg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2CreatePrimary()
83 tpm_hash_alg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2LoadExternal()