Home
last modified time | relevance | path

Searched refs:Sha256MessageDigest (Results 1 – 7 of 7) sorted by relevance

/external/epid-sdk/epid/common/math/unittests/
Dhash-test.cc47 Sha256MessageDigest(nullptr, sizeof(msg) - 1, &digest)); in TEST()
48 EXPECT_EQ(kEpidBadArgErr, Sha256MessageDigest(msg, sizeof(msg) - 1, nullptr)); in TEST()
57 Sha256MessageDigest(msg, std::numeric_limits<size_t>::max(), &digest)); in TEST()
59 EXPECT_EQ(kEpidBadArgErr, Sha256MessageDigest(msg, 0x100000001, &digest)); in TEST()
75 Sha256MessageDigest(msg_abc, sizeof(msg_abc) - 1, &digest)); in TEST()
84 Sha256MessageDigest(msg_long, sizeof(msg_long) - 1, &digest)); in TEST()
/external/epid-sdk/epid/member/src/
Ddecompress_privkey.c262 result = Sha256MessageDigest(&hashbuf, sizeof(hashbuf), &digest[0]); in DeriveXF()
265 result = Sha256MessageDigest(&hashbuf, sizeof(hashbuf), &digest[1]); in DeriveXF()
283 result = Sha256MessageDigest(&hashbuf, sizeof(hashbuf), &digest[0]); in DeriveXF()
286 result = Sha256MessageDigest(&hashbuf, sizeof(hashbuf), &digest[1]); in DeriveXF()
/external/epid-sdk/epid/common/1.1/src/
Dcommitment.c112 result = Sha256MessageDigest(values, sizeof(*values), &t4mconcat_buf->t4); in CalculateEpid11CommitmentHash()
126 result = Sha256MessageDigest(t4mconcat_buf, t4mconcat_size, c); in CalculateEpid11CommitmentHash()
/external/epid-sdk/epid/common/math/
Dhash.h57 EpidStatus Sha256MessageDigest(void const* msg, size_t len,
/external/epid-sdk/epid/common/math/src/
Dsha256.c25 EpidStatus Sha256MessageDigest(void const* msg, size_t len, in Sha256MessageDigest() function
Decgroup.c994 result = Sha256MessageDigest(hash_buf, hash_buf_size, &message_digest[0]); in Epid11EcHash()
999 result = Sha256MessageDigest(hash_buf, hash_buf_size, &message_digest[1]); in Epid11EcHash()
/external/epid-sdk/epid/verifier/1.1/src/
Dnrverify.c231 res = Sha256MessageDigest(commit_values, commit_len, &commit_hash); in Epid11NrVerify()