Searched refs:pn_vector (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/staging/r8188eu/core/ |
D | rtw_security.c | 635 …ic_iv(u8 *mic_header1, int qc_exists, int a4_exists, u8 *mpdu, uint payload_length, u8 *pn_vector); 638 …nstruct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_vector, int c); 827 uint payload_length, u8 *pn_vector) in construct_mic_iv() argument 841 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 921 …onstruct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_vector, int c) in construct_ctr_preload() argument 938 ctr_preload[i] = pn_vector[13 - i]; /* ctr_preload[8:13] = PN[5:0] */ in construct_ctr_preload() 962 u8 pn_vector[6]; in aes_cipher() local 1003 pn_vector[0] = pframe[hdrlen]; in aes_cipher() 1004 pn_vector[1] = pframe[hdrlen + 1]; in aes_cipher() 1005 pn_vector[2] = pframe[hdrlen + 4]; in aes_cipher() [all …]
|
/Linux-v6.1/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 651 u8 *pn_vector, 665 u8 *pn_vector, 697 u8 *pn_vector, in construct_mic_iv() argument 721 mic_iv[i] = pn_vector[i - 8]; /* mic_iv[8:13] = PN[0:5] */ in construct_mic_iv() 724 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 820 u8 *pn_vector, in construct_ctr_preload() argument 844 ctr_preload[i] = pn_vector[i - 8]; /* ctr_preload[8:13] = PN[0:5] */ in construct_ctr_preload() 847 ctr_preload[i] = pn_vector[13 - i]; /* ctr_preload[8:13] = PN[5:0] */ in construct_ctr_preload() 871 u8 pn_vector[6]; in aes_cipher() local 920 pn_vector[0] = pframe[hdrlen]; in aes_cipher() [all …]
|
/Linux-v6.1/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 894 u8 *mpdu, uint payload_length, u8 *pn_vector) in construct_mic_iv() argument 908 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 981 u8 *mpdu, u8 *pn_vector, sint c) in construct_ctr_preload() argument 996 ctr_preload[i] = pn_vector[13 - i]; in construct_ctr_preload() 1019 u8 pn_vector[6]; in aes_cipher() local 1063 pn_vector[0] = pframe[hdrlen]; in aes_cipher() 1064 pn_vector[1] = pframe[hdrlen + 1]; in aes_cipher() 1065 pn_vector[2] = pframe[hdrlen + 4]; in aes_cipher() 1066 pn_vector[3] = pframe[hdrlen + 5]; in aes_cipher() 1067 pn_vector[4] = pframe[hdrlen + 6]; in aes_cipher() [all …]
|