Home
last modified time | relevance | path

Searched refs:rotr (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/rtl8188eu/include/
Drtw_security.h248 static inline u32 rotr(u32 val, int bits) in rotr() function
254 #define TE1(i) rotr(Te0[((i) >> 16) & 0xff], 8)
255 #define TE2(i) rotr(Te0[((i) >> 8) & 0xff], 16)
256 #define TE3(i) rotr(Te0[(i) & 0xff], 24)
/drivers/staging/rtl8712/
Drtl871x_security.c838 u8 rotr[4]; in mix_column() local
868 xor_32(in, add1bf7, rotr); in mix_column()
869 temp[0] = rotr[0]; /* Rotate right 8 bits */ in mix_column()
870 rotr[0] = rotr[1]; in mix_column()
871 rotr[1] = rotr[2]; in mix_column()
872 rotr[2] = rotr[3]; in mix_column()
873 rotr[3] = temp[0]; in mix_column()
874 xor_32(add1bf7, rotr, temp); in mix_column()
/drivers/staging/rtl8188eu/core/
Drtw_security.c853 u8 rotr[4]; in mix_column() local
888 xor_32(in, add1bf7, rotr); in mix_column()
890 temp[0] = rotr[0]; /* Rotate right 8 bits */ in mix_column()
891 rotr[0] = rotr[1]; in mix_column()
892 rotr[1] = rotr[2]; in mix_column()
893 rotr[2] = rotr[3]; in mix_column()
894 rotr[3] = temp[0]; in mix_column()
896 xor_32(add1bf7, rotr, temp); in mix_column()