diff -r 5431fd16d0e9 -r 3f122ca50ab9 eapol/eapol_framework/eapol_common/core/eapol_key_state_common.cpp --- a/eapol/eapol_framework/eapol_common/core/eapol_key_state_common.cpp Mon Mar 29 12:26:09 2010 +0100 +++ b/eapol/eapol_framework/eapol_common/core/eapol_key_state_common.cpp Tue Apr 06 20:34:33 2010 +0100 @@ -1680,7 +1680,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::complete_reassociation( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::complete_reassociation( const eapol_wlan_authentication_state_e reassociation_result, const eap_am_network_id_c * const /* receive_network_id */, const eapol_key_authentication_type_e authentication_type, @@ -2690,7 +2690,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::check_is_aes_key_wrap_padding( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::check_is_aes_key_wrap_padding( const eapol_RSNA_key_descriptor_type_e /* current_key_data_type */, eapol_rsna_key_data_header_c * const key_data_payload, const u32_t key_data_max_length @@ -2722,7 +2722,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::parse_generic_key_data_payload( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::parse_generic_key_data_payload( const eapol_key_descriptor_type_e eapol_key_descriptor_type, const eapol_RSNA_key_descriptor_type_e current_key_descriptor_type, eapol_rsna_key_data_header_c * const key_data_payload, @@ -3466,7 +3466,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::parse_key_data( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::parse_key_data( const eapol_key_descriptor_type_e eapol_key_descriptor_type, const eapol_rsna_key_data_header_c * const p_payload, u32_t * const buffer_length, @@ -3626,7 +3626,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::rsna_prf( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::rsna_prf( const eap_variable_data_c * const key_K, const eap_variable_data_c * const label_A, const eap_variable_data_c * const input_B, @@ -3766,7 +3766,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::select_minimum( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::select_minimum( const eap_variable_data_c * const input_a, const eap_variable_data_c * const input_b, const eap_variable_data_c ** const minimum, @@ -3815,7 +3815,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::derive_PTK() +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::derive_PTK() { EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); @@ -4097,7 +4097,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::create_nonce( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::create_nonce( eap_variable_data_c * const nonce, const u32_t nonce_length) { EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); @@ -4149,7 +4149,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::create_PMKID() +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::create_PMKID() { EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); eap_status_e status = eap_status_process_general_error; @@ -4286,7 +4286,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::encrypt_key_data( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::encrypt_key_data( eapol_RSNA_key_header_c * const eapol_key_message) { EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); @@ -4488,7 +4488,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::decrypt_key_data( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::decrypt_key_data( eapol_RSNA_key_header_c * const eapol_key_message) { EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); @@ -4637,7 +4637,7 @@ // -eap_status_e eapol_key_state_c::create_key_mic( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::create_key_mic( eapol_RSNA_key_header_c * const eapol_key_message, const eap_variable_data_c * const confirmation_key) { @@ -4809,7 +4809,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::verify_key_mic( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::verify_key_mic( eapol_RSNA_key_header_c * const eapol_key_message, const eap_variable_data_c * const confirmation_key) { @@ -6092,7 +6092,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::create_tkip_mic_failure_message( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::create_tkip_mic_failure_message( eap_buf_chain_wr_c * const sent_packet, const u32_t eapol_header_offset, u32_t * const data_length, @@ -6401,7 +6401,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::allow_4_way_handshake() +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::allow_4_way_handshake() { EAP_TRACE_BEGIN(m_am_tools, TRACE_FLAGS_DEFAULT); eap_status_e status = eap_status_process_general_error; @@ -6501,7 +6501,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::start_group_key_handshake( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::start_group_key_handshake( const eap_am_network_id_c * const receive_network_id, const eapol_protocol_version_e received_eapol_version, const eapol_key_descriptor_type_e received_key_descriptor_type) @@ -6634,7 +6634,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::get_key_length( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::get_key_length( const eapol_RSNA_key_header_c::eapol_RSNA_cipher_e cipher, u16_t * const key_length) { @@ -6672,7 +6672,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::process_4_way_handshake_message( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_4_way_handshake_message( const eap_am_network_id_c * const receive_network_id, eapol_RSNA_key_header_c * const eapol_key_message, const u32_t packet_length) @@ -6777,7 +6777,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::process_group_key_handshake_message( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_group_key_handshake_message( const eap_am_network_id_c * const receive_network_id, eapol_RSNA_key_header_c * const eapol_key_message, const u32_t packet_length) @@ -6846,7 +6846,7 @@ //-------------------------------------------------- // -eap_status_e eapol_key_state_c::process_RSNA_key_descriptor( +EAP_FUNC_EXPORT eap_status_e eapol_key_state_c::process_RSNA_key_descriptor( const eap_am_network_id_c * const receive_network_id, eap_general_header_base_c * const packet_data, const u32_t packet_length)