Searched refs:mic_iv (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_security.c | 692 static void construct_mic_iv(u8 *mic_iv, in construct_mic_iv() argument 702 mic_iv[0] = 0x59; in construct_mic_iv() 711 mic_iv[1] = 0x00; in construct_mic_iv() 715 mic_iv[1] |= BIT(4); in construct_mic_iv() 872 u8 mic_iv[16]; in aes_cipher() local 887 memset((void *)mic_iv, 0, 16); in aes_cipher() 927 construct_mic_iv(mic_iv, in aes_cipher() 952 aes128k128d(key, mic_iv, aes_out); in aes_cipher() 1084 u8 mic_iv[16]; in aes_decipher() local 1100 memset((void *)mic_iv, 0, 16); in aes_decipher() [all …]
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_security.c | 898 mic_iv[0] = 0x59; in construct_mic_iv() 904 mic_iv[1] = 0x00; in construct_mic_iv() 906 mic_iv[i] = mpdu[i + 8]; in construct_mic_iv() 909 mic_iv[14] = (unsigned char)(payload_length / 256); in construct_mic_iv() 910 mic_iv[15] = (unsigned char)(payload_length % 256); in construct_mic_iv() 1020 u8 mic_iv[16]; in aes_cipher() local 1034 memset((void *)mic_iv, 0, 16); in aes_cipher() 1077 aes128k128d(key, mic_iv, aes_out); in aes_cipher() 1193 u8 mic_iv[16]; in aes_decipher() local 1206 memset((void *)mic_iv, 0, 16); in aes_decipher() [all …]
|