-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Utilizing mbedtls v2 within IDF v5 (IDFGH-12000) #13069
Comments
Hi @HamzaHajeir, |
I see @AdityaHPatwardhan , But to understand how deep are the changes, does even WiFi security codes depend on mbedtls? What I'm thinking is to just compile the least minimal project. If that's possible, we could further check any other hurdles. What do you think? |
Hi @HamzaHajeir Please see this commit for the changes that were done for upgrading to mbedtls-3.1. |
Hi @HamzaHajeir I am closing this issue, feel free to re-open it if required. |
Glad to have your support. Tried to revert these merge commits, but it seems it's not sufficient yet. The commits you've pinpointed suggests that this directory was already existed. |
Hi @HamzaHajeir |
I see, I found it here: https://github.com/espressif/esp-idf/tree/release/v4.4/components/wpa_supplicant/src/crypto but there's also some file structure issues. Did the refactory happen to be present in certain commits? or |
@AdityaHPatwardhan, I've tried to revert it completely to the version present in v4.4, but it seems entrenched to other components, as esp_rom. Once I pass the issue of compiling mbedtls v2 within IDF v5.0, I'd ensure limiting the probabilities to the minimum. The alternative would be just to compare a working full house of v4.4 (Mbedtls v2) to a non-working full house of v5.0 (Mbedtls v3). What do you think? |
Hi @HamzaHajeir,
Yes, probably. You can try to pin point what exactly is not working with mbedTLS v3.X and then we can see what is the issue here. A faster way to compare would be to see what has changed in mbedTLS 3.X regarding the function that has the issue. |
Answers checklist.
General issue report
Hi there,
I've a serious bug that did happen after upgrading to IDF v5, which was accompanied with upgrading mbedtls from version 2.28.3 to 3.4.0, alongwith other upgrades.
I've narrowed down the issue to either IDF 5 or mbedtls 3, therefore I want to run the test by compiling the previously working version of mbedtls and note the difference.
I've tried to make an esp-idf testbed project having mbedtls 2.28.3 as a component within a project run IDF v5.1, but failed with:
So:
Given that this is not a production code, it's just a try to narrow down the issue, therefore workarounds are permitted.
Full context: https://esp32.com/viewtopic.php?f=13&t=37946&p=126800#p126800
The text was updated successfully, but these errors were encountered: