Searched refs:SHA256_SHORT_BLOCK_LENGTH (Results 1 – 2 of 2) sorted by relevance
103 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) macro511 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { in SHA256_Pad()514 SHA256_SHORT_BLOCK_LENGTH - usedspace); in SHA256_Pad()524 memset(context->buffer, 0, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Pad()528 memset(context->buffer, 0, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Pad()534 BE_64_TO_8(&context->buffer[SHA256_SHORT_BLOCK_LENGTH], in SHA256_Pad()
149 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) macro584 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { in SHA256_Final()586 bzero(&context->buffer[usedspace], SHA256_SHORT_BLOCK_LENGTH - usedspace); in SHA256_Final()595 bzero(context->buffer, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Final()599 bzero(context->buffer, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Final()605 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount; in SHA256_Final()