Home
last modified time | relevance | path

Searched refs:halg (Results 1 – 2 of 2) sorted by relevance

/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dcreateprimary.c38 TPMI_ALG_HASH halg = TPM_ALG_NULL; in Tpm2CreatePrimary() local
46 halg = EpidtoTpm2HashAlg(ctx->hash_alg); in Tpm2CreatePrimary()
47 if (halg == TPM_ALG_NULL) { in Tpm2CreatePrimary()
50 nalg = halg; in Tpm2CreatePrimary()
66 halg; in Tpm2CreatePrimary()
/external/epid-sdk/epid/member/tpm2/unittests/
Dcommit-test.cc230 HashAlg halg = kSha256; in TEST_F() local
242 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, halg)); in TEST_F()
246 EcHash(epid2params.G1(), bsn.data(), bsn.size(), halg, R, &i)); in TEST_F()
261 HashAlg halg = kSha384; in TEST_F() local
273 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, halg)); in TEST_F()
277 EcHash(epid2params.G1(), bsn.data(), bsn.size(), halg, R, &i)); in TEST_F()
291 HashAlg halg = kSha512; in TEST_F() local
303 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, halg)); in TEST_F()
307 EcHash(epid2params.G1(), bsn.data(), bsn.size(), halg, R, &i)); in TEST_F()