Lines Matching refs:bits
642 unsigned char bits[8]; in PHP_RIPEMD128Final() local
646 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD128Final()
647 bits[1] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_RIPEMD128Final()
648 bits[2] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_RIPEMD128Final()
649 bits[3] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_RIPEMD128Final()
650 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD128Final()
651 bits[5] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_RIPEMD128Final()
652 bits[6] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_RIPEMD128Final()
653 bits[7] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_RIPEMD128Final()
662 PHP_RIPEMD128Update(context, bits, 8); in PHP_RIPEMD128Final()
679 unsigned char bits[8]; in PHP_RIPEMD256Final() local
683 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD256Final()
684 bits[1] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_RIPEMD256Final()
685 bits[2] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_RIPEMD256Final()
686 bits[3] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_RIPEMD256Final()
687 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD256Final()
688 bits[5] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_RIPEMD256Final()
689 bits[6] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_RIPEMD256Final()
690 bits[7] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_RIPEMD256Final()
699 PHP_RIPEMD256Update(context, bits, 8); in PHP_RIPEMD256Final()
716 unsigned char bits[8]; in PHP_RIPEMD160Final() local
720 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD160Final()
721 bits[1] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_RIPEMD160Final()
722 bits[2] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_RIPEMD160Final()
723 bits[3] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_RIPEMD160Final()
724 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD160Final()
725 bits[5] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_RIPEMD160Final()
726 bits[6] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_RIPEMD160Final()
727 bits[7] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_RIPEMD160Final()
736 PHP_RIPEMD160Update(context, bits, 8); in PHP_RIPEMD160Final()
753 unsigned char bits[8]; in PHP_RIPEMD320Final() local
757 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD320Final()
758 bits[1] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_RIPEMD320Final()
759 bits[2] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_RIPEMD320Final()
760 bits[3] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_RIPEMD320Final()
761 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD320Final()
762 bits[5] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_RIPEMD320Final()
763 bits[6] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_RIPEMD320Final()
764 bits[7] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_RIPEMD320Final()
773 PHP_RIPEMD320Update(context, bits, 8); in PHP_RIPEMD320Final()