equal
deleted
inserted
replaced
14 * Description: EAP and WLAN authentication protocols. |
14 * Description: EAP and WLAN authentication protocols. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 49 % |
19 * %version: 46.1.2 % |
20 */ |
20 */ |
21 |
21 |
22 // This is enumeration of EAPOL source code. |
22 // This is enumeration of EAPOL source code. |
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES) |
24 #undef EAP_FILE_NUMBER_ENUM |
24 #undef EAP_FILE_NUMBER_ENUM |
46 |
46 |
47 |
47 |
48 //-------------------------------------------------- |
48 //-------------------------------------------------- |
49 |
49 |
50 // |
50 // |
51 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::create_4_way_handshake_message_1( |
51 eap_status_e eapol_key_state_c::create_4_way_handshake_message_1( |
52 eap_buf_chain_wr_c * const sent_packet, |
52 eap_buf_chain_wr_c * const sent_packet, |
53 const u32_t eapol_header_offset, |
53 const u32_t eapol_header_offset, |
54 u32_t * const data_length, |
54 u32_t * const data_length, |
55 u32_t * const buffer_length, |
55 u32_t * const buffer_length, |
56 const eapol_protocol_version_e used_eapol_version, |
56 const eapol_protocol_version_e used_eapol_version, |
301 } |
301 } |
302 |
302 |
303 //-------------------------------------------------- |
303 //-------------------------------------------------- |
304 |
304 |
305 // |
305 // |
306 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::create_4_way_handshake_message_3( |
306 eap_status_e eapol_key_state_c::create_4_way_handshake_message_3( |
307 eap_buf_chain_wr_c * const sent_packet, |
307 eap_buf_chain_wr_c * const sent_packet, |
308 const u32_t eapol_header_offset, |
308 const u32_t eapol_header_offset, |
309 u32_t * const data_length, |
309 u32_t * const data_length, |
310 u32_t * const buffer_length, |
310 u32_t * const buffer_length, |
311 const eapol_protocol_version_e used_eapol_version, |
311 const eapol_protocol_version_e used_eapol_version, |
895 } |
895 } |
896 |
896 |
897 //-------------------------------------------------- |
897 //-------------------------------------------------- |
898 |
898 |
899 // |
899 // |
900 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::send_RC4_eapol_key_messages() |
900 eap_status_e eapol_key_state_c::send_RC4_eapol_key_messages() |
901 { |
901 { |
902 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
902 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
903 |
903 |
904 eap_status_e status(eap_status_process_general_error); |
904 eap_status_e status(eap_status_process_general_error); |
905 |
905 |
946 } |
946 } |
947 |
947 |
948 //-------------------------------------------------- |
948 //-------------------------------------------------- |
949 |
949 |
950 // |
950 // |
951 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::start_4_way_handshake( |
951 eap_status_e eapol_key_state_c::start_4_way_handshake( |
952 const eap_am_network_id_c * const receive_network_id) |
952 const eap_am_network_id_c * const receive_network_id) |
953 { |
953 { |
954 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
954 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
955 EAP_UNREFERENCED_PARAMETER(receive_network_id); |
955 EAP_UNREFERENCED_PARAMETER(receive_network_id); |
956 |
956 |
1138 } |
1138 } |
1139 |
1139 |
1140 //-------------------------------------------------- |
1140 //-------------------------------------------------- |
1141 |
1141 |
1142 // |
1142 // |
1143 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_4_way_handshake_message_2_payloads( |
1143 eap_status_e eapol_key_state_c::process_4_way_handshake_message_2_payloads( |
1144 const eap_am_network_id_c * const receive_network_id, |
1144 const eap_am_network_id_c * const receive_network_id, |
1145 eapol_RSNA_key_header_c * const eapol_key_message, |
1145 eapol_RSNA_key_header_c * const eapol_key_message, |
1146 const u32_t packet_length) |
1146 const u32_t packet_length) |
1147 { |
1147 { |
1148 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
1148 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
1313 |
1313 |
1314 |
1314 |
1315 //-------------------------------------------------- |
1315 //-------------------------------------------------- |
1316 |
1316 |
1317 // |
1317 // |
1318 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_4_way_handshake_message_0( |
1318 eap_status_e eapol_key_state_c::process_4_way_handshake_message_0( |
1319 const eap_am_network_id_c * const receive_network_id, |
1319 const eap_am_network_id_c * const receive_network_id, |
1320 eapol_RSNA_key_header_c * const eapol_key_message, |
1320 eapol_RSNA_key_header_c * const eapol_key_message, |
1321 const u32_t /* packet_length */) |
1321 const u32_t /* packet_length */) |
1322 { |
1322 { |
1323 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
1323 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
1425 } |
1425 } |
1426 |
1426 |
1427 //-------------------------------------------------- |
1427 //-------------------------------------------------- |
1428 |
1428 |
1429 // |
1429 // |
1430 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_4_way_handshake_message_2( |
1430 eap_status_e eapol_key_state_c::process_4_way_handshake_message_2( |
1431 const eap_am_network_id_c * const receive_network_id, |
1431 const eap_am_network_id_c * const receive_network_id, |
1432 eapol_RSNA_key_header_c * const eapol_key_message, |
1432 eapol_RSNA_key_header_c * const eapol_key_message, |
1433 const u32_t packet_length) |
1433 const u32_t packet_length) |
1434 { |
1434 { |
1435 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
1435 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
1596 } |
1596 } |
1597 |
1597 |
1598 //-------------------------------------------------- |
1598 //-------------------------------------------------- |
1599 |
1599 |
1600 // |
1600 // |
1601 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_4_way_handshake_message_4( |
1601 eap_status_e eapol_key_state_c::process_4_way_handshake_message_4( |
1602 const eap_am_network_id_c * const receive_network_id, |
1602 const eap_am_network_id_c * const receive_network_id, |
1603 eapol_RSNA_key_header_c * const eapol_key_message, |
1603 eapol_RSNA_key_header_c * const eapol_key_message, |
1604 const u32_t packet_length) |
1604 const u32_t packet_length) |
1605 { |
1605 { |
1606 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
1606 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
1867 } |
1867 } |
1868 |
1868 |
1869 //-------------------------------------------------- |
1869 //-------------------------------------------------- |
1870 |
1870 |
1871 // |
1871 // |
1872 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::create_group_key_handshake_message_1( |
1872 eap_status_e eapol_key_state_c::create_group_key_handshake_message_1( |
1873 eap_buf_chain_wr_c * const sent_packet, |
1873 eap_buf_chain_wr_c * const sent_packet, |
1874 const u32_t eapol_header_offset, |
1874 const u32_t eapol_header_offset, |
1875 u32_t * const data_length, |
1875 u32_t * const data_length, |
1876 u32_t * const buffer_length, |
1876 u32_t * const buffer_length, |
1877 const eapol_protocol_version_e used_eapol_version, |
1877 const eapol_protocol_version_e used_eapol_version, |
2155 } |
2155 } |
2156 |
2156 |
2157 //-------------------------------------------------- |
2157 //-------------------------------------------------- |
2158 |
2158 |
2159 // |
2159 // |
2160 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_group_key_handshake_message_0( |
2160 eap_status_e eapol_key_state_c::process_group_key_handshake_message_0( |
2161 const eap_am_network_id_c * const receive_network_id, |
2161 const eap_am_network_id_c * const receive_network_id, |
2162 eapol_RSNA_key_header_c * const eapol_key_message, |
2162 eapol_RSNA_key_header_c * const eapol_key_message, |
2163 const u32_t packet_length) |
2163 const u32_t packet_length) |
2164 { |
2164 { |
2165 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
2165 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
2287 } |
2287 } |
2288 |
2288 |
2289 //-------------------------------------------------- |
2289 //-------------------------------------------------- |
2290 |
2290 |
2291 // |
2291 // |
2292 EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_group_key_handshake_message_2( |
2292 eap_status_e eapol_key_state_c::process_group_key_handshake_message_2( |
2293 const eap_am_network_id_c * const receive_network_id, |
2293 const eap_am_network_id_c * const receive_network_id, |
2294 eapol_RSNA_key_header_c * const eapol_key_message, |
2294 eapol_RSNA_key_header_c * const eapol_key_message, |
2295 const u32_t packet_length) |
2295 const u32_t packet_length) |
2296 { |
2296 { |
2297 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |
2297 EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); |