Home
last modified time | relevance | path

Searched refs:kSha512 (Results 1 – 25 of 35) sorted by relevance

12

/external/epid-sdk/epid/member/tiny/unittests/
Djoin_request-test.cc131 THROW_ON_EPIDERR(EpidMemberSetHashAlg(ctx, kSha512)); in TEST_F()
149 THROW_ON_EPIDERR(EpidMemberSetHashAlg(ctx, kSha512)); in TEST_F()
174 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha512)); in TEST_F()
238 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha512)); in TEST_F()
242 ValidateJoinRequest(join_request, kSha512, pub_key, f, ni)); in TEST_F()
288 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha512)); in TEST_F()
292 ValidateJoinRequest(join_request1, kSha512, pub_key, f, ni)); in TEST_F()
296 ValidateJoinRequest(join_request2, kSha512, pub_key, f, ni)); in TEST_F()
334 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member2, kSha512)); in TEST_F()
339 ValidateJoinRequest(join_request2, kSha512, pub_key, f, ni)); in TEST_F()
[all …]
/external/epid-sdk/epid/member/tiny/math/src/
Dhashwrap.c23 case kSha512: in tinysha_init()
42 case kSha512: in tinysha_update()
59 case kSha512: in tinysha_final()
76 case kSha512: in tinysha_digest_size()
/external/epid-sdk/epid/member/tiny/math/unittests/
Defq-test.cc432 HashAlg hashalg = kSha512; in TEST()
457 EXPECT_TRUE(EFqHash(&result, msg.data(), msg.size(), kSha512)); in TEST()
467 EXPECT_TRUE(EFqHash(&result, msg.data(), msg.size(), kSha512)); in TEST()
478 EFqHash(&result, msg.data(), msg.size(), kSha512); in TEST()
489 EFqHash(&result, msg.data(), msg.size(), kSha512); in TEST()
/external/epid-sdk/epid/member/tiny/unittests/internal/
Dsignbasic-test.cc78 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha512)); in TEST_F()
85 EpidVerifierSetHashAlg(ctx, kSha512); in TEST_F()
Dnr_prove-test.cc148 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha512)); in TEST_F()
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dconversion.c32 case kSha512: in EpidtoTpm2HashAlg()
46 return kSha512; in Tpm2toEpidHashAlg()
Dcontext.c123 if (kSha256 != hash_alg && kSha384 != hash_alg && kSha512 != hash_alg && in Tpm2SetHashAlg()
/external/epid-sdk/epid/verifier/unittests/
Dnrverify-test.cc197 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
260 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
285 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
Dverifybasic-test.cc95 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
172 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
Dverify-test.cc181 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
205 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
390 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
1167 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
1194 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
1211 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
1303 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha512)); in TEST_F()
/external/epid-sdk/epid/member/tpm2/unittests/
Dconversion-tss-test.cc46 EXPECT_EQ(TPM_ALG_SHA512, EpidtoTpm2HashAlg(kSha512)); in TEST_F()
56 EXPECT_EQ(kSha512, Tpm2toEpidHashAlg(TPM_ALG_SHA512)); in TEST_F()
Dload_external-simulator-test.cc47 THROW_ON_EPIDERR(Tpm2SetHashAlg(ctx, kSha512)); in TEST_F()
Dcommit-simulator-test.cc140 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha512)); in TEST_F()
230 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha512)); in TEST_F()
266 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha512)); in TEST_F()
/external/epid-sdk/epid/member/tiny/src/
Dsethashalg.c28 if ((kSha512 != hash_alg) && (kSha256 != hash_alg)) { in EpidMemberSetHashAlg()
Dallowed_basenames.c25 #define BASENAME_SHA_ALG kSha512
Dinit.c63 ctx->hash_alg = kSha512; in EpidMemberInit()
/external/epid-sdk/epid/common/src/
Dhashsize.c31 case kSha512: in EpidGetHashSize()
/external/epid-sdk/epid/member/src/
Dcontext.c65 ctx->hash_alg = kSha512; in EpidMemberInit()
225 if (kSha256 != hash_alg && kSha384 != hash_alg && kSha512 != hash_alg && in EpidMemberSetHashAlg()
Djoin.c59 kSha512 != ctx->hash_alg && kSha512_256 != ctx->hash_alg) { in EpidCreateJoinRequest()
/external/epid-sdk/epid/member/tpm2/src/
Dcontext.c108 if (kSha256 != hash_alg && kSha384 != hash_alg && kSha512 != hash_alg && in Tpm2SetHashAlg()
/external/epid-sdk/epid/common/
Dtypes.h58 kSha512 = 2, enumerator
/external/epid-sdk/epid/member/unittests/
Dnr_prove-test.cc364 MemberCtxObj member(this->kGroupPublicKey, this->kMemberPrivateKey, kSha512, in TEST_F()
382 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha512)); in TEST_F()
Dcontext-test.cc247 EXPECT_EQ(kEpidNoErr, EpidMemberSetHashAlg(member_ctx, kSha512)); in TEST_F()
574 EXPECT_EQ(kSha512, ctx->hash_alg); in TEST_F()
/external/epid-sdk/epid/verifier/src/
Dcontext.c131 verifier_ctx->hash_alg = kSha512; in EpidVerifierCreate()
513 if (kSha256 != hash_alg && kSha384 != hash_alg && kSha512 != hash_alg && in EpidVerifierSetHashAlg()
/external/epid-sdk/epid/common/math/unittests/
Decgroup-test.cc1796 EXPECT_EQ(kEpidNoErr, EcHash(this->efq, sha_msg, sizeof(sha_msg), kSha512, in TEST_F()
1824 EXPECT_EQ(kEpidNoErr, EcHash(this->efq, sha_msg, sizeof(sha_msg), kSha512, in TEST_F()
1838 kSha512, this->efq_r, &i)); in TEST_F()
1857 kSha512, this->efq_r, &i)); in TEST_F()
1877 kSha512, this->efq_r, &i)); in TEST_F()
1896 kSha512, this->efq_r, &i)); in TEST_F()

12