/Linux-v5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 347 struct mic_data micdata; in rtw_seccalctkipmic() local 350 rtw_secmicsetkey(&micdata, key); in rtw_seccalctkipmic() 355 rtw_secmicappend(&micdata, &header[16], 6); /* DA */ in rtw_seccalctkipmic() 357 rtw_secmicappend(&micdata, &header[24], 6); in rtw_seccalctkipmic() 359 rtw_secmicappend(&micdata, &header[10], 6); in rtw_seccalctkipmic() 361 rtw_secmicappend(&micdata, &header[4], 6); /* DA */ in rtw_seccalctkipmic() 363 rtw_secmicappend(&micdata, &header[16], 6); in rtw_seccalctkipmic() 365 rtw_secmicappend(&micdata, &header[10], 6); in rtw_seccalctkipmic() 367 rtw_secmicappend(&micdata, &priority[0], 4); in rtw_seccalctkipmic() 369 rtw_secmicappend(&micdata, data, data_len); in rtw_seccalctkipmic() [all …]
|
D | rtw_xmit.c | 592 struct mic_data micdata; in xmitframe_addmic() local 618 …rtw_secmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid]… in xmitframe_addmic() 623 rtw_secmicsetkey(&micdata, &stainfo->dot11tkiptxmickey.skey[0]); in xmitframe_addmic() 627 rtw_secmicappend(&micdata, &pframe[16], 6); /* DA */ in xmitframe_addmic() 629 rtw_secmicappend(&micdata, &pframe[24], 6); in xmitframe_addmic() 631 rtw_secmicappend(&micdata, &pframe[10], 6); in xmitframe_addmic() 633 rtw_secmicappend(&micdata, &pframe[4], 6); /* DA */ in xmitframe_addmic() 635 rtw_secmicappend(&micdata, &pframe[16], 6); in xmitframe_addmic() 637 rtw_secmicappend(&micdata, &pframe[10], 6); in xmitframe_addmic() 643 rtw_secmicappend(&micdata, &priority[0], 4); in xmitframe_addmic() [all …]
|
/Linux-v5.10/drivers/staging/rtl8712/ |
D | rtl871x_xmit.c | 349 struct mic_data micdata; in xmitframe_addmic() local 375 r8712_secmicsetkey(&micdata, in xmitframe_addmic() 383 r8712_secmicsetkey(&micdata, in xmitframe_addmic() 387 r8712_secmicappend(&micdata, in xmitframe_addmic() 390 r8712_secmicappend(&micdata, in xmitframe_addmic() 393 r8712_secmicappend(&micdata, in xmitframe_addmic() 396 r8712_secmicappend(&micdata, in xmitframe_addmic() 399 r8712_secmicappend(&micdata, in xmitframe_addmic() 402 r8712_secmicappend(&micdata, in xmitframe_addmic() 407 r8712_secmicappend(&micdata, &priority[0], 4); in xmitframe_addmic() [all …]
|
D | rtl871x_security.c | 339 struct mic_data micdata; in seccalctkipmic() local 342 r8712_secmicsetkey(&micdata, key); in seccalctkipmic() 346 r8712_secmicappend(&micdata, &header[16], 6); /* DA */ in seccalctkipmic() 348 r8712_secmicappend(&micdata, &header[24], 6); in seccalctkipmic() 350 r8712_secmicappend(&micdata, &header[10], 6); in seccalctkipmic() 352 r8712_secmicappend(&micdata, &header[4], 6); /* DA */ in seccalctkipmic() 354 r8712_secmicappend(&micdata, &header[16], 6); in seccalctkipmic() 356 r8712_secmicappend(&micdata, &header[10], 6); in seccalctkipmic() 358 r8712_secmicappend(&micdata, &priority[0], 4); in seccalctkipmic() 359 r8712_secmicappend(&micdata, data, data_len); in seccalctkipmic() [all …]
|
/Linux-v5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 418 struct mic_data micdata; in rtw_seccalctkipmic() local 421 rtw_secmicsetkey(&micdata, key); in rtw_seccalctkipmic() 426 rtw_secmicappend(&micdata, &header[16], 6); /* DA */ in rtw_seccalctkipmic() 428 rtw_secmicappend(&micdata, &header[24], 6); in rtw_seccalctkipmic() 430 rtw_secmicappend(&micdata, &header[10], 6); in rtw_seccalctkipmic() 432 rtw_secmicappend(&micdata, &header[4], 6); /* DA */ in rtw_seccalctkipmic() 434 rtw_secmicappend(&micdata, &header[16], 6); in rtw_seccalctkipmic() 436 rtw_secmicappend(&micdata, &header[10], 6); in rtw_seccalctkipmic() 438 rtw_secmicappend(&micdata, &priority[0], 4); in rtw_seccalctkipmic() 441 rtw_secmicappend(&micdata, data, data_len); in rtw_seccalctkipmic() [all …]
|
D | rtw_xmit.c | 817 struct mic_data micdata; in xmitframe_addmic() local 838 …rtw_secmicsetkey(&micdata, psecuritypriv->dot118021XGrptxmickey[psecuritypriv->dot118021XGrpKeyid]… in xmitframe_addmic() 843 rtw_secmicsetkey(&micdata, &pattrib->dot11tkiptxmickey.skey[0]); in xmitframe_addmic() 847 rtw_secmicappend(&micdata, &pframe[16], 6); /* DA */ in xmitframe_addmic() 849 rtw_secmicappend(&micdata, &pframe[24], 6); in xmitframe_addmic() 851 rtw_secmicappend(&micdata, &pframe[10], 6); in xmitframe_addmic() 853 rtw_secmicappend(&micdata, &pframe[4], 6); /* DA */ in xmitframe_addmic() 855 rtw_secmicappend(&micdata, &pframe[16], 6); in xmitframe_addmic() 857 rtw_secmicappend(&micdata, &pframe[10], 6); in xmitframe_addmic() 863 rtw_secmicappend(&micdata, &priority[0], 4); in xmitframe_addmic() [all …]
|
/Linux-v5.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_cmd.c | 426 struct mic_data micdata; in ConstructARPResponse() local 444 rtw_secmicsetkey(&micdata, &psta->dot11tkiptxmickey.skey[0]); in ConstructARPResponse() 447 rtw_secmicappend(&micdata, pwlanhdr->addr3, 6); /* DA */ in ConstructARPResponse() 449 rtw_secmicappend(&micdata, pwlanhdr->addr2, 6); /* SA */ in ConstructARPResponse() 452 rtw_secmicappend(&micdata, &priority[0], 4); in ConstructARPResponse() 454 rtw_secmicappend(&micdata, payload, 36); /* payload length = 8 + 28 */ in ConstructARPResponse() 456 rtw_secgetmic(&micdata, &(mic[0])); in ConstructARPResponse()
|