HomeSort by relevance Sort by last modified time
    Searched refs:bufBytesUsed (Results 1 - 2 of 2) sorted by null

  /device/google/contexthub/lib/include/nanohub/
sha2.h 37 uint8_t bufBytesUsed;
  /device/google/contexthub/lib/nanohub/
sha2.c 32 state->bufBytesUsed = 0;
131 if (bytesToCopy > SHA2_BLOCK_SIZE - state->bufBytesUsed)
132 bytesToCopy = SHA2_BLOCK_SIZE - state->bufBytesUsed;
133 memcpy(state->b + state->bufBytesUsed, inBytes, bytesToCopy);
136 state->bufBytesUsed += bytesToCopy;
139 if (state->bufBytesUsed == SHA2_BLOCK_SIZE) {
141 state->bufBytesUsed = 0;
157 while (state->bufBytesUsed != 56)

Completed in 174 milliseconds