Searched refs:Sha256MessageDigest (Results 1 – 7 of 7) sorted by relevance
/external/epid-sdk/epid/common/math/unittests/ |
D | hash-test.cc | 47 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/ |
D | decompress_privkey.c | 262 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/ |
D | commitment.c | 112 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/ |
D | hash.h | 57 EpidStatus Sha256MessageDigest(void const* msg, size_t len,
|
/external/epid-sdk/epid/common/math/src/ |
D | sha256.c | 25 EpidStatus Sha256MessageDigest(void const* msg, size_t len, in Sha256MessageDigest() function
|
D | ecgroup.c | 994 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/ |
D | nrverify.c | 231 res = Sha256MessageDigest(commit_values, commit_len, &commit_hash); in Epid11NrVerify()
|