Searched refs:pmicdata (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_security.c | 270 pmicdata->L = pmicdata->K0; in secmicclear() 271 pmicdata->R = pmicdata->K1; in secmicclear() 292 pmicdata->L ^= pmicdata->M; in secmicappendbyte() 293 pmicdata->R ^= ROL32(pmicdata->L, 17); in secmicappendbyte() 294 pmicdata->L += pmicdata->R; in secmicappendbyte() 295 pmicdata->R ^= ((pmicdata->L & 0xff00ff00) >> 8) | in secmicappendbyte() 297 pmicdata->L += pmicdata->R; in secmicappendbyte() 298 pmicdata->R ^= ROL32(pmicdata->L, 3); in secmicappendbyte() 299 pmicdata->L += pmicdata->R; in secmicappendbyte() 300 pmicdata->R ^= ROR32(pmicdata->L, 2); in secmicappendbyte() [all …]
|
H A D | rtl871x_security.h | 206 void r8712_secmicsetkey(struct mic_data *pmicdata, u8 *key); 207 void r8712_secmicappend(struct mic_data *pmicdata, u8 *src, u32 nBytes); 208 void r8712_secgetmic(struct mic_data *pmicdata, u8 *dst);
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_security.c | 159 pmicdata->L = pmicdata->K0; in secmicclear() 160 pmicdata->R = pmicdata->K1; in secmicclear() 181 pmicdata->L ^= pmicdata->M; in rtw_secmicappendbyte() 182 pmicdata->R ^= ROL32(pmicdata->L, 17); in rtw_secmicappendbyte() 183 pmicdata->L += pmicdata->R; in rtw_secmicappendbyte() 184 pmicdata->R ^= ((pmicdata->L & 0xff00ff00) >> 8) | ((pmicdata->L & 0x00ff00ff) << 8); in rtw_secmicappendbyte() 185 pmicdata->L += pmicdata->R; in rtw_secmicappendbyte() 186 pmicdata->R ^= ROL32(pmicdata->L, 3); in rtw_secmicappendbyte() 187 pmicdata->L += pmicdata->R; in rtw_secmicappendbyte() 188 pmicdata->R ^= ROR32(pmicdata->L, 2); in rtw_secmicappendbyte() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_security.h | 253 void rtw_secmicsetkey(struct mic_data *pmicdata, u8 *key); 254 void rtw_secmicappendbyte(struct mic_data *pmicdata, u8 b); 255 void rtw_secmicappend(struct mic_data *pmicdata, u8 *src, u32 nBytes); 256 void rtw_secgetmic(struct mic_data *pmicdata, u8 *dst);
|