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

/ast/src/lib/libsum/
H A Dsum-sha2.c154 #define SHA512_BLOCK_LENGTH 128 macro
159 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)
821 sha2_byte buffer[SHA512_BLOCK_LENGTH];
1002 usedspace = (sha->bitcount[1] >> 3) % SHA512_BLOCK_LENGTH;
1005 freespace = SHA512_BLOCK_LENGTH - usedspace;
1023 while (len >= SHA512_BLOCK_LENGTH) {
1026 ADDINC128(sha->bitcount, SHA512_BLOCK_LENGTH << 3);
1027 len -= SHA512_BLOCK_LENGTH;
1028 data += SHA512_BLOCK_LENGTH;
1047 MEMSET_BZERO(sha->buffer, SHA512_BLOCK_LENGTH);
[all...]

Completed in 12 milliseconds