Debug logs did not make it clear whether the failure happens when
checking a received SAE confirm or when writing own SAE confirm. Those
cases have different checks on when to go through SAE-PK processing, so
it is useful to make this part clear in the debug log.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
#endif /* CONFIG_TESTING_OPTIONS */
if (tmp->kek_len != 32 && tmp->kek_len != 48 && tmp->kek_len != 64) {
- wpa_printf(MSG_INFO, "SAE-PK: No KEK available for confirm");
+ wpa_printf(MSG_INFO,
+ "SAE-PK: No KEK available for writing confirm");
return -1;
}
return 0;
if (tmp->kek_len != 32 && tmp->kek_len != 48 && tmp->kek_len != 64) {
- wpa_printf(MSG_INFO, "SAE-PK: No KEK available for confirm");
+ wpa_printf(MSG_INFO,
+ "SAE-PK: No KEK available for checking confirm");
return -1;
}