Lines Matching refs:u32

81 #define GETU32(p) (*((u32*)(p)))
115 #define Te0 (u32)((u64*)((u8*)Te+0))
116 #define Te1 (u32)((u64*)((u8*)Te+3))
117 #define Te2 (u32)((u64*)((u8*)Te+2))
118 #define Te3 (u32)((u64*)((u8*)Te+1))
127 #define Td0 (u32)((u64*)((u8*)Td+0))
128 #define Td1 (u32)((u64*)((u8*)Td+3))
129 #define Td2 (u32)((u64*)((u8*)Td+2))
130 #define Td3 (u32)((u64*)((u8*)Td+1))
463 static const u32 rcon[] = {
476 u32 *rk; in AES_set_encrypt_key()
478 u32 temp; in AES_set_encrypt_key()
502 ((u32)Te4[(temp >> 8) & 0xff] ) ^ in AES_set_encrypt_key()
503 ((u32)Te4[(temp >> 16) & 0xff] << 8) ^ in AES_set_encrypt_key()
504 ((u32)Te4[(temp >> 24) ] << 16) ^ in AES_set_encrypt_key()
505 ((u32)Te4[(temp ) & 0xff] << 24) ^ in AES_set_encrypt_key()
522 ((u32)Te4[(temp >> 8) & 0xff] ) ^ in AES_set_encrypt_key()
523 ((u32)Te4[(temp >> 16) & 0xff] << 8) ^ in AES_set_encrypt_key()
524 ((u32)Te4[(temp >> 24) ] << 16) ^ in AES_set_encrypt_key()
525 ((u32)Te4[(temp ) & 0xff] << 24) ^ in AES_set_encrypt_key()
544 ((u32)Te4[(temp >> 8) & 0xff] ) ^ in AES_set_encrypt_key()
545 ((u32)Te4[(temp >> 16) & 0xff] << 8) ^ in AES_set_encrypt_key()
546 ((u32)Te4[(temp >> 24) ] << 16) ^ in AES_set_encrypt_key()
547 ((u32)Te4[(temp ) & 0xff] << 24) ^ in AES_set_encrypt_key()
557 ((u32)Te4[(temp ) & 0xff] ) ^ in AES_set_encrypt_key()
558 ((u32)Te4[(temp >> 8) & 0xff] << 8) ^ in AES_set_encrypt_key()
559 ((u32)Te4[(temp >> 16) & 0xff] << 16) ^ in AES_set_encrypt_key()
560 ((u32)Te4[(temp >> 24) ] << 24); in AES_set_encrypt_key()
578 u32 *rk; in AES_set_decrypt_key()
580 u32 temp; in AES_set_decrypt_key()
601 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_set_decrypt_key()
660 const u32 *rk; in AES_encrypt()
661 u32 s0, s1, s2, s3, t[4]; in AES_encrypt()
679 t[0] = (u32)Te4[(s0 ) & 0xff] ^ in AES_encrypt()
680 (u32)Te4[(s1 >> 8) & 0xff] << 8 ^ in AES_encrypt()
681 (u32)Te4[(s2 >> 16) & 0xff] << 16 ^ in AES_encrypt()
682 (u32)Te4[(s3 >> 24) ] << 24; in AES_encrypt()
683 t[1] = (u32)Te4[(s1 ) & 0xff] ^ in AES_encrypt()
684 (u32)Te4[(s2 >> 8) & 0xff] << 8 ^ in AES_encrypt()
685 (u32)Te4[(s3 >> 16) & 0xff] << 16 ^ in AES_encrypt()
686 (u32)Te4[(s0 >> 24) ] << 24; in AES_encrypt()
687 t[2] = (u32)Te4[(s2 ) & 0xff] ^ in AES_encrypt()
688 (u32)Te4[(s3 >> 8) & 0xff] << 8 ^ in AES_encrypt()
689 (u32)Te4[(s0 >> 16) & 0xff] << 16 ^ in AES_encrypt()
690 (u32)Te4[(s1 >> 24) ] << 24; in AES_encrypt()
691 t[3] = (u32)Te4[(s3 ) & 0xff] ^ in AES_encrypt()
692 (u32)Te4[(s0 >> 8) & 0xff] << 8 ^ in AES_encrypt()
693 (u32)Te4[(s1 >> 16) & 0xff] << 16 ^ in AES_encrypt()
694 (u32)Te4[(s2 >> 24) ] << 24; in AES_encrypt()
698 u32 r0, r1, r2; in AES_encrypt()
745 t[0] = (u32)Te4[(s0 ) & 0xff] ^ in AES_encrypt()
746 (u32)Te4[(s1 >> 8) & 0xff] << 8 ^ in AES_encrypt()
747 (u32)Te4[(s2 >> 16) & 0xff] << 16 ^ in AES_encrypt()
748 (u32)Te4[(s3 >> 24) ] << 24; in AES_encrypt()
749 t[1] = (u32)Te4[(s1 ) & 0xff] ^ in AES_encrypt()
750 (u32)Te4[(s2 >> 8) & 0xff] << 8 ^ in AES_encrypt()
751 (u32)Te4[(s3 >> 16) & 0xff] << 16 ^ in AES_encrypt()
752 (u32)Te4[(s0 >> 24) ] << 24; in AES_encrypt()
753 t[2] = (u32)Te4[(s2 ) & 0xff] ^ in AES_encrypt()
754 (u32)Te4[(s3 >> 8) & 0xff] << 8 ^ in AES_encrypt()
755 (u32)Te4[(s0 >> 16) & 0xff] << 16 ^ in AES_encrypt()
756 (u32)Te4[(s1 >> 24) ] << 24; in AES_encrypt()
757 t[3] = (u32)Te4[(s3 ) & 0xff] ^ in AES_encrypt()
758 (u32)Te4[(s0 >> 8) & 0xff] << 8 ^ in AES_encrypt()
759 (u32)Te4[(s1 >> 16) & 0xff] << 16 ^ in AES_encrypt()
760 (u32)Te4[(s2 >> 24) ] << 24; in AES_encrypt()
765 u32 r0, r1, r2; in AES_encrypt()
814 *(u32*)(out+0) = in AES_encrypt()
815 (u32)Te4[(s0 ) & 0xff] ^ in AES_encrypt()
816 (u32)Te4[(s1 >> 8) & 0xff] << 8 ^ in AES_encrypt()
817 (u32)Te4[(s2 >> 16) & 0xff] << 16 ^ in AES_encrypt()
818 (u32)Te4[(s3 >> 24) ] << 24 ^ in AES_encrypt()
820 *(u32*)(out+4) = in AES_encrypt()
821 (u32)Te4[(s1 ) & 0xff] ^ in AES_encrypt()
822 (u32)Te4[(s2 >> 8) & 0xff] << 8 ^ in AES_encrypt()
823 (u32)Te4[(s3 >> 16) & 0xff] << 16 ^ in AES_encrypt()
824 (u32)Te4[(s0 >> 24) ] << 24 ^ in AES_encrypt()
826 *(u32*)(out+8) = in AES_encrypt()
827 (u32)Te4[(s2 ) & 0xff] ^ in AES_encrypt()
828 (u32)Te4[(s3 >> 8) & 0xff] << 8 ^ in AES_encrypt()
829 (u32)Te4[(s0 >> 16) & 0xff] << 16 ^ in AES_encrypt()
830 (u32)Te4[(s1 >> 24) ] << 24 ^ in AES_encrypt()
832 *(u32*)(out+12) = in AES_encrypt()
833 (u32)Te4[(s3 ) & 0xff] ^ in AES_encrypt()
834 (u32)Te4[(s0 >> 8) & 0xff] << 8 ^ in AES_encrypt()
835 (u32)Te4[(s1 >> 16) & 0xff] << 16 ^ in AES_encrypt()
836 (u32)Te4[(s2 >> 24) ] << 24 ^ in AES_encrypt()
839 *(u32*)(out+0) = in AES_encrypt()
845 *(u32*)(out+4) = in AES_encrypt()
851 *(u32*)(out+8) = in AES_encrypt()
857 *(u32*)(out+12) = in AES_encrypt()
874 const u32 *rk; in AES_decrypt()
875 u32 s0, s1, s2, s3, t[4]; in AES_decrypt()
893 t[0] = (u32)Td4[(s0 ) & 0xff] ^ in AES_decrypt()
894 (u32)Td4[(s3 >> 8) & 0xff] << 8 ^ in AES_decrypt()
895 (u32)Td4[(s2 >> 16) & 0xff] << 16 ^ in AES_decrypt()
896 (u32)Td4[(s1 >> 24) ] << 24; in AES_decrypt()
897 t[1] = (u32)Td4[(s1 ) & 0xff] ^ in AES_decrypt()
898 (u32)Td4[(s0 >> 8) & 0xff] << 8 ^ in AES_decrypt()
899 (u32)Td4[(s3 >> 16) & 0xff] << 16 ^ in AES_decrypt()
900 (u32)Td4[(s2 >> 24) ] << 24; in AES_decrypt()
901 t[2] = (u32)Td4[(s2 ) & 0xff] ^ in AES_decrypt()
902 (u32)Td4[(s1 >> 8) & 0xff] << 8 ^ in AES_decrypt()
903 (u32)Td4[(s0 >> 16) & 0xff] << 16 ^ in AES_decrypt()
904 (u32)Td4[(s3 >> 24) ] << 24; in AES_decrypt()
905 t[3] = (u32)Td4[(s3 ) & 0xff] ^ in AES_decrypt()
906 (u32)Td4[(s2 >> 8) & 0xff] << 8 ^ in AES_decrypt()
907 (u32)Td4[(s1 >> 16) & 0xff] << 16 ^ in AES_decrypt()
908 (u32)Td4[(s0 >> 24) ] << 24; in AES_decrypt()
913 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_decrypt()
970 t[0] = (u32)Td4[(s0 ) & 0xff] ^ in AES_decrypt()
971 (u32)Td4[(s3 >> 8) & 0xff] << 8 ^ in AES_decrypt()
972 (u32)Td4[(s2 >> 16) & 0xff] << 16 ^ in AES_decrypt()
973 (u32)Td4[(s1 >> 24) ] << 24; in AES_decrypt()
974 t[1] = (u32)Td4[(s1 ) & 0xff] ^ in AES_decrypt()
975 (u32)Td4[(s0 >> 8) & 0xff] << 8 ^ in AES_decrypt()
976 (u32)Td4[(s3 >> 16) & 0xff] << 16 ^ in AES_decrypt()
977 (u32)Td4[(s2 >> 24) ] << 24; in AES_decrypt()
978 t[2] = (u32)Td4[(s2 ) & 0xff] ^ in AES_decrypt()
979 (u32)Td4[(s1 >> 8) & 0xff] << 8 ^ in AES_decrypt()
980 (u32)Td4[(s0 >> 16) & 0xff] << 16 ^ in AES_decrypt()
981 (u32)Td4[(s3 >> 24) ] << 24; in AES_decrypt()
982 t[3] = (u32)Td4[(s3 ) & 0xff] ^ in AES_decrypt()
983 (u32)Td4[(s2 >> 8) & 0xff] << 8 ^ in AES_decrypt()
984 (u32)Td4[(s1 >> 16) & 0xff] << 16 ^ in AES_decrypt()
985 (u32)Td4[(s0 >> 24) ] << 24; in AES_decrypt()
990 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_decrypt()
1048 *(u32*)(out+0) = in AES_decrypt()
1049 ((u32)Td4[(s0 ) & 0xff]) ^ in AES_decrypt()
1050 ((u32)Td4[(s3 >> 8) & 0xff] << 8) ^ in AES_decrypt()
1051 ((u32)Td4[(s2 >> 16) & 0xff] << 16) ^ in AES_decrypt()
1052 ((u32)Td4[(s1 >> 24) ] << 24) ^ in AES_decrypt()
1054 *(u32*)(out+4) = in AES_decrypt()
1055 ((u32)Td4[(s1 ) & 0xff]) ^ in AES_decrypt()
1056 ((u32)Td4[(s0 >> 8) & 0xff] << 8) ^ in AES_decrypt()
1057 ((u32)Td4[(s3 >> 16) & 0xff] << 16) ^ in AES_decrypt()
1058 ((u32)Td4[(s2 >> 24) ] << 24) ^ in AES_decrypt()
1060 *(u32*)(out+8) = in AES_decrypt()
1061 ((u32)Td4[(s2 ) & 0xff]) ^ in AES_decrypt()
1062 ((u32)Td4[(s1 >> 8) & 0xff] << 8) ^ in AES_decrypt()
1063 ((u32)Td4[(s0 >> 16) & 0xff] << 16) ^ in AES_decrypt()
1064 ((u32)Td4[(s3 >> 24) ] << 24) ^ in AES_decrypt()
1066 *(u32*)(out+12) = in AES_decrypt()
1067 ((u32)Td4[(s3 ) & 0xff]) ^ in AES_decrypt()
1068 ((u32)Td4[(s2 >> 8) & 0xff] << 8) ^ in AES_decrypt()
1069 ((u32)Td4[(s1 >> 16) & 0xff] << 16) ^ in AES_decrypt()
1070 ((u32)Td4[(s0 >> 24) ] << 24) ^ in AES_decrypt()