Home
last modified time | relevance | path

Searched refs:EpidtoTpm2HashAlg (Results 1 – 6 of 6) sorted by relevance

/external/epid-sdk/epid/member/tpm2/unittests/
Dconversion-tss-test.cc44 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()
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dsign.c75 in.inScheme.details.ecdaa.hashAlg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2Sign()
137 in.inScheme.details.ecdaa.hashAlg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2ReleaseCounter()
Dconversion.h54 TPMI_ALG_HASH EpidtoTpm2HashAlg(HashAlg hash_alg);
Dconversion.c26 TPMI_ALG_HASH EpidtoTpm2HashAlg(HashAlg hash_alg) { in EpidtoTpm2HashAlg() function
Dcreateprimary.c46 halg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2CreatePrimary()
Dload_external.c83 tpm_hash_alg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2LoadExternal()