Searched refs:pn_vector (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 915 u8 *mpdu, uint payload_length, u8 *pn_vector) in construct_mic_iv() argument 929 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 1002 u8 *mpdu, u8 *pn_vector, sint c) in construct_ctr_preload() argument 1017 ctr_preload[i] = pn_vector[13 - i]; in construct_ctr_preload() 1040 u8 pn_vector[6]; in aes_cipher() local 1084 pn_vector[0] = pframe[hdrlen]; in aes_cipher() 1085 pn_vector[1] = pframe[hdrlen + 1]; in aes_cipher() 1086 pn_vector[2] = pframe[hdrlen + 4]; in aes_cipher() 1087 pn_vector[3] = pframe[hdrlen + 5]; in aes_cipher() 1088 pn_vector[4] = pframe[hdrlen + 6]; in aes_cipher() [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 923 u8 *pn_vector, 943 u8 *pn_vector, 1146 u8 *pn_vector, in construct_mic_iv() argument 1171 mic_iv[i] = pn_vector[i - 8]; /* mic_iv[8:13] = PN[0:5] */ in construct_mic_iv() 1174 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 1280 u8 *pn_vector, in construct_ctr_preload() argument 1305 ctr_preload[i] = pn_vector[i - 8]; /* ctr_preload[8:13] = PN[0:5] */ in construct_ctr_preload() 1308 ctr_preload[i] = pn_vector[13 - i]; /* ctr_preload[8:13] = PN[5:0] */ in construct_ctr_preload() 1335 u8 pn_vector[6]; in aes_cipher() local 1384 pn_vector[0] = pframe[hdrlen]; in aes_cipher() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 778 …ic_iv(u8 *mic_header1, int qc_exists, int a4_exists, u8 *mpdu, uint payload_length, u8 *pn_vector); 781 …nstruct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_vector, int c); 961 uint payload_length, u8 *pn_vector) in construct_mic_iv() argument 975 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 1051 …onstruct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_vector, int c) in construct_ctr_preload() argument 1068 ctr_preload[i] = pn_vector[13 - i]; /* ctr_preload[8:13] = PN[5:0] */ in construct_ctr_preload() 1090 u8 pn_vector[6]; in aes_cipher() local 1131 pn_vector[0] = pframe[hdrlen]; in aes_cipher() 1132 pn_vector[1] = pframe[hdrlen+1]; in aes_cipher() 1133 pn_vector[2] = pframe[hdrlen+4]; in aes_cipher() [all …]
|