Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dsha2.c105 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro
792 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) { in SHA512_Pad()
794 memset(&context->buffer[usedspace], 0, SHA512_SHORT_BLOCK_LENGTH - usedspace); in SHA512_Pad()
807 memset(context->buffer, 0, SHA512_SHORT_BLOCK_LENGTH); in SHA512_Pad()
813 BE_64_TO_8(&context->buffer[SHA512_SHORT_BLOCK_LENGTH], in SHA512_Pad()
815 BE_64_TO_8(&context->buffer[SHA512_SHORT_BLOCK_LENGTH + 8], in SHA512_Pad()
/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()