Searched refs:rotr (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/rtl8723au/include/ |
D | rtw_security.h | 219 static inline u32 rotr(u32 val, int bits) in rotr() function 225 #define TE1(i) rotr(Te0[((i) >> 16) & 0xff], 8) 226 #define TE2(i) rotr(Te0[((i) >> 8) & 0xff], 16) 227 #define TE3(i) rotr(Te0[(i) & 0xff], 24) 239 #define TD1(i) rotr(Td0[((i) >> 16) & 0xff], 8) 240 #define TD2(i) rotr(Td0[((i) >> 8) & 0xff], 16) 241 #define TD3(i) rotr(Td0[(i) & 0xff], 24) 247 #define TD1_(i) rotr(Td0[(i) & 0xff], 8) 248 #define TD2_(i) rotr(Td0[(i) & 0xff], 16) 249 #define TD3_(i) rotr(Td0[(i) & 0xff], 24)
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_security.h | 263 static inline u32 rotr(u32 val, int bits) in rotr() function 269 #define TE1(i) rotr(Te0[((i) >> 16) & 0xff], 8) 270 #define TE2(i) rotr(Te0[((i) >> 8) & 0xff], 16) 271 #define TE3(i) rotr(Te0[(i) & 0xff], 24) 283 #define TD1(i) rotr(Td0[((i) >> 16) & 0xff], 8) 284 #define TD2(i) rotr(Td0[((i) >> 8) & 0xff], 16) 285 #define TD3(i) rotr(Td0[(i) & 0xff], 24) 291 #define TD1_(i) rotr(Td0[(i) & 0xff], 8) 292 #define TD2_(i) rotr(Td0[(i) & 0xff], 16) 293 #define TD3_(i) rotr(Td0[(i) & 0xff], 24)
|
/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 835 u8 rotr[4]; in mix_column() local 865 xor_32(in, add1bf7, rotr); in mix_column() 866 temp[0] = rotr[0]; /* Rotate right 8 bits */ in mix_column() 867 rotr[0] = rotr[1]; in mix_column() 868 rotr[1] = rotr[2]; in mix_column() 869 rotr[2] = rotr[3]; in mix_column() 870 rotr[3] = temp[0]; in mix_column() 871 xor_32(add1bf7, rotr, temp); in mix_column()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_security.c | 927 u8 rotr[4]; in mix_column() local 967 xor_32(in, add1bf7, rotr); in mix_column() 969 temp[0] = rotr[0]; /* Rotate right 8 bits */ in mix_column() 970 rotr[0] = rotr[1]; in mix_column() 971 rotr[1] = rotr[2]; in mix_column() 972 rotr[2] = rotr[3]; in mix_column() 973 rotr[3] = temp[0]; in mix_column() 975 xor_32(add1bf7, rotr, temp); in mix_column()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 859 u8 rotr[4]; in mix_column() local 894 xor_32(in, add1bf7, rotr); in mix_column() 896 temp[0] = rotr[0]; /* Rotate right 8 bits */ in mix_column() 897 rotr[0] = rotr[1]; in mix_column() 898 rotr[1] = rotr[2]; in mix_column() 899 rotr[2] = rotr[3]; in mix_column() 900 rotr[3] = temp[0]; in mix_column() 902 xor_32(add1bf7, rotr, temp); in mix_column()
|