Searched refs:SHA512_BLOCK_LENGTH (Results 1 – 5 of 5) sorted by relevance
55 #define SHA512_BLOCK_LENGTH 128 macro98 uint8_t buffer[SHA512_BLOCK_LENGTH];111 u_int8_t buffer[SHA512_BLOCK_LENGTH];
151 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)667 bzero(context->buffer, SHA512_BLOCK_LENGTH); in SHA512_Init()851 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Update()854 freespace = SHA512_BLOCK_LENGTH - usedspace; in SHA512_Update()872 while (len >= SHA512_BLOCK_LENGTH) { in SHA512_Update()875 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512_Update()876 len -= SHA512_BLOCK_LENGTH; in SHA512_Update()877 data += SHA512_BLOCK_LENGTH; in SHA512_Update()891 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Last()905 if (usedspace < SHA512_BLOCK_LENGTH) { in SHA512_Last()[all …]
107 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16)670 SHA512Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH]) in SHA512Transform() argument728 SHA512Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH]) in SHA512Transform() argument812 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512Update()815 freespace = SHA512_BLOCK_LENGTH - usedspace; in SHA512Update()833 while (len >= SHA512_BLOCK_LENGTH) { in SHA512Update()836 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512Update()837 len -= SHA512_BLOCK_LENGTH; in SHA512Update()838 data += SHA512_BLOCK_LENGTH; in SHA512Update()855 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512Pad()[all …]
57 #define SHA512_BLOCK_LENGTH 128 macro72 u_int8_t buffer[SHA512_BLOCK_LENGTH];135 void SHA512Transform(u_int64_t state[8], const u_int8_t [SHA512_BLOCK_LENGTH]);
108 SHA512_BLOCK_LENGTH,