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

/illumos-gate/usr/src/lib/libsum/common/
H A Dsum-sha2.c177 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro
1102 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) {
1104 MEMSET_BZERO(&sha->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace);
1117 MEMSET_BZERO(sha->buffer, SHA512_SHORT_BLOCK_LENGTH);
1123 *(sha2_word64*)&sha->buffer[SHA512_SHORT_BLOCK_LENGTH] = sha->bitcount[1];
1124 *(sha2_word64*)&sha->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = sha->bitcount[0];

Completed in 58 milliseconds