Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.c151 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro
901 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) { in SHA512_Last()
903 bzero(&context->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace); in SHA512_Last()
916 bzero(context->buffer, SHA512_SHORT_BLOCK_LENGTH); in SHA512_Last()
922 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1]; in SHA512_Last()
923 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0]; in SHA512_Last()