Questions tagged [wolfssl]

wolfSSL (formerly CyaSSL) is a lightweight, portable, C-based SSL/TLS library targeting embedded and RTOS environments

wolfSSL (formerly CyaSSL) is a lightweight, portable, C-based SSL/TLS library targeting embedded and RTOS environments.

Their website is located at wolfSSL Embedded SSL Library.

64 questions
1
vote
1 answer

clash on using external variable (ARM)

I want to use a wolfssl library(https://github.com/wolfSSL/wolfssl) on ARM Cortex-A9 processor. So, I used arm-none-eabi-gcc cross compiler on Ubuntu and got a static link library "libwolfssl.a". Compilation and link was succeed, but "PemToDer"…
1
vote
1 answer

WolfSSL on FreeRTOS communication with Linux

I'm trying to establish a secure communication between the FreeRTOS (client) and Linux (server) using the WolfSSL library. I'm getting the error -501 that indicates that cipher suites list doesn't match. Here the cipher suites that the clients send…
user3068649
  • 411
  • 3
  • 13
0
votes
0 answers

Using wc_ecc_mulmod() function in wolfssl produces some errors

When I use the wc_ecc_mulmod() function to perform calculations, some errors will occur. Ra1 and ra2 are two 32-bit random numbers, and G is the generator of the elliptic curve. The calculation (ra1ra2)G is not equal to ra1(ra2G). I noticed that…
zihao wang
  • 17
  • 2
0
votes
1 answer

how to use a proxy with wolfSSL

Do I handle the proxy connection myself using wolfSSL or are there function(s) that do the CONNECT request for you? If not, should I first, connect to the proxy then second, make the CONNECT request then third, connect using SSL?
CoN
  • 41
  • 1
  • 1
  • 6
0
votes
1 answer

the result returned by 'wc_ecc_point_is()' is inconnect

I get the elliptic curve parameters a, b, prime, order, convert the parameters into mp_int format, and then use ‘‘wc_ecc_gen_k()’ to generate a random number num. Use‘ wc_ecc_get_generator()’ to get the generator, ‘use wc_ecc_is_point()’ to judge…
zihao wang
  • 17
  • 2
0
votes
0 answers

in wolfssl 'wc_ecc_get_generator' is not compiled and cannot be used

I downloaded and installed wolfssl-5.5.4 according to the document. I want to use the wc_ecc_get_generator() function in ecc.h. When compiling, I found undefined reference to 'wc_ecc_get_generator()'. I use command 'nm libwolfssl.so | grep…
zihao wang
  • 17
  • 2
0
votes
0 answers

wolfssl-5.5.3 can not use mp_int

i have configured using commond ./configure --enable-debug --disable-shared CFLAGS="-DWOLFSSL_PUBLIC_MP" && make && sudo make install referring to enter link description here 1:…
zihao wang
  • 17
  • 2
0
votes
1 answer

using wolfssl mp_init() ,undefined reference to 'sp_init'

#include #include #include #include #include #include //cannot to include,why? #include using namespace…
zihao wang
  • 17
  • 2
0
votes
0 answers

Building wolfSSL library in Visual Studio Code for Raspberry Pi Pico

I just downloded wolfSSL library but I dont know how to build it using VSCode. What changes do I have to make in cmake file? Or is it something else? Can someone please guide me. I tried this instructions for using…
Senergy
  • 1
  • 1
0
votes
0 answers

WolfSSL Settings.h File shows some error during the project building. it shows Unresolved inclution: "stm32f4xx"

I am still studing about the WolfSSL Library. I'm usng Nucleo-STM32L476RG to run the programm.After generating the code,i try to build the code and then it shows error in settings.h file. The error shows like…
0
votes
0 answers

g++ file.cpp -o file -l wolfssl:undefined reference to 'sp_init' collect2: error :ld returned 1 exit status

#include #include #include #include #include #include #include #include #include…
zihao wang
  • 17
  • 2
0
votes
1 answer

gcc file.c -o file -l wolfssl error: storage size of"key" is not known

#include #include #include #include #include #include #include #include int mian(int…
zihao wang
  • 17
  • 2
0
votes
0 answers

CMake find_package(...) not able to find wolfSSL

I have installed a wolfSSL version 5.4.0 in my ubuntu(configured to /usr/local (default)). I am trying to find the wolfSSL package using below find_package arguments in my project's root CMakeLists file but nothing worked. find_package(wolfssl…
skumar
  • 1
  • 1
0
votes
0 answers

How to determine the real cause of server's rejection to 'Client Hello' in TLS dialog?

I've been developing an embedded system with wolfSSL inside. I have a test program to verify the wolfSSL. I used 'openurl https://www.microchip.com/' to test wolfSSL against the xxx company page. I tried several other web pages other than…
0
votes
1 answer

Can I use OpenSSL on Windows to verify my WolfSSL on my embedded device?

As a title, I need to verify my wolfSSL client/server on my embedded devices. May I use free OpenSSL on Windows to test against it?