Searched refs:mic_iv (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 914 static void construct_mic_iv(u8 *mic_iv, sint qc_exists, sint a4_exists, in construct_mic_iv() argument 919 mic_iv[0] = 0x59; in construct_mic_iv() 921 mic_iv[1] = mpdu[30] & 0x0f; /* QoS_TC */ in construct_mic_iv() 923 mic_iv[1] = mpdu[24] & 0x0f; /* mute bits 7-4 */ in construct_mic_iv() 925 mic_iv[1] = 0x00; in construct_mic_iv() 927 mic_iv[i] = mpdu[i + 8]; in construct_mic_iv() 929 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 930 mic_iv[14] = (unsigned char) (payload_length / 256); in construct_mic_iv() 931 mic_iv[15] = (unsigned char) (payload_length % 256); in construct_mic_iv() 1040 u8 mic_iv[16]; in aes_cipher() local [all …]
|
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_security.c | 1005 static void construct_mic_iv(u8 *mic_iv, int qc_exists, int a4_exists, u8 *mpdu, in construct_mic_iv() argument 1010 mic_iv[0] = 0x59; in construct_mic_iv() 1012 mic_iv[1] = mpdu[30] & 0x0f; /* QoS_TC */ in construct_mic_iv() 1014 mic_iv[1] = mpdu[24] & 0x0f; /* mute bits 7-4 */ in construct_mic_iv() 1016 mic_iv[1] = 0x00; in construct_mic_iv() 1018 mic_iv[i] = mpdu[i + 8]; /* mic_iv[2:7] = A2[0:5] = mpdu[10:15] */ in construct_mic_iv() 1020 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 1021 mic_iv[14] = (unsigned char)(payload_length / 256); in construct_mic_iv() 1022 mic_iv[15] = (unsigned char)(payload_length % 256); in construct_mic_iv() 1141 u8 mic_iv[16]; in aes_cipher() local [all …]
|
/linux-4.4.14/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 941 static void construct_mic_iv(u8 *mic_iv, int qc_exists, int a4_exists, u8 *mpdu, in construct_mic_iv() argument 945 mic_iv[0] = 0x59; in construct_mic_iv() 947 mic_iv[1] = mpdu[30] & 0x0f; /* QoS_TC */ in construct_mic_iv() 949 mic_iv[1] = mpdu[24] & 0x0f; /* mute bits 7-4 */ in construct_mic_iv() 951 mic_iv[1] = 0x00; in construct_mic_iv() 953 mic_iv[i] = mpdu[i + 8]; /* mic_iv[2:7] = A2[0:5] = mpdu[10:15] */ in construct_mic_iv() 955 mic_iv[i] = pn_vector[13 - i]; /* mic_iv[8:13] = PN[5:0] */ in construct_mic_iv() 956 mic_iv[14] = (unsigned char)(payload_length / 256); in construct_mic_iv() 957 mic_iv[15] = (unsigned char)(payload_length % 256); in construct_mic_iv() 1069 u8 mic_iv[16]; in aes_cipher() local [all …]
|