Searched refs:SHA256_SHORT_BLOCK_LENGTH (Results 1 – 2 of 2) sorted by relevance
92 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) macro500 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { in SHA256_Pad()503 SHA256_SHORT_BLOCK_LENGTH - usedspace); in SHA256_Pad()513 memset(context->buffer, 0, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Pad()517 memset(context->buffer, 0, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Pad()523 BE_64_TO_8(&context->buffer[SHA256_SHORT_BLOCK_LENGTH], in SHA256_Pad()
92 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) macro508 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { in SHA256_Final()510 bzero(&context->buffer[usedspace], SHA256_SHORT_BLOCK_LENGTH - usedspace); in SHA256_Final()519 bzero(context->buffer, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Final()523 bzero(context->buffer, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Final()529 *(u_int64_t *)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount; in SHA256_Final()