Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/drivers/staging/rtl8723bs/core/
Drtw_security.c891 u8 *pn_vector,
911 u8 *pn_vector,
1114 u8 *pn_vector, in construct_mic_iv() argument
1139 mic_iv[i] = pn_vector[i - 8]; /* mic_iv[8:13] = PN[0:5] */ in construct_mic_iv()
1142 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv()
1246 u8 *pn_vector, in construct_ctr_preload() argument
1271 ctr_preload[i] = pn_vector[i - 8]; /* ctr_preload[8:13] = PN[0:5] */ in construct_ctr_preload()
1274 ctr_preload[i] = pn_vector[13 - i]; /* ctr_preload[8:13] = PN[5:0] */ in construct_ctr_preload()
1301 u8 pn_vector[6]; in aes_cipher() local
1350 pn_vector[0] = pframe[hdrlen]; in aes_cipher()
[all …]