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
0
votes
1 answer

How to solve libcurl + wolfssl linking problem?

Good afternoon! Ran into a problem linking libcurl (version 7.83) and wolfssl (latest release). The mint 20.3 system, the linking problem is also relevant under win10. I use cmake to automate the assembly, if you take mint, where there is no native…
wecandoit
  • 23
  • 1
  • 5
0
votes
1 answer

WolfSSL: Resume Session failure due to configuration issue of build (cmake)

I am using an Ubuntu 20.04 machine along with the CLion IDE 2020.3.2 and I want to create an app using WolfSSL which would need the TLS1.3 implementation of it. Using CLion, I cloned the official repository https://github.com/wolfSSL/wolfssl.git.…
0
votes
1 answer

Server uses LibreSSL and Client uses wolfSSL.. Will this communication be success? Please advice

My server running on PC uses LibreSSL My client running on board uses wolfSSL Will handshake be success?
Dilip ND
  • 107
  • 1
  • 6
0
votes
3 answers

client server using nanopb over SSL

I am trying to implement SSL for transport layer security for client-server communication using protobuf payload. I looked at network_server example of nanopb and also openssl / wolfssl C example clients ( like…
Dhiman
  • 59
  • 6
0
votes
1 answer

get_peer_certificate error when using wolfSSL

I'm new to using wolfSSL. I am trying to compile a set of codes using gcc. gcc -o main main.c -lwolfssl I encounter an error of main.c:(.text+0x47b): undefined reference to 'wolfSSL_get_peer_certificate' collect2: error: ld returned 1 exit status…
UBUNTU_new
  • 43
  • 1
  • 8
0
votes
1 answer

wolfssl SendClientKeyExchange failed

I ported wolfssl to Liteos and an error occurred while running: wolfSSL error occurred, error = 111 line:11221 file:src/ssl.c error = -111, mp_read error state I Trace the underlying code to find the location of the error: case…
YuanDa.Yu
  • 127
  • 7
0
votes
1 answer

How to import der certificate in wolfssl using wc_EccPublicKeyDecode

I try to import a public key of a certificate to have it in ecc_key structure for further usage. For this I found in the wolfssl API documentation this wc_EccPublicKeyDecode function. I tried to use it in to load the certificate into the ecc_key…
Ulli
  • 127
  • 1
  • 7
0
votes
1 answer

WolfSSL on a Microblaze speed?

Hi I have a small ARTY development board with a ARTY-35T, I have a sample project running on the board with lwip and a webserver. I was wondering if WolfSSL will be fast enough on a Microblaze running at 50MHz without a floating point unit. With…
Godspped
  • 683
  • 4
  • 12
  • 31
0
votes
1 answer

setting Maximum Fragment Length Negotiation for SSL records using curlpp

I have requirement to set Maximum Fragment Length Negotiation for SSL records in my C++ application. I am using curlpp and wolfSSL for SSL support. In wolfSSL I can find wolfSSL_UseMaxFragment(), and wolfSSL_CTX_UseMaxFragment() which supports this…
rakesh.sahu
  • 465
  • 8
  • 18
0
votes
1 answer

How to find the ending of a http response which contains an image in C using http-parser?

I am writing an https client to fetch https raw data using Wolfssl and http-parser. It works on regular HTML pages but not MIME type files. The problem is that http-parser cannot decide the ending of the HTTP response stream. Based on my reading of…
0
votes
1 answer

Azure IoT SDK for C with WolfSSL and STM32

I am trying to port Azure IoT SDKs for C to STM32 controller. I am using wolfSSL library for TLS version 1.2 and I am able to build the code successfully in OpenSTM32 environment. But, after establishing successful connection with Azure server, I am…
Pushkar
  • 1
  • 2
0
votes
2 answers

Bluetooth LE secure connection with wolfssl and nordic: key exchange

I want to establish a secure Bluetooth connection from the client side with a nordic chip (nRF52). I also have the wolfSSL library running. So I receive a 'BLE_GAP_EVT_LESC_DHKEY_REQUEST' request from the nordic softdevice with the peer-64byte key.…
0
votes
0 answers

How to ensure or check if the unitialised memory contains 0s?

I'm trying to reproduce the skipTLS attack against cyassl < 3.3.0 (wolfSSL) that allows to skip steps in the handshake and thus impersonate a server and force the client to communicate in clear. The specific attack is described here :…
watts
  • 127
  • 2
  • 7
0
votes
2 answers

Is it possible to use ECC private key for encryption?

I want to use an ECC private key for encryption because of mutual authentication. But I cannot find a method (or function) in wolfcrypt (wolfSSL) or the micro-ecc library. Is is okay to use an (ECC) private key for encryption? And if so, how can I…
comomind
  • 25
  • 4
0
votes
1 answer

wolfSSL and StellarisWare examples

I want to use the freertos_demo that is part of StellarisWare /TivaWare in combination with wolfSSL library but I find it difficult to read the Makefile (actually the makedefs files). I downloaded and compiled wolfSSL according to the manual. Now in…
Richard Laurant
  • 647
  • 1
  • 8
  • 21