Searched refs:SHA256_SHORT_BLOCK_LENGTH (Results 1 – 2 of 2) sorted by relevance
98 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) macro506 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { in SHA256_Pad()509 SHA256_SHORT_BLOCK_LENGTH - usedspace); in SHA256_Pad()519 memset(context->buffer, 0, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Pad()523 memset(context->buffer, 0, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Pad()529 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()