Searched refs:SHA512_BLOCK_LENGTH (Results 1 – 2 of 2) sorted by relevance
64 #define SHA512_BLOCK_LENGTH 128 macro105 uint8_t buffer[SHA512_BLOCK_LENGTH];118 u_int8_t buffer[SHA512_BLOCK_LENGTH];
151 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)704 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH); in SHA512_Init()888 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Update()891 freespace = SHA512_BLOCK_LENGTH - usedspace; in SHA512_Update()909 while (len >= SHA512_BLOCK_LENGTH) { in SHA512_Update()912 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512_Update()913 len -= SHA512_BLOCK_LENGTH; in SHA512_Update()914 data += SHA512_BLOCK_LENGTH; in SHA512_Update()928 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Last()942 if (usedspace < SHA512_BLOCK_LENGTH) { in SHA512_Last()[all …]