Lines Matching refs:bits
646 unsigned char bits[8]; in PHP_RIPEMD128Final() local
650 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD128Final()
651 bits[1] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_RIPEMD128Final()
652 bits[2] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_RIPEMD128Final()
653 bits[3] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_RIPEMD128Final()
654 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD128Final()
655 bits[5] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_RIPEMD128Final()
656 bits[6] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_RIPEMD128Final()
657 bits[7] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_RIPEMD128Final()
666 PHP_RIPEMD128Update(context, bits, 8); in PHP_RIPEMD128Final()
683 unsigned char bits[8]; in PHP_RIPEMD256Final() local
687 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD256Final()
688 bits[1] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_RIPEMD256Final()
689 bits[2] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_RIPEMD256Final()
690 bits[3] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_RIPEMD256Final()
691 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD256Final()
692 bits[5] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_RIPEMD256Final()
693 bits[6] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_RIPEMD256Final()
694 bits[7] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_RIPEMD256Final()
703 PHP_RIPEMD256Update(context, bits, 8); in PHP_RIPEMD256Final()
720 unsigned char bits[8]; in PHP_RIPEMD160Final() local
724 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD160Final()
725 bits[1] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_RIPEMD160Final()
726 bits[2] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_RIPEMD160Final()
727 bits[3] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_RIPEMD160Final()
728 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD160Final()
729 bits[5] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_RIPEMD160Final()
730 bits[6] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_RIPEMD160Final()
731 bits[7] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_RIPEMD160Final()
740 PHP_RIPEMD160Update(context, bits, 8); in PHP_RIPEMD160Final()
757 unsigned char bits[8]; in PHP_RIPEMD320Final() local
761 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD320Final()
762 bits[1] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_RIPEMD320Final()
763 bits[2] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_RIPEMD320Final()
764 bits[3] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_RIPEMD320Final()
765 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD320Final()
766 bits[5] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_RIPEMD320Final()
767 bits[6] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_RIPEMD320Final()
768 bits[7] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_RIPEMD320Final()
777 PHP_RIPEMD320Update(context, bits, 8); in PHP_RIPEMD320Final()