Home
last modified time | relevance | path

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

/haiku/src/system/libroot/posix/crypt/
H A DSHA256.cpp62 fBytesInBuffer = 0; in Init()
74 while (fBytesInBuffer + size >= kChunkSize) { in Update()
75 size_t toCopy = kChunkSize - fBytesInBuffer; in Update()
76 memcpy((uint8*)fBuffer + fBytesInBuffer, buffer, toCopy); in Update()
81 fBytesInBuffer = 0; in Update()
85 memcpy((uint8*)fBuffer + fBytesInBuffer, buffer, size); in Update()
86 fBytesInBuffer += size; in Update()
101 ((uint8*)fBuffer)[fBytesInBuffer] = 0x80; in Digest()
102 fBytesInBuffer++; in Digest()
106 if (fBytesInBuffer > kChunkSize - 8) { in Digest()
[all …]
/haiku/headers/private/libroot/
H A DSHA256.h35 size_t fBytesInBuffer; variable