Home
last modified time | relevance | path

Searched refs:hash_buf (Results 1 – 2 of 2) sorted by relevance

/external/epid-sdk/epid/common/math/src/
Decgroup.c903 }* hash_buf = NULL; in Epid11EcHash() local
949 hash_buf_size = sizeof(*hash_buf) - sizeof(hash_buf->msg) + msg_len; in Epid11EcHash()
950 hash_buf = SAFE_ALLOC(hash_buf_size); in Epid11EcHash()
951 if (!hash_buf) { in Epid11EcHash()
982 if (0 != memcpy_S(hash_buf->msg, in Epid11EcHash()
983 hash_buf_size - sizeof(*hash_buf) + sizeof(hash_buf->msg), in Epid11EcHash()
993 hash_buf->msg_len = ntohl(i); in Epid11EcHash()
994 result = Sha256MessageDigest(hash_buf, hash_buf_size, &message_digest[0]); in Epid11EcHash()
998 hash_buf->msg_len = ntohl(ip1); in Epid11EcHash()
999 result = Sha256MessageDigest(hash_buf, hash_buf_size, &message_digest[1]); in Epid11EcHash()
[all …]
/external/epid-sdk/epid/member/tiny/math/src/
Defq.c299 sha_digest hash_buf; in EFqHash() local
317 tinysha_final(hash_buf.digest, &hash_context); in EFqHash()
319 FqFromHash(&result->x, hash_buf.digest, tinysha_digest_size(&hash_context)); in EFqHash()