Home
last modified time | relevance | path

Searched refs:pn_vector (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_security.c895 u8 *mpdu, uint payload_length, u8 *pn_vector) in construct_mic_iv() argument
909 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv()
982 u8 *mpdu, u8 *pn_vector, sint c) in construct_ctr_preload() argument
997 ctr_preload[i] = pn_vector[13 - i]; in construct_ctr_preload()
1020 u8 pn_vector[6]; in aes_cipher() local
1064 pn_vector[0] = pframe[hdrlen]; in aes_cipher()
1065 pn_vector[1] = pframe[hdrlen + 1]; in aes_cipher()
1066 pn_vector[2] = pframe[hdrlen + 4]; in aes_cipher()
1067 pn_vector[3] = pframe[hdrlen + 5]; in aes_cipher()
1068 pn_vector[4] = pframe[hdrlen + 6]; in aes_cipher()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_security.c923 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-v5.4/drivers/staging/rtl8188eu/core/
Drtw_security.c777 …ic_iv(u8 *mic_header1, int qc_exists, int a4_exists, u8 *mpdu, uint payload_length, u8 *pn_vector);
780 …nstruct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_vector, int c);
960 uint payload_length, u8 *pn_vector) in construct_mic_iv() argument
974 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv()
1050 …onstruct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_vector, int c) in construct_ctr_preload() argument
1067 ctr_preload[i] = pn_vector[13 - i]; /* ctr_preload[8:13] = PN[5:0] */ in construct_ctr_preload()
1089 u8 pn_vector[6]; in aes_cipher() local
1130 pn_vector[0] = pframe[hdrlen]; in aes_cipher()
1131 pn_vector[1] = pframe[hdrlen+1]; in aes_cipher()
1132 pn_vector[2] = pframe[hdrlen+4]; in aes_cipher()
[all …]