Searched refs:a4_exists (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_security.c833 static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, int a4_exists,
1007 static void construct_mic_iv(u8 *mic_iv, int qc_exists, int a4_exists, u8 *mpdu, construct_mic_iv() argument
1013 if (qc_exists && a4_exists) construct_mic_iv()
1015 if (qc_exists && !a4_exists) construct_mic_iv()
1058 static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, int a4_exists, construct_mic_header2() argument
1076 if (!qc_exists && a4_exists) { construct_mic_header2()
1081 if (qc_exists && !a4_exists) { construct_mic_header2()
1086 if (qc_exists && a4_exists) { construct_mic_header2()
1101 static void construct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, construct_ctr_preload() argument
1112 if (qc_exists && a4_exists) construct_ctr_preload()
1114 if (qc_exists && !a4_exists) construct_ctr_preload()
1140 uint qc_exists, a4_exists, i, j, payload_remainder, aes_cipher() local
1165 a4_exists = 0; aes_cipher()
1167 a4_exists = 1; aes_cipher()
1196 construct_mic_iv(mic_iv, qc_exists, a4_exists, pframe, plen, pn_vector); aes_cipher()
1199 construct_mic_header2(mic_header2, pframe, a4_exists, qc_exists); aes_cipher()
1240 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_cipher()
1252 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, aes_cipher()
1266 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, aes_cipher()
1360 uint qc_exists, a4_exists, i, j, payload_remainder, aes_decipher() local
1399 a4_exists = 0; aes_decipher()
1401 a4_exists = 1; aes_decipher()
1429 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_decipher()
1443 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, aes_decipher()
1467 construct_mic_iv(mic_iv, qc_exists, a4_exists, message, aes_decipher()
1471 construct_mic_header2(mic_header2, message, a4_exists, qc_exists); aes_decipher()
1512 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_decipher()
1524 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_decipher()
1538 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, message, aes_decipher()
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_security.c909 static void construct_mic_iv(u8 *mic_iv, sint qc_exists, sint a4_exists, construct_mic_iv() argument
915 if (qc_exists && a4_exists) construct_mic_iv()
917 if (qc_exists && !a4_exists) construct_mic_iv()
960 static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, sint a4_exists, construct_mic_header2() argument
975 if (!qc_exists && a4_exists) construct_mic_header2()
978 if (qc_exists && !a4_exists) { construct_mic_header2()
982 if (qc_exists && a4_exists) { construct_mic_header2()
995 static void construct_ctr_preload(u8 *ctr_preload, sint a4_exists, sint qc_exists, construct_ctr_preload() argument
1004 if (qc_exists && a4_exists) construct_ctr_preload()
1006 if (qc_exists && !a4_exists) construct_ctr_preload()
1031 uint qc_exists, a4_exists, i, j, payload_remainder; aes_cipher() local
1058 a4_exists = 0; aes_cipher()
1060 a4_exists = 1; aes_cipher()
1083 construct_mic_iv(mic_iv, qc_exists, a4_exists, pframe, plen, pn_vector); aes_cipher()
1085 construct_mic_header2(mic_header2, pframe, a4_exists, qc_exists); aes_cipher()
1117 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_cipher()
1126 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_cipher()
1138 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_cipher()
1204 uint qc_exists, a4_exists, i, j, payload_remainder; aes_decipher() local
1238 a4_exists = 0; aes_decipher()
1240 a4_exists = 1; aes_decipher()
1260 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_decipher()
1269 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_decipher()
1288 construct_mic_iv(mic_iv, qc_exists, a4_exists, message, plen-8, aes_decipher()
1291 construct_mic_header2(mic_header2, message, a4_exists, qc_exists); aes_decipher()
1323 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_decipher()
1332 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, aes_decipher()
1344 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, message, aes_decipher()
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_security.c764 static void construct_mic_iv(u8 *mic_header1, int qc_exists, int a4_exists, u8 *mpdu, uint payload_length, u8 *pn_vector);
766 static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, int a4_exists, int qc_exists);
767 static void construct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_vector, int c);
941 static void construct_mic_iv(u8 *mic_iv, int qc_exists, int a4_exists, u8 *mpdu, construct_mic_iv() argument
946 if (qc_exists && a4_exists) construct_mic_iv()
948 if (qc_exists && !a4_exists) construct_mic_iv()
990 static void construct_mic_header2(u8 *mic_header2, u8 *mpdu, int a4_exists, int qc_exists) construct_mic_header2() argument
1006 if (!qc_exists && a4_exists) { construct_mic_header2()
1011 if (qc_exists && !a4_exists) { construct_mic_header2()
1016 if (qc_exists && a4_exists) { construct_mic_header2()
1031 static void construct_ctr_preload(u8 *ctr_preload, int a4_exists, int qc_exists, u8 *mpdu, u8 *pn_vector, int c) construct_ctr_preload() argument
1039 if (qc_exists && a4_exists) construct_ctr_preload()
1041 if (qc_exists && !a4_exists) construct_ctr_preload()
1065 uint qc_exists, a4_exists, i, j, payload_remainder, aes_cipher() local
1093 a4_exists = 0; aes_cipher()
1095 a4_exists = 1; aes_cipher()
1116 construct_mic_iv(mic_iv, qc_exists, a4_exists, pframe, plen, pn_vector); aes_cipher()
1119 construct_mic_header2(mic_header2, pframe, a4_exists, qc_exists); aes_cipher()
1160 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, i+1); aes_cipher()
1169 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks+1); aes_cipher()
1181 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, 0); aes_cipher()
1262 uint qc_exists, a4_exists, i, j, payload_remainder, aes_decipher() local
1304 a4_exists = 0; aes_decipher()
1306 a4_exists = 1; aes_decipher()
1327 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, i+1); aes_decipher()
1338 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, pframe, pn_vector, num_blocks+1); aes_decipher()
1360 construct_mic_iv(mic_iv, qc_exists, a4_exists, message, plen-8, pn_vector); aes_decipher()
1363 construct_mic_header2(mic_header2, message, a4_exists, qc_exists); aes_decipher()
1404 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, message, pn_vector, i+1); aes_decipher()
1413 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, message, pn_vector, num_blocks+1); aes_decipher()
1426 construct_ctr_preload(ctr_preload, a4_exists, qc_exists, message, pn_vector, 0); aes_decipher()

Completed in 100 milliseconds