Home
last modified time | relevance | path

Searched refs:kSha256 (Results 1 – 25 of 41) sorted by relevance

12

/external/epid-sdk/epid/member/unittests/
Djoin_request-test.cc132 THROW_ON_EPIDERR(EpidMemberSetHashAlg(ctx, kSha256)); in TEST_F()
162 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
226 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
230 ValidateJoinRequest(join_request, kSha256, pub_key, f, ni)); in TEST_F()
246 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
250 ValidateJoinRequest(join_request, kSha256, pub_key, kFEps1, ni)); in TEST_F()
272 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
276 ValidateJoinRequest(join_request1, kSha256, pub_key, f, ni)); in TEST_F()
280 ValidateJoinRequest(join_request2, kSha256, pub_key, f, ni)); in TEST_F()
299 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
[all …]
Dprivateexp-test.cc39 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
57 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
76 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
137 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
Diskeyvalid-test.cc42 HashAlg hash_alg = kSha256; in TEST_F()
70 HashAlg hash_alg = kSha256; in TEST_F()
89 HashAlg hash_alg = kSha256; in TEST_F()
147 HashAlg hash_alg = kSha256; in TEST_F()
Dsignbasic-test.cc185 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha256)); in TEST_F()
224 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha256)); in TEST_F()
317 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx1, kSha256)); in TEST_F()
328 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx2, kSha256)); in TEST_F()
341 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx3, kSha256)); in TEST_F()
349 MemberCtxObj member(this->kGroupPublicKey, this->kMemberPrivateKey, kSha256, in TEST_F()
360 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha256)); in TEST_F()
369 *(MembershipCredential const*)&this->kEps0MemberPrivateKey, kSha256, in TEST_F()
380 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha256)); in TEST_F()
485 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha256)); in TEST_F()
[all …]
Dnr_prove-test.cc179 MemberCtxObj member(this->kGroupPublicKey, this->kMemberPrivateKey, kSha256, in TEST_F()
196 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha256)); in TEST_F()
314 MemberCtxObj member(this->kGroupPublicKey, this->kMemberPrivateKey, kSha256, in TEST_F()
332 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha256)); in TEST_F()
/external/epid-sdk/epid/member/tiny/math/src/
Dhashwrap.c28 case kSha256: in tinysha_init()
47 case kSha256: in tinysha_update()
64 case kSha256: in tinysha_final()
80 case kSha256: in tinysha_digest_size()
/external/epid-sdk/epid/verifier/unittests/
Dcontext-test.cc495 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
510 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
562 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
572 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
584 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
618 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
627 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
660 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
684 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
694 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
[all …]
Dverify-test.cc415 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
436 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
455 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
476 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
497 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
533 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
557 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
581 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
605 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
629 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
[all …]
Dverifybasic-test.cc73 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
143 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
157 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
Dnrverify-test.cc221 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
234 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(verifier, kSha256)); in TEST_F()
/external/epid-sdk/epid/member/tpm2/unittests/
Dsign-test.cc86 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
109 sign_k, sign_s, p2, k, l, kSha256)); in TEST_F()
120 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
151 sign_k1, sign_s1, p2, k1, l1, kSha256)); in TEST_F()
153 sign_k2, sign_s2, p2, k2, l2, kSha256)); in TEST_F()
165 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
189 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
216 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
248 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
296 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
Dcommit-test.cc49 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
86 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
126 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
146 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
163 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
184 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
213 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
230 HashAlg halg = kSha256; in TEST_F()
Dload_external-test.cc48 THROW_ON_EPIDERR(Tpm2SetHashAlg(ctx, kSha256)); in TEST_F()
57 THROW_ON_EPIDERR(Tpm2SetHashAlg(ctx, kSha256)); in TEST_F()
Dconversion-tss-test.cc44 EXPECT_EQ(TPM_ALG_SHA256, EpidtoTpm2HashAlg(kSha256)); in TEST_F()
54 EXPECT_EQ(kSha256, Tpm2toEpidHashAlg(TPM_ALG_SHA256)); in TEST_F()
Dcreateprimary-test.cc44 THROW_ON_EPIDERR(Tpm2SetHashAlg(tss, kSha256)); in TEST_F()
Dsign-simulator-test.cc46 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
/external/epid-sdk/epid/member/tiny/unittests/internal/
Dsignbasic-test.cc96 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
103 EpidVerifierSetHashAlg(ctx, kSha256); in TEST_F()
Dnr_prove-test.cc168 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
176 THROW_ON_EPIDERR(EpidVerifierSetHashAlg(ctx, kSha256)); in TEST_F()
/external/epid-sdk/epid/member/tiny/unittests/
Djoin_request-test.cc262 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F()
266 ValidateJoinRequest(join_request, kSha256, pub_key, f, ni)); in TEST_F()
323 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member1, kSha256)); in TEST_F()
328 ValidateJoinRequest(join_request1, kSha256, pub_key, f, ni)); in TEST_F()
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dconversion.c28 case kSha256: in EpidtoTpm2HashAlg()
42 return kSha256; in Tpm2toEpidHashAlg()
/external/epid-sdk/epid/member/tiny/src/
Dsethashalg.c28 if ((kSha512 != hash_alg) && (kSha256 != hash_alg)) { in EpidMemberSetHashAlg()
Dallowed_basenames.c23 #define BASENAME_SHA_ALG kSha256
/external/epid-sdk/epid/common/src/
Dhashsize.c27 case kSha256: in EpidGetHashSize()
/external/epid-sdk/epid/member/src/
Dcontext.c67 ctx->hash_alg = kSha256; in EpidMemberInit()
225 if (kSha256 != hash_alg && kSha384 != hash_alg && kSha512 != hash_alg && in EpidMemberSetHashAlg()
/external/epid-sdk/epid/common/math/unittests/
Decgroup-test.cc1739 EcHash(this->efq2, msg, sizeof(msg), kSha256, this->efq_r, NULL)); in TEST_F()
1741 EcHash(this->efq, msg, sizeof(msg), kSha256, this->efq2_r, NULL)); in TEST_F()
1746 EcHash(nullptr, msg, sizeof(msg), kSha256, this->efq_r, NULL)); in TEST_F()
1747 EXPECT_EQ(kEpidBadArgErr, EcHash(this->efq, nullptr, sizeof(msg), kSha256, in TEST_F()
1750 EcHash(this->efq, msg, sizeof(msg), kSha256, nullptr, NULL)); in TEST_F()
1764 EcHash(this->efq, nullptr, 1, kSha256, this->efq_r, NULL)); in TEST_F()
1766 EcHash(this->efq, msg, std::numeric_limits<size_t>::max(), kSha256, in TEST_F()
1768 EXPECT_EQ(kEpidBadArgErr, EcHash(this->efq, msg, (size_t)INT_MAX + 1, kSha256, in TEST_F()
1771 EXPECT_EQ(kEpidBadArgErr, EcHash(this->efq, msg, (size_t)0x100000001, kSha256, in TEST_F()
1776 EXPECT_EQ(kEpidNoErr, EcHash(this->efq, "", 0, kSha256, this->efq_r, NULL)); in TEST_F()
[all …]

12