Home
last modified time | relevance | path

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

/external/lzma/C/
DSha256.c164 UInt32 curBufferPos = (UInt32)p->count & 0x3F; in Sha256_Update() local
167 p->buffer[curBufferPos++] = *data++; in Sha256_Update()
170 if (curBufferPos == 64) in Sha256_Update()
172 curBufferPos = 0; in Sha256_Update()
181 UInt32 curBufferPos = (UInt32)p->count & 0x3F; in Sha256_Final() local
183 p->buffer[curBufferPos++] = 0x80; in Sha256_Final()
184 while (curBufferPos != (64 - 8)) in Sha256_Final()
186 curBufferPos &= 0x3F; in Sha256_Final()
187 if (curBufferPos == 0) in Sha256_Final()
189 p->buffer[curBufferPos++] = 0; in Sha256_Final()
[all …]