Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libsum/common/
H A Dsum-sha2.c653 unsigned int freespace, usedspace; in sha256_block() local
657 usedspace = (sha->bitcount >> 3) % SHA256_BLOCK_LENGTH; in sha256_block()
658 if (usedspace > 0) { in sha256_block()
660 freespace = SHA256_BLOCK_LENGTH - usedspace; in sha256_block()
664 MEMCPY_BCOPY(&sha->buffer[usedspace], data, freespace); in sha256_block()
671 MEMCPY_BCOPY(&sha->buffer[usedspace], data, len); in sha256_block()
674 usedspace = freespace = 0; in sha256_block()
691 usedspace = freespace = 0; in sha256_block()
726 unsigned int usedspace; in sha256_done() local
732 usedspace = (sha->bitcount >> 3) % SHA256_BLOCK_LENGTH; in sha256_done()
[all …]