mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-24 08:29:25 +01:00
unit: update tests with new TK install arguments
This commit is contained in:
parent
80135367cf
commit
ec2c060b75
@ -2471,7 +2471,7 @@ static void eapol_sm_test_wpa_ptk_gtk_2(const void *data)
|
|||||||
eapol_exit();
|
eapol_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void verify_install_tk(struct handshake_state *hs,
|
static void verify_install_tk(struct handshake_state *hs, uint8_t key_index,
|
||||||
const uint8_t *tk, uint32_t cipher)
|
const uint8_t *tk, uint32_t cipher)
|
||||||
{
|
{
|
||||||
struct test_handshake_state *ths =
|
struct test_handshake_state *ths =
|
||||||
@ -3626,7 +3626,7 @@ static void test_ap_sta_hs_event(struct handshake_state *hs,
|
|||||||
assert(event != HANDSHAKE_EVENT_FAILED);
|
assert(event != HANDSHAKE_EVENT_FAILED);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_ap_sta_install_tk(struct handshake_state *hs,
|
static void test_ap_sta_install_tk(struct handshake_state *hs, uint8_t key_idx,
|
||||||
const uint8_t *tk, uint32_t cipher)
|
const uint8_t *tk, uint32_t cipher)
|
||||||
{
|
{
|
||||||
struct test_ap_sta_hs *ths =
|
struct test_ap_sta_hs *ths =
|
||||||
|
@ -2345,7 +2345,7 @@ static bool random_nonce(uint8_t nonce[])
|
|||||||
return l_getrandom(nonce, 32);
|
return l_getrandom(nonce, 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_ap_sta_install_tk(struct handshake_state *hs,
|
static void test_ap_sta_install_tk(struct handshake_state *hs, uint8_t key_idx,
|
||||||
const uint8_t *tk, uint32_t cipher)
|
const uint8_t *tk, uint32_t cipher)
|
||||||
{
|
{
|
||||||
assert(false);
|
assert(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user