mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-22 09:06:27 +00:00
wpa_supplicant: Cleanup fast_xxx modules that use duplicate code
wpa_supplicant is using MbedTLS API's for crypto algorithms. For calling them a duplicate set of modules is maintained prepended with 'fast_'. Remove these and use flag USE_MBEDTLS_CRYPTO instead to separate modules calling MbedTLS API's from native implementation.
This commit is contained in:
@@ -871,7 +871,7 @@ static int tls_process_certificate_verify(struct tlsv1_server *conn, u8 ct,
|
||||
|
||||
hlen = SHA256_MAC_LEN;
|
||||
if (conn->verify.sha256_cert == NULL ||
|
||||
fast_crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) <
|
||||
crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) <
|
||||
0) {
|
||||
conn->verify.sha256_cert = NULL;
|
||||
tlsv1_server_alert(conn, TLS_ALERT_LEVEL_FATAL,
|
||||
|
Reference in New Issue
Block a user