Lines Matching refs:bits

372 	unsigned char bits[8];  in PHP_SHA1Final()  local
376 bits[7] = context->count[0] & 0xFF; in PHP_SHA1Final()
377 bits[6] = (context->count[0] >> 8) & 0xFF; in PHP_SHA1Final()
378 bits[5] = (context->count[0] >> 16) & 0xFF; in PHP_SHA1Final()
379 bits[4] = (context->count[0] >> 24) & 0xFF; in PHP_SHA1Final()
380 bits[3] = context->count[1] & 0xFF; in PHP_SHA1Final()
381 bits[2] = (context->count[1] >> 8) & 0xFF; in PHP_SHA1Final()
382 bits[1] = (context->count[1] >> 16) & 0xFF; in PHP_SHA1Final()
383 bits[0] = (context->count[1] >> 24) & 0xFF; in PHP_SHA1Final()
392 PHP_SHA1Update(context, bits, 8); in PHP_SHA1Final()
581 unsigned char bits[8]; in PHP_SHA224Final() local
585 bits[7] = (unsigned char) (context->count[0] & 0xFF); in PHP_SHA224Final()
586 bits[6] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_SHA224Final()
587 bits[5] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_SHA224Final()
588 bits[4] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_SHA224Final()
589 bits[3] = (unsigned char) (context->count[1] & 0xFF); in PHP_SHA224Final()
590 bits[2] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_SHA224Final()
591 bits[1] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_SHA224Final()
592 bits[0] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_SHA224Final()
601 PHP_SHA224Update(context, bits, 8); in PHP_SHA224Final()
658 unsigned char bits[8]; in PHP_SHA256Final() local
662 bits[7] = (unsigned char) (context->count[0] & 0xFF); in PHP_SHA256Final()
663 bits[6] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_SHA256Final()
664 bits[5] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_SHA256Final()
665 bits[4] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_SHA256Final()
666 bits[3] = (unsigned char) (context->count[1] & 0xFF); in PHP_SHA256Final()
667 bits[2] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_SHA256Final()
668 bits[1] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_SHA256Final()
669 bits[0] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_SHA256Final()
678 PHP_SHA256Update(context, bits, 8); in PHP_SHA256Final()
870 unsigned char bits[16]; in PHP_SHA384Final() local
874 bits[15] = (unsigned char) (context->count[0] & 0xFF); in PHP_SHA384Final()
875 bits[14] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_SHA384Final()
876 bits[13] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_SHA384Final()
877 bits[12] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_SHA384Final()
878 bits[11] = (unsigned char) ((context->count[0] >> 32) & 0xFF); in PHP_SHA384Final()
879 bits[10] = (unsigned char) ((context->count[0] >> 40) & 0xFF); in PHP_SHA384Final()
880 bits[9] = (unsigned char) ((context->count[0] >> 48) & 0xFF); in PHP_SHA384Final()
881 bits[8] = (unsigned char) ((context->count[0] >> 56) & 0xFF); in PHP_SHA384Final()
882 bits[7] = (unsigned char) (context->count[1] & 0xFF); in PHP_SHA384Final()
883 bits[6] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_SHA384Final()
884 bits[5] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_SHA384Final()
885 bits[4] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_SHA384Final()
886 bits[3] = (unsigned char) ((context->count[1] >> 32) & 0xFF); in PHP_SHA384Final()
887 bits[2] = (unsigned char) ((context->count[1] >> 40) & 0xFF); in PHP_SHA384Final()
888 bits[1] = (unsigned char) ((context->count[1] >> 48) & 0xFF); in PHP_SHA384Final()
889 bits[0] = (unsigned char) ((context->count[1] >> 56) & 0xFF); in PHP_SHA384Final()
898 PHP_SHA384Update(context, bits, 16); in PHP_SHA384Final()
1021 unsigned char bits[16]; in PHP_SHA512Final() local
1025 bits[15] = (unsigned char) (context->count[0] & 0xFF); in PHP_SHA512Final()
1026 bits[14] = (unsigned char) ((context->count[0] >> 8) & 0xFF); in PHP_SHA512Final()
1027 bits[13] = (unsigned char) ((context->count[0] >> 16) & 0xFF); in PHP_SHA512Final()
1028 bits[12] = (unsigned char) ((context->count[0] >> 24) & 0xFF); in PHP_SHA512Final()
1029 bits[11] = (unsigned char) ((context->count[0] >> 32) & 0xFF); in PHP_SHA512Final()
1030 bits[10] = (unsigned char) ((context->count[0] >> 40) & 0xFF); in PHP_SHA512Final()
1031 bits[9] = (unsigned char) ((context->count[0] >> 48) & 0xFF); in PHP_SHA512Final()
1032 bits[8] = (unsigned char) ((context->count[0] >> 56) & 0xFF); in PHP_SHA512Final()
1033 bits[7] = (unsigned char) (context->count[1] & 0xFF); in PHP_SHA512Final()
1034 bits[6] = (unsigned char) ((context->count[1] >> 8) & 0xFF); in PHP_SHA512Final()
1035 bits[5] = (unsigned char) ((context->count[1] >> 16) & 0xFF); in PHP_SHA512Final()
1036 bits[4] = (unsigned char) ((context->count[1] >> 24) & 0xFF); in PHP_SHA512Final()
1037 bits[3] = (unsigned char) ((context->count[1] >> 32) & 0xFF); in PHP_SHA512Final()
1038 bits[2] = (unsigned char) ((context->count[1] >> 40) & 0xFF); in PHP_SHA512Final()
1039 bits[1] = (unsigned char) ((context->count[1] >> 48) & 0xFF); in PHP_SHA512Final()
1040 bits[0] = (unsigned char) ((context->count[1] >> 56) & 0xFF); in PHP_SHA512Final()
1049 PHP_SHA512Update(context, bits, 16); in PHP_SHA512Final()