Lines Matching refs:rk
733 int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { in rijndaelKeySetupEnc() argument
739 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
740 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
741 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
742 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
745 temp = rk[3]; in rijndaelKeySetupEnc()
746 rk[4] = rk[0] ^ in rijndaelKeySetupEnc()
752 rk[5] = rk[1] ^ rk[4]; in rijndaelKeySetupEnc()
753 rk[6] = rk[2] ^ rk[5]; in rijndaelKeySetupEnc()
754 rk[7] = rk[3] ^ rk[6]; in rijndaelKeySetupEnc()
758 rk += 4; in rijndaelKeySetupEnc()
761 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc()
762 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc()
765 temp = rk[ 5]; in rijndaelKeySetupEnc()
766 rk[ 6] = rk[ 0] ^ in rijndaelKeySetupEnc()
772 rk[ 7] = rk[ 1] ^ rk[ 6]; in rijndaelKeySetupEnc()
773 rk[ 8] = rk[ 2] ^ rk[ 7]; in rijndaelKeySetupEnc()
774 rk[ 9] = rk[ 3] ^ rk[ 8]; in rijndaelKeySetupEnc()
778 rk[10] = rk[ 4] ^ rk[ 9]; in rijndaelKeySetupEnc()
779 rk[11] = rk[ 5] ^ rk[10]; in rijndaelKeySetupEnc()
780 rk += 6; in rijndaelKeySetupEnc()
783 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc()
784 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc()
787 temp = rk[ 7]; in rijndaelKeySetupEnc()
788 rk[ 8] = rk[ 0] ^ in rijndaelKeySetupEnc()
794 rk[ 9] = rk[ 1] ^ rk[ 8]; in rijndaelKeySetupEnc()
795 rk[10] = rk[ 2] ^ rk[ 9]; in rijndaelKeySetupEnc()
796 rk[11] = rk[ 3] ^ rk[10]; in rijndaelKeySetupEnc()
800 temp = rk[11]; in rijndaelKeySetupEnc()
801 rk[12] = rk[ 4] ^ in rijndaelKeySetupEnc()
806 rk[13] = rk[ 5] ^ rk[12]; in rijndaelKeySetupEnc()
807 rk[14] = rk[ 6] ^ rk[13]; in rijndaelKeySetupEnc()
808 rk[15] = rk[ 7] ^ rk[14]; in rijndaelKeySetupEnc()
810 rk += 8; in rijndaelKeySetupEnc()
821 int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) { in rijndaelKeySetupDec() argument
826 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits); in rijndaelKeySetupDec()
829 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in rijndaelKeySetupDec()
830 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in rijndaelKeySetupDec()
831 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in rijndaelKeySetupDec()
832 temp = rk[i + 3]; rk[i + 3] = rk[j + 3]; rk[j + 3] = temp; in rijndaelKeySetupDec()
836 rk += 4; in rijndaelKeySetupDec()
837 rk[0] = in rijndaelKeySetupDec()
838 Td0[Te4[(rk[0] >> 24) ] & 0xff] ^ in rijndaelKeySetupDec()
839 Td1[Te4[(rk[0] >> 16) & 0xff] & 0xff] ^ in rijndaelKeySetupDec()
840 Td2[Te4[(rk[0] >> 8) & 0xff] & 0xff] ^ in rijndaelKeySetupDec()
841 Td3[Te4[(rk[0] ) & 0xff] & 0xff]; in rijndaelKeySetupDec()
842 rk[1] = in rijndaelKeySetupDec()
843 Td0[Te4[(rk[1] >> 24) ] & 0xff] ^ in rijndaelKeySetupDec()
844 Td1[Te4[(rk[1] >> 16) & 0xff] & 0xff] ^ in rijndaelKeySetupDec()
845 Td2[Te4[(rk[1] >> 8) & 0xff] & 0xff] ^ in rijndaelKeySetupDec()
846 Td3[Te4[(rk[1] ) & 0xff] & 0xff]; in rijndaelKeySetupDec()
847 rk[2] = in rijndaelKeySetupDec()
848 Td0[Te4[(rk[2] >> 24) ] & 0xff] ^ in rijndaelKeySetupDec()
849 Td1[Te4[(rk[2] >> 16) & 0xff] & 0xff] ^ in rijndaelKeySetupDec()
850 Td2[Te4[(rk[2] >> 8) & 0xff] & 0xff] ^ in rijndaelKeySetupDec()
851 Td3[Te4[(rk[2] ) & 0xff] & 0xff]; in rijndaelKeySetupDec()
852 rk[3] = in rijndaelKeySetupDec()
853 Td0[Te4[(rk[3] >> 24) ] & 0xff] ^ in rijndaelKeySetupDec()
854 Td1[Te4[(rk[3] >> 16) & 0xff] & 0xff] ^ in rijndaelKeySetupDec()
855 Td2[Te4[(rk[3] >> 8) & 0xff] & 0xff] ^ in rijndaelKeySetupDec()
856 Td3[Te4[(rk[3] ) & 0xff] & 0xff]; in rijndaelKeySetupDec()
861 void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 ct[16]) { in rijndaelEncrypt() argument
871 s0 = GETU32(pt ) ^ rk[0]; in rijndaelEncrypt()
872 s1 = GETU32(pt + 4) ^ rk[1]; in rijndaelEncrypt()
873 s2 = GETU32(pt + 8) ^ rk[2]; in rijndaelEncrypt()
874 s3 = GETU32(pt + 12) ^ rk[3]; in rijndaelEncrypt()
877 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[ 4]; in rijndaelEncrypt()
878 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[ 5]; in rijndaelEncrypt()
879 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[ 6]; in rijndaelEncrypt()
880 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[ 7]; in rijndaelEncrypt()
882 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[ 8]; in rijndaelEncrypt()
883 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[ 9]; in rijndaelEncrypt()
884 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[10]; in rijndaelEncrypt()
885 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[11]; in rijndaelEncrypt()
887 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[12]; in rijndaelEncrypt()
888 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[13]; in rijndaelEncrypt()
889 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[14]; in rijndaelEncrypt()
890 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[15]; in rijndaelEncrypt()
892 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[16]; in rijndaelEncrypt()
893 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[17]; in rijndaelEncrypt()
894 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[18]; in rijndaelEncrypt()
895 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[19]; in rijndaelEncrypt()
897 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[20]; in rijndaelEncrypt()
898 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[21]; in rijndaelEncrypt()
899 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[22]; in rijndaelEncrypt()
900 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[23]; in rijndaelEncrypt()
902 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[24]; in rijndaelEncrypt()
903 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[25]; in rijndaelEncrypt()
904 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[26]; in rijndaelEncrypt()
905 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[27]; in rijndaelEncrypt()
907 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[28]; in rijndaelEncrypt()
908 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[29]; in rijndaelEncrypt()
909 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[30]; in rijndaelEncrypt()
910 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[31]; in rijndaelEncrypt()
912 s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[32]; in rijndaelEncrypt()
913 s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[33]; in rijndaelEncrypt()
914 s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[34]; in rijndaelEncrypt()
915 s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[35]; in rijndaelEncrypt()
917 t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[36]; in rijndaelEncrypt()
918 t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[37]; in rijndaelEncrypt()
919 t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[38]; in rijndaelEncrypt()
920 t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[39]; in rijndaelEncrypt()
923 … s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[40]; in rijndaelEncrypt()
924 … s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[41]; in rijndaelEncrypt()
925 … s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[42]; in rijndaelEncrypt()
926 … s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[43]; in rijndaelEncrypt()
928 … t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[44]; in rijndaelEncrypt()
929 … t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[45]; in rijndaelEncrypt()
930 … t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[46]; in rijndaelEncrypt()
931 … t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[47]; in rijndaelEncrypt()
934 … s0 = Te0[t0 >> 24] ^ Te1[(t1 >> 16) & 0xff] ^ Te2[(t2 >> 8) & 0xff] ^ Te3[t3 & 0xff] ^ rk[48]; in rijndaelEncrypt()
935 … s1 = Te0[t1 >> 24] ^ Te1[(t2 >> 16) & 0xff] ^ Te2[(t3 >> 8) & 0xff] ^ Te3[t0 & 0xff] ^ rk[49]; in rijndaelEncrypt()
936 … s2 = Te0[t2 >> 24] ^ Te1[(t3 >> 16) & 0xff] ^ Te2[(t0 >> 8) & 0xff] ^ Te3[t1 & 0xff] ^ rk[50]; in rijndaelEncrypt()
937 … s3 = Te0[t3 >> 24] ^ Te1[(t0 >> 16) & 0xff] ^ Te2[(t1 >> 8) & 0xff] ^ Te3[t2 & 0xff] ^ rk[51]; in rijndaelEncrypt()
939 … t0 = Te0[s0 >> 24] ^ Te1[(s1 >> 16) & 0xff] ^ Te2[(s2 >> 8) & 0xff] ^ Te3[s3 & 0xff] ^ rk[52]; in rijndaelEncrypt()
940 … t1 = Te0[s1 >> 24] ^ Te1[(s2 >> 16) & 0xff] ^ Te2[(s3 >> 8) & 0xff] ^ Te3[s0 & 0xff] ^ rk[53]; in rijndaelEncrypt()
941 … t2 = Te0[s2 >> 24] ^ Te1[(s3 >> 16) & 0xff] ^ Te2[(s0 >> 8) & 0xff] ^ Te3[s1 & 0xff] ^ rk[54]; in rijndaelEncrypt()
942 … t3 = Te0[s3 >> 24] ^ Te1[(s0 >> 16) & 0xff] ^ Te2[(s1 >> 8) & 0xff] ^ Te3[s2 & 0xff] ^ rk[55]; in rijndaelEncrypt()
945 rk += Nr << 2; in rijndaelEncrypt()
957 rk[4]; in rijndaelEncrypt()
963 rk[5]; in rijndaelEncrypt()
969 rk[6]; in rijndaelEncrypt()
975 rk[7]; in rijndaelEncrypt()
977 rk += 8; in rijndaelEncrypt()
987 rk[0]; in rijndaelEncrypt()
993 rk[1]; in rijndaelEncrypt()
999 rk[2]; in rijndaelEncrypt()
1005 rk[3]; in rijndaelEncrypt()
1017 rk[0]; in rijndaelEncrypt()
1024 rk[1]; in rijndaelEncrypt()
1031 rk[2]; in rijndaelEncrypt()
1038 rk[3]; in rijndaelEncrypt()
1042 void rijndaelDecrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 ct[16], u8 pt[16]) { in rijndaelDecrypt() argument
1052 s0 = GETU32(ct ) ^ rk[0]; in rijndaelDecrypt()
1053 s1 = GETU32(ct + 4) ^ rk[1]; in rijndaelDecrypt()
1054 s2 = GETU32(ct + 8) ^ rk[2]; in rijndaelDecrypt()
1055 s3 = GETU32(ct + 12) ^ rk[3]; in rijndaelDecrypt()
1058 t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[ 4]; in rijndaelDecrypt()
1059 t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[ 5]; in rijndaelDecrypt()
1060 t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[ 6]; in rijndaelDecrypt()
1061 t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[ 7]; in rijndaelDecrypt()
1063 s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[ 8]; in rijndaelDecrypt()
1064 s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[ 9]; in rijndaelDecrypt()
1065 s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[10]; in rijndaelDecrypt()
1066 s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[11]; in rijndaelDecrypt()
1068 t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[12]; in rijndaelDecrypt()
1069 t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[13]; in rijndaelDecrypt()
1070 t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[14]; in rijndaelDecrypt()
1071 t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[15]; in rijndaelDecrypt()
1073 s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[16]; in rijndaelDecrypt()
1074 s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[17]; in rijndaelDecrypt()
1075 s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[18]; in rijndaelDecrypt()
1076 s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[19]; in rijndaelDecrypt()
1078 t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[20]; in rijndaelDecrypt()
1079 t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[21]; in rijndaelDecrypt()
1080 t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[22]; in rijndaelDecrypt()
1081 t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[23]; in rijndaelDecrypt()
1083 s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[24]; in rijndaelDecrypt()
1084 s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[25]; in rijndaelDecrypt()
1085 s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[26]; in rijndaelDecrypt()
1086 s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[27]; in rijndaelDecrypt()
1088 t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[28]; in rijndaelDecrypt()
1089 t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[29]; in rijndaelDecrypt()
1090 t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[30]; in rijndaelDecrypt()
1091 t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[31]; in rijndaelDecrypt()
1093 s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[32]; in rijndaelDecrypt()
1094 s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[33]; in rijndaelDecrypt()
1095 s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[34]; in rijndaelDecrypt()
1096 s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[35]; in rijndaelDecrypt()
1098 t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[36]; in rijndaelDecrypt()
1099 t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[37]; in rijndaelDecrypt()
1100 t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[38]; in rijndaelDecrypt()
1101 t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[39]; in rijndaelDecrypt()
1104 … s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[40]; in rijndaelDecrypt()
1105 … s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[41]; in rijndaelDecrypt()
1106 … s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[42]; in rijndaelDecrypt()
1107 … s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[43]; in rijndaelDecrypt()
1109 … t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[44]; in rijndaelDecrypt()
1110 … t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[45]; in rijndaelDecrypt()
1111 … t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[46]; in rijndaelDecrypt()
1112 … t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[47]; in rijndaelDecrypt()
1115 … s0 = Td0[t0 >> 24] ^ Td1[(t3 >> 16) & 0xff] ^ Td2[(t2 >> 8) & 0xff] ^ Td3[t1 & 0xff] ^ rk[48]; in rijndaelDecrypt()
1116 … s1 = Td0[t1 >> 24] ^ Td1[(t0 >> 16) & 0xff] ^ Td2[(t3 >> 8) & 0xff] ^ Td3[t2 & 0xff] ^ rk[49]; in rijndaelDecrypt()
1117 … s2 = Td0[t2 >> 24] ^ Td1[(t1 >> 16) & 0xff] ^ Td2[(t0 >> 8) & 0xff] ^ Td3[t3 & 0xff] ^ rk[50]; in rijndaelDecrypt()
1118 … s3 = Td0[t3 >> 24] ^ Td1[(t2 >> 16) & 0xff] ^ Td2[(t1 >> 8) & 0xff] ^ Td3[t0 & 0xff] ^ rk[51]; in rijndaelDecrypt()
1120 … t0 = Td0[s0 >> 24] ^ Td1[(s3 >> 16) & 0xff] ^ Td2[(s2 >> 8) & 0xff] ^ Td3[s1 & 0xff] ^ rk[52]; in rijndaelDecrypt()
1121 … t1 = Td0[s1 >> 24] ^ Td1[(s0 >> 16) & 0xff] ^ Td2[(s3 >> 8) & 0xff] ^ Td3[s2 & 0xff] ^ rk[53]; in rijndaelDecrypt()
1122 … t2 = Td0[s2 >> 24] ^ Td1[(s1 >> 16) & 0xff] ^ Td2[(s0 >> 8) & 0xff] ^ Td3[s3 & 0xff] ^ rk[54]; in rijndaelDecrypt()
1123 … t3 = Td0[s3 >> 24] ^ Td1[(s2 >> 16) & 0xff] ^ Td2[(s1 >> 8) & 0xff] ^ Td3[s0 & 0xff] ^ rk[55]; in rijndaelDecrypt()
1126 rk += Nr << 2; in rijndaelDecrypt()
1138 rk[4]; in rijndaelDecrypt()
1144 rk[5]; in rijndaelDecrypt()
1150 rk[6]; in rijndaelDecrypt()
1156 rk[7]; in rijndaelDecrypt()
1158 rk += 8; in rijndaelDecrypt()
1168 rk[0]; in rijndaelDecrypt()
1174 rk[1]; in rijndaelDecrypt()
1180 rk[2]; in rijndaelDecrypt()
1186 rk[3]; in rijndaelDecrypt()
1198 rk[0]; in rijndaelDecrypt()
1205 rk[1]; in rijndaelDecrypt()
1212 rk[2]; in rijndaelDecrypt()
1219 rk[3]; in rijndaelDecrypt()