Comments (4)
Hi @Rajath-sensesemi and thanks for your interest in wolfSSL.
Please see #23 (comment) and espressif/esp-idf#13966
I'd like to help you with wolfSSL; can you please provide more details on your requirements? Do you think the Managed Component would work?
from esp-wolfssl.
I want to use wolfssl for my essp idf project, after adding it as a managed component using this idf.py add-dependency "wolfssl/wolfssl^5.6.6-stable-update2-esp32", the project builds successfully, but when i try to use wolfssl features, by selecting esp-tls ---> wolfssl, after selecting this if i try to build, i get an error like this:
CMake Error at C:/Esp-idf-5.2.2/frameworks/esp-idf-v5.2.2/tools/cmake/component.cmake:381 (__component_get_property):
__component_get_property Function invoked with incorrect arguments for
function named: __component_get_property
Call Stack (most recent call first):
C:/Esp-idf-5.2.2/frameworks/esp-idf-v5.2.2/components/esp-tls/CMakeLists.txt:26 (idf_component_get_property)
I tried in many ways to solve this but it did not work, please give a solution
from esp-wolfssl.
when i try to use wolfssl features, by selecting esp-tls ---> wolfssl, after selecting this if i try to build, i get an error:
ah, yes: thanks for that. I should add a note. The wolfssl component can be used without configuring the esp-tls
component in the ESP-IDF. See the examples.
The only purpose of Espressif esp-tls
layer is to abstract the code and allow either mbedTLS or wolfSSL to be switched in and used when calling esp-tls
functions. As you've seen, the wolfSSL integration has been neglected. I'm working on fixing that,
If for some reason you have existing code that must use the esp-tls, I'm working on ESP-IDF updates that will permit this. The work is on my my_522 branch as discussed in gojimmypi/esp-idf#1.
Although the work specifically mentions PlatformIO, the update will of course also work for the regular ESP-IDF. Note that my current work is on the v5.2.2 branch, but I had originally started on the latest master (on my wolfssl branch. I had encountered some unresolvable problems with PlatformIO and had to go back to v5.2.2.
The specific solution for the esp-wolfssl
is found here where various names and locations of wolfSSL may be found:
# esp-idf/components/esp-tls/CMakeLists.txt
idf_component_get_property(wolfssl esp-wolfssl COMPONENT_LIB)
Note that using the idf.py add-dependency "wolfssl/wolfssl
managed component is not the same as this esp-wolfssl
repository which has considerably older code and is installed manually.
Depending on your requirements, I can help you proceed with a specific library. Can you provide more details on your project? Also feel free to reach out to [email protected] for priority support.
from esp-wolfssl.
Thank you for the clarity
from esp-wolfssl.
Related Issues (20)
- make: *** No rule to make target HOT 19
- how to configure TLS 1.3 DH key size? HOT 1
- Can it work with Arduino framework? HOT 3
- Logging problems... forced to use ESP_EARLY_LOGE; ESP_LOGx variants don't show on to idf.py monitor
- Does not compile with new gcc 11.2 HOT 3
- Update codebase, improve component installation HOT 8
- Customizing user_settings.h HOT 6
- how do I use this library to create a SHA1 Hasher? HOT 2
- When I create ecc_private_key, an ERROR message is displayed: ***ERROR*** A stack overflow in task main has been detected. And reboot HOT 9
- After introducing the wolfssl library using the Bluetooth example code, Bluetooth does not work HOT 1
- What do I do when I always return '-170' when using wc_ecc_shared_secret? HOT 15
- will this be obsolete soon ? HOT 1
- TLS 1.2 support available? HOT 3
- availability of esp-wolfssl for v3.3 HOT 2
- using sh2lib example with wolfssl is calling panic handler (IDFGH-3195) HOT 3
- undefined reference to `xQueueGenericReceive' HOT 1
- ESP8266_RTOS_SDK v3.4 ld.exe failed ~~ HOT 1
- Component esp-wolfssl only supports targets: esp32;esp8266 HOT 3
- wc_AesCfbEncrypt results in LoadProhibited HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-wolfssl.