mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
wpa_supplicant: Port dpp feature from supplicant
Add files required for DPP feature from upstream. These file expose the functionality to create DPP packets. Ported crypto layer from openssl to mbedtls. Interfacing to use these API will be added in seperate commit
This commit is contained in:
@@ -34,7 +34,7 @@ TEST_CASE("Test crypto lib bignum apis", "[wpa_crypto]")
|
||||
crypto_bignum_deinit(bn, 1);
|
||||
|
||||
/* BN - Binary to bignum & bignum to binary*/
|
||||
TEST_ASSERT(!crypto_get_random(buf, 32));
|
||||
TEST_ASSERT(!os_get_random(buf, 32));
|
||||
|
||||
bn = crypto_bignum_init_set(buf, 32);
|
||||
TEST_ASSERT_NOT_NULL(bn);
|
||||
@@ -366,7 +366,7 @@ TEST_CASE("Test crypto lib ECC apis", "[wpa_crypto]")
|
||||
|
||||
/* Note this is just testing coversion & not whether point is
|
||||
* in the group or not*/
|
||||
TEST_ASSERT(!crypto_get_random(pt1, 64));
|
||||
TEST_ASSERT(!os_get_random(pt1, 64));
|
||||
|
||||
p = crypto_ec_point_from_bin(e, pt1);
|
||||
|
||||
|
Reference in New Issue
Block a user