Lines Matching refs:hash_buf
903 }* 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()
1059 SAFE_FREE(hash_buf); in Epid11EcHash()