Lines Matching refs:t4mconcat_buf
87 }* t4mconcat_buf = NULL; in CalculateEpid11CommitmentHash() local
90 SIZE_MAX - (sizeof(*t4mconcat_buf) - sizeof(t4mconcat_buf->msg)); in CalculateEpid11CommitmentHash()
92 sizeof(*t4mconcat_buf) - sizeof(t4mconcat_buf->msg) + msg_len; in CalculateEpid11CommitmentHash()
105 t4mconcat_buf = SAFE_ALLOC(t4mconcat_size); in CalculateEpid11CommitmentHash()
106 if (!t4mconcat_buf) { in CalculateEpid11CommitmentHash()
112 result = Sha256MessageDigest(values, sizeof(*values), &t4mconcat_buf->t4); in CalculateEpid11CommitmentHash()
114 t4mconcat_buf->nd = *nd; in CalculateEpid11CommitmentHash()
115 t4mconcat_buf->msg_len = ntohl(msg_len); in CalculateEpid11CommitmentHash()
118 if (0 != memcpy_S(&t4mconcat_buf->msg[0], in CalculateEpid11CommitmentHash()
119 t4mconcat_size - sizeof(*t4mconcat_buf) + in CalculateEpid11CommitmentHash()
120 sizeof(t4mconcat_buf->msg), in CalculateEpid11CommitmentHash()
126 result = Sha256MessageDigest(t4mconcat_buf, t4mconcat_size, c); in CalculateEpid11CommitmentHash()
132 SAFE_FREE(t4mconcat_buf); in CalculateEpid11CommitmentHash()