Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeSha1.c33 CHUNK_BYTE_SIZE = CHUNK_BIT_SIZE / 8 enumerator
59 DE_ASSERT(stream->size % CHUNK_BYTE_SIZE == 0 && stream->size > 0); in deSha1Stream_flushChunk()
146 while (stream->size % CHUNK_BYTE_SIZE != 0 && bytesProcessed < size); in deSha1Stream_process()
148 if (stream->size % CHUNK_BYTE_SIZE == 0) in deSha1Stream_process()
158 static const deUint8 padding[CHUNK_BYTE_SIZE] = { 0x80u }; in deSha1Stream_finalize()
170 const deUint64 spaceLeftInChunk = CHUNK_BYTE_SIZE - (stream->size % CHUNK_BYTE_SIZE); in deSha1Stream_finalize()
175 …deSha1Stream_process(stream, (size_t)(CHUNK_BYTE_SIZE - (sizeof(lengthData)) - spaceLeftInChunk), … in deSha1Stream_finalize()
179 DE_ASSERT(stream->size % CHUNK_BYTE_SIZE == 0); in deSha1Stream_finalize()