/external/epid-sdk/epid/member/unittests/ |
D | join_request-test.cc | 132 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 …]
|
D | privateexp-test.cc | 39 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()
|
D | iskeyvalid-test.cc | 42 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()
|
D | signbasic-test.cc | 185 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 …]
|
D | nr_prove-test.cc | 179 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/ |
D | hashwrap.c | 28 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/ |
D | context-test.cc | 495 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 …]
|
D | verify-test.cc | 415 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 …]
|
D | verifybasic-test.cc | 73 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()
|
D | nrverify-test.cc | 221 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/ |
D | sign-test.cc | 86 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()
|
D | commit-test.cc | 49 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()
|
D | load_external-test.cc | 48 THROW_ON_EPIDERR(Tpm2SetHashAlg(ctx, kSha256)); in TEST_F() 57 THROW_ON_EPIDERR(Tpm2SetHashAlg(ctx, kSha256)); in TEST_F()
|
D | conversion-tss-test.cc | 44 EXPECT_EQ(TPM_ALG_SHA256, EpidtoTpm2HashAlg(kSha256)); in TEST_F() 54 EXPECT_EQ(kSha256, Tpm2toEpidHashAlg(TPM_ALG_SHA256)); in TEST_F()
|
D | createprimary-test.cc | 44 THROW_ON_EPIDERR(Tpm2SetHashAlg(tss, kSha256)); in TEST_F()
|
D | sign-simulator-test.cc | 46 THROW_ON_EPIDERR(Tpm2SetHashAlg(tpm, kSha256)); in TEST_F()
|
/external/epid-sdk/epid/member/tiny/unittests/internal/ |
D | signbasic-test.cc | 96 THROW_ON_EPIDERR(EpidMemberSetHashAlg(member, kSha256)); in TEST_F() 103 EpidVerifierSetHashAlg(ctx, kSha256); in TEST_F()
|
D | nr_prove-test.cc | 168 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/ |
D | join_request-test.cc | 262 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/ |
D | conversion.c | 28 case kSha256: in EpidtoTpm2HashAlg() 42 return kSha256; in Tpm2toEpidHashAlg()
|
/external/epid-sdk/epid/member/tiny/src/ |
D | sethashalg.c | 28 if ((kSha512 != hash_alg) && (kSha256 != hash_alg)) { in EpidMemberSetHashAlg()
|
D | allowed_basenames.c | 23 #define BASENAME_SHA_ALG kSha256
|
/external/epid-sdk/epid/common/src/ |
D | hashsize.c | 27 case kSha256: in EpidGetHashSize()
|
/external/epid-sdk/epid/member/src/ |
D | context.c | 67 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/ |
D | ecgroup-test.cc | 1739 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 …]
|