Lines Matching refs:bitcount
294 context->bitcount = 0; in SHA256_Init()
464 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Update()
472 context->bitcount += freespace << 3; in SHA256_Update()
479 context->bitcount += len << 3; in SHA256_Update()
488 context->bitcount += SHA256_BLOCK_LENGTH << 3; in SHA256_Update()
495 context->bitcount += len << 3; in SHA256_Update()
506 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Pad()
535 context->bitcount); in SHA256_Pad()
574 context->bitcount[0] = context->bitcount[1] = 0; in SHA512_Init()
745 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Update()
753 ADDINC128(context->bitcount, freespace << 3); in SHA512_Update()
760 ADDINC128(context->bitcount, len << 3); in SHA512_Update()
769 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512_Update()
776 ADDINC128(context->bitcount, len << 3); in SHA512_Update()
787 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Pad()
814 context->bitcount[1]); in SHA512_Pad()
816 context->bitcount[0]); in SHA512_Pad()
855 context->bitcount[0] = context->bitcount[1] = 0; in SHA384_Init()