Searched refs:rotr (Results 1 – 3 of 3) sorted by relevance
/drivers/staging/rtl8723bs/include/ |
D | rtw_security.h | 297 static inline u32 rotr(u32 val, int bits) in rotr() function 303 #define TE1(i) rotr(Te0[((i) >> 16) & 0xff], 8) 304 #define TE2(i) rotr(Te0[((i) >> 8) & 0xff], 16) 305 #define TE3(i) rotr(Te0[(i) & 0xff], 24) 317 #define TD1(i) rotr(Td0[((i) >> 16) & 0xff], 8) 318 #define TD2(i) rotr(Td0[((i) >> 8) & 0xff], 16) 319 #define TD3(i) rotr(Td0[(i) & 0xff], 24) 325 #define TD1_(i) rotr(Td0[(i) & 0xff], 8) 326 #define TD2_(i) rotr(Td0[(i) & 0xff], 16) 327 #define TD3_(i) rotr(Td0[(i) & 0xff], 24)
|
/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 818 u8 rotr[4]; in mix_column() local 848 xor_32(in, add1bf7, rotr); in mix_column() 849 temp[0] = rotr[0]; /* Rotate right 8 bits */ in mix_column() 850 rotr[0] = rotr[1]; in mix_column() 851 rotr[1] = rotr[2]; in mix_column() 852 rotr[2] = rotr[3]; in mix_column() 853 rotr[3] = temp[0]; in mix_column() 854 xor_32(add1bf7, rotr, temp); in mix_column()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 1020 u8 rotr[4]; in mix_column() local 1056 xor_32(in, add1bf7, rotr); in mix_column() 1058 temp[0] = rotr[0]; /* Rotate right 8 bits */ in mix_column() 1059 rotr[0] = rotr[1]; in mix_column() 1060 rotr[1] = rotr[2]; in mix_column() 1061 rotr[2] = rotr[3]; in mix_column() 1062 rotr[3] = temp[0]; in mix_column() 1064 xor_32(add1bf7, rotr, temp); in mix_column()
|