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

/illumos-gate/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;
1023 freespace = SHA512_BLOCK_LENGTH - usedspace;
1041 while (len >= SHA512_BLOCK_LENGTH) {
1044 ADDINC128(sha->bitcount, SHA512_BLOCK_LENGTH << 3);
1045 len -= SHA512_BLOCK_LENGTH;
1046 data += SHA512_BLOCK_LENGTH;
1065 MEMSET_BZERO(sha->buffer, SHA512_BLOCK_LENGTH);
[all...]

Completed in 57 milliseconds