Searched refs:SHA512_SHORT_BLOCK_LENGTH (Results 1 – 2 of 2) sorted by relevance
100 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro787 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) { in SHA512_Pad()789 memset(&context->buffer[usedspace], 0, SHA512_SHORT_BLOCK_LENGTH - usedspace); in SHA512_Pad()802 memset(context->buffer, 0, SHA512_SHORT_BLOCK_LENGTH); in SHA512_Pad()808 BE_64_TO_8(&context->buffer[SHA512_SHORT_BLOCK_LENGTH], in SHA512_Pad()810 BE_64_TO_8(&context->buffer[SHA512_SHORT_BLOCK_LENGTH + 8], in SHA512_Pad()
151 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro901 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()