eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 3f1e4cce653e2e34623c3b742aa81f3058b6b011
parent 277437f3d6242706fd3a1b3d5ba89a9843f77264
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Wed,  7 Jul 2021 12:52:27 -0500

unit: Add basic test for crypto_derive_sae_pt_ecc

Diffstat:
Munit/test-sae.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/unit/test-sae.c b/unit/test-sae.c @@ -835,6 +835,11 @@ static void test_pt_pwe(const void *data) l_ecc_scalar_free(u1); l_ecc_scalar_free(u2); + p1 = crypto_derive_sae_pt_ecc(19, ssid, password, identifier); + assert(p1); + assert(l_ecc_points_are_equal(p1, pt)); + l_ecc_point_free(p1); + if (memcmp(mac1, mac2, 6) > 0) { memcpy(sorted_macs, mac1, 6); memcpy(sorted_macs + 6, mac2, 6);