3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 14:49:24 +01:00
iwd/unit
James Prestwood b7180d4d29 unit: add to test-dpp to expose ASN1 point conversion bug
Add a test to show the incorrect ASN1 conversion to and from points.
This was due to the check if Y is odd/even being inverted which
incorrectly prefixes the X coordinate with the wrong byte.

The test itself was not fully correct because it was using compliant
points rather than full points, and the spec contains the entire
Y coordinate so the full point should be used.

This patch also adds ASN1 conversions to validate that
dpp_point_from_asn1 and dpp_point_to_asn1 work properly.
2023-10-11 09:58:31 -05:00
..
gencerts.cnf build: Add a DNSName in the test server cert 2019-08-26 11:12:02 -05:00
test-arc4.c unit: test-arc4: test RC4 both directions 2022-10-26 14:20:05 -05:00
test-band.c unit: include frequency 7115 in test-band 2023-09-25 09:30:32 -05:00
test-client.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-cmac-aes.c treewide: fix typos 2020-01-21 16:03:28 -06:00
test-crypto.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-dpp.c unit: add to test-dpp to expose ASN1 point conversion bug 2023-10-11 09:58:31 -05:00
test-eap-mschapv2.c unit: Update mschapv2 test to use mschap_nt_password_hash 2019-03-19 11:34:46 -05:00
test-eap-sim.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-eapol.c unit: update test-eapol with API change 2023-01-11 15:50:10 -06:00
test-hmac-md5.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-hmac-sha1.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-hmac-sha256.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-ie.c ie: Rename _BIP to _BIP_CMAC 2022-10-24 11:05:24 -05:00
test-json.c unit: add checks for improper use of json_iter_parse/next 2022-01-06 16:43:18 -06:00
test-kdf-sha256.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-mpdu.c unit: Add simple ie sorting test 2021-08-04 10:46:27 -05:00
test-p2p.c unit: Update p2p_free_* function names 2019-11-21 14:02:33 -06:00
test-prf-sha1.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-sae.c unit: Fix SAE unit test failure 2021-07-27 14:01:12 -05:00
test-ssid-security.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
test-util.c unit: Use inet_ntop instead of inet_ntoa 2021-06-04 14:00:27 -05:00
test-wsc.c unit: update tests with new TK install arguments 2021-10-08 13:27:00 -05:00