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

/haiku/src/libs/compat/openbsd_wlan/crypto/
H A Dsha2.c97 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro
767 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) {
770 SHA512_SHORT_BLOCK_LENGTH - usedspace);
784 memset(context->buffer, 0, SHA512_SHORT_BLOCK_LENGTH);
790 *(u_int64_t *)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1];
791 *(u_int64_t *)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0];

Completed in 38 milliseconds