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: % |
19 * %version: 7.1.2 % |
20 */ |
20 */ |
21 |
21 |
22 #if !defined(_ABS_EAPOL_KEY_STATE_H_) |
22 #if !defined(_ABS_EAPOL_KEY_STATE_H_) |
23 #define _ABS_EAPOL_KEY_STATE_H_ |
23 #define _ABS_EAPOL_KEY_STATE_H_ |
24 |
24 |
126 virtual eap_status_e cancel_timer( |
126 virtual eap_status_e cancel_timer( |
127 abs_eap_base_timer_c * const initializer, |
127 abs_eap_base_timer_c * const initializer, |
128 const u32_t id) = 0; |
128 const u32_t id) = 0; |
129 |
129 |
130 /** |
130 /** |
|
131 * The cancel_all_timers() function cancels all timers. |
|
132 * User should use this in termination of the stack before |
|
133 * the adaptation module of tools is deleted. |
|
134 * Preferred mode is to cancel each timer directly |
|
135 * using cancel_timer() function. |
|
136 * |
|
137 * Adaptation module internally implements the timer. |
|
138 */ |
|
139 virtual eap_status_e cancel_all_timers() = 0; |
|
140 |
|
141 /** |
131 * All STAs contain a global Key Counter which is 256 bits in size. |
142 * All STAs contain a global Key Counter which is 256 bits in size. |
132 * It should be initialized at system boot up time to a fresh cryptographic quality random number. |
143 * It should be initialized at system boot up time to a fresh cryptographic quality random number. |
133 * Refer to Annex I.9 on random number generation. It is recommended that the counter value is initialized to: |
144 * Refer to Annex I.9 on random number generation. It is recommended that the counter value is initialized to: |
134 * PRF-256(Random number, "Init Counter", Local MAC Address || Time) |
145 * PRF-256(Random number, "Init Counter", Local MAC Address || Time) |
135 * The Local MAC Address should be AA on the Authenticator and SA on the Supplicant. |
146 * The Local MAC Address should be AA on the Authenticator and SA on the Supplicant. |