Lines Matching refs:bitcount
340 context->bitcount = 0;
529 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
537 context->bitcount += freespace << 3;
544 context->bitcount += len << 3;
553 context->bitcount += SHA256_BLOCK_LENGTH << 3;
560 context->bitcount += len << 3;
575 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
578 REVERSE64(context->bitcount,context->bitcount);
605 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
668 context->bitcount[0] = context->bitcount[1] = 0;
851 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH;
859 ADDINC128(context->bitcount, freespace << 3);
866 ADDINC128(context->bitcount, len << 3);
875 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3);
882 ADDINC128(context->bitcount, len << 3);
891 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH;
894 REVERSE64(context->bitcount[0],context->bitcount[0]);
895 REVERSE64(context->bitcount[1],context->bitcount[1]);
922 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1];
923 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0];
997 context->bitcount[0] = context->bitcount[1] = 0;