Lines Matching refs:bitcount
289 context->bitcount = 0; in SHA256_Init()
459 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Update()
467 context->bitcount += freespace << 3; in SHA256_Update()
474 context->bitcount += len << 3; in SHA256_Update()
483 context->bitcount += SHA256_BLOCK_LENGTH << 3; in SHA256_Update()
490 context->bitcount += len << 3; in SHA256_Update()
501 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Pad()
530 context->bitcount); in SHA256_Pad()
569 context->bitcount[0] = context->bitcount[1] = 0; in SHA512_Init()
740 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Update()
748 ADDINC128(context->bitcount, freespace << 3); in SHA512_Update()
755 ADDINC128(context->bitcount, len << 3); in SHA512_Update()
764 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512_Update()
771 ADDINC128(context->bitcount, len << 3); in SHA512_Update()
782 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Pad()
809 context->bitcount[1]); in SHA512_Pad()
811 context->bitcount[0]); in SHA512_Pad()
851 context->bitcount[0] = context->bitcount[1] = 0;