mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
unit: update test-dpp with API changes
This commit is contained in:
parent
c0b92d9498
commit
2c7bf2756e
@ -269,16 +269,16 @@ static void test_key_derivation(const void *data)
|
|||||||
|
|
||||||
HEX2BUF(i_nonce_bytes, i_nonce, 16);
|
HEX2BUF(i_nonce_bytes, i_nonce, 16);
|
||||||
HEX2BUF(r_nonce_bytes, r_nonce, 16);
|
HEX2BUF(r_nonce_bytes, r_nonce, 16);
|
||||||
dpp_derive_ke(i_nonce, r_nonce, m, n, ke);
|
dpp_derive_ke(i_nonce, r_nonce, m, n, NULL, ke);
|
||||||
|
|
||||||
CHECK_FROM_STR(ke_bytes, ke, 32);
|
CHECK_FROM_STR(ke_bytes, ke, 32);
|
||||||
|
|
||||||
dpp_derive_r_auth(i_nonce, r_nonce, 16, i_proto_public, r_proto_public,
|
dpp_derive_r_auth(i_nonce, r_nonce, 16, i_proto_public, r_proto_public,
|
||||||
r_boot_public, r_auth);
|
NULL, r_boot_public, r_auth);
|
||||||
CHECK_FROM_STR(r_auth_bytes, r_auth, 32);
|
CHECK_FROM_STR(r_auth_bytes, r_auth, 32);
|
||||||
|
|
||||||
dpp_derive_i_auth(r_nonce, i_nonce, 16, r_proto_public, i_proto_public,
|
dpp_derive_i_auth(r_nonce, i_nonce, 16, r_proto_public, i_proto_public,
|
||||||
r_boot_public, i_auth);
|
r_boot_public, NULL, i_auth);
|
||||||
CHECK_FROM_STR(i_auth_bytes, i_auth, 32);
|
CHECK_FROM_STR(i_auth_bytes, i_auth, 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user