• Home
  • Raw
  • Download

Lines Matching refs:rk

779 int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits)  in rijndaelKeySetupEnc()  argument
784 rk[0] = GETU32(cipherKey ); in rijndaelKeySetupEnc()
785 rk[1] = GETU32(cipherKey + 4); in rijndaelKeySetupEnc()
786 rk[2] = GETU32(cipherKey + 8); in rijndaelKeySetupEnc()
787 rk[3] = GETU32(cipherKey + 12); in rijndaelKeySetupEnc()
791 temp = rk[3]; in rijndaelKeySetupEnc()
792 rk[4] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc()
794 rk[5] = rk[1] ^ rk[4]; in rijndaelKeySetupEnc()
795 rk[6] = rk[2] ^ rk[5]; in rijndaelKeySetupEnc()
796 rk[7] = rk[3] ^ rk[6]; in rijndaelKeySetupEnc()
797 rk += 4; in rijndaelKeySetupEnc()
802 rk[4] = GETU32(cipherKey + 16); in rijndaelKeySetupEnc()
803 rk[5] = GETU32(cipherKey + 20); in rijndaelKeySetupEnc()
807 temp = rk[5]; in rijndaelKeySetupEnc()
808 rk[6] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc()
810 rk[7] = rk[1] ^ rk[6]; in rijndaelKeySetupEnc()
811 rk[8] = rk[2] ^ rk[7]; in rijndaelKeySetupEnc()
812 rk[9] = rk[3] ^ rk[8]; in rijndaelKeySetupEnc()
815 rk[10] = rk[4] ^ rk[9]; in rijndaelKeySetupEnc()
816 rk[11] = rk[5] ^ rk[10]; in rijndaelKeySetupEnc()
817 rk += 6; in rijndaelKeySetupEnc()
821 rk[6] = GETU32(cipherKey + 24); in rijndaelKeySetupEnc()
822 rk[7] = GETU32(cipherKey + 28); in rijndaelKeySetupEnc()
826 temp = rk[7]; in rijndaelKeySetupEnc()
827 rk[8] = rk[0] ^ TE421(temp) ^ TE432(temp) ^ in rijndaelKeySetupEnc()
829 rk[9] = rk[1] ^ rk[8]; in rijndaelKeySetupEnc()
830 rk[10] = rk[2] ^ rk[9]; in rijndaelKeySetupEnc()
831 rk[11] = rk[3] ^ rk[10]; in rijndaelKeySetupEnc()
834 temp = rk[11]; in rijndaelKeySetupEnc()
835 rk[12] = rk[4] ^ TE411(temp) ^ TE422(temp) ^ in rijndaelKeySetupEnc()
837 rk[13] = rk[5] ^ rk[12]; in rijndaelKeySetupEnc()
838 rk[14] = rk[6] ^ rk[13]; in rijndaelKeySetupEnc()
839 rk[15] = rk[7] ^ rk[14]; in rijndaelKeySetupEnc()
840 rk += 8; in rijndaelKeySetupEnc()