Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libsum/common/
H A Dsum-sha2.c172 #define SHA512_BLOCK_LENGTH 128 macro
177 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)
839 sha2_byte buffer[SHA512_BLOCK_LENGTH];
1020 usedspace = (sha->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in sha512_block()
1023 freespace = SHA512_BLOCK_LENGTH - usedspace; in sha512_block()
1041 while (len >= SHA512_BLOCK_LENGTH) { in sha512_block()
1044 ADDINC128(sha->bitcount, SHA512_BLOCK_LENGTH << 3); in sha512_block()
1045 len -= SHA512_BLOCK_LENGTH; in sha512_block()
1046 data += SHA512_BLOCK_LENGTH; in sha512_block()
1065 MEMSET_BZERO(sha->buffer, SHA512_BLOCK_LENGTH); in sha512_init()
[all …]