mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-29 12:28:58 +00:00
wpa_supplicant: Write Crypto API based on mbedtls
This commit add following crypto changes 1. Update current crypto code with upstream supplicant code 2. Add a proper porting layer to use mbedtls APIs for all the crypto operations used by supplicant. Internal crypto will be used when USE_MBEDLTS flag is disabled in supplicant's menuconfig. This commit also removes the clutter in crypto files due to partial porting of some APIs to mbedtls, all the code from those files have been removed and rewritten in a generic way, this is inspired from current upstream code. This also reduces the lib size significantly, supplicant's lib size reduces around ~567kb after this change(NB: lib size doesn't indicate reduction in final bin size).
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
menu "Supplicant"
|
||||
|
||||
config WPA_MBEDTLS_CRYPTO
|
||||
bool "Use MbedTLS crypto API's"
|
||||
bool "Use MbedTLS crypto APIs"
|
||||
default y
|
||||
help
|
||||
Select this option to use MbedTLS crypto API's which utilize hardware acceleration.
|
||||
Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.
|
||||
|
||||
config WPA_WAPI_PSK
|
||||
bool "Enable WAPI PSK support"
|
||||
|
||||
Reference in New Issue
Block a user