Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libsum/
H A Dsum-sha2.c157 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) macro
723 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { in sha256_done()
725 MEMSET_BZERO(&sha->buffer[usedspace], SHA256_SHORT_BLOCK_LENGTH - usedspace); in sha256_done()
734 MEMSET_BZERO(sha->buffer, SHA256_SHORT_BLOCK_LENGTH); in sha256_done()
738 MEMSET_BZERO(sha->buffer, SHA256_SHORT_BLOCK_LENGTH); in sha256_done()
744 MEMCPY_BCOPY(&sha->buffer[SHA256_SHORT_BLOCK_LENGTH], &sha->bitcount, 8); in sha256_done()