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

What is a good embedded TLS library? (Cyassl vs Polarssl vs Matrixssl)

I have looked around for good SSL/TLS libraries that support TLS 1.2 I also want to use this library on an embedded platform so it should be small, easy, secure and free. It should be a c/c++ library. So far i have come across Cyassl, Polarssl…
mstrdenz188
  • 323
  • 2
  • 3
  • 10
6
votes
1 answer

wolfSSL vs. MBEDTLS vs. OpenSSL - What is the difference?

I am researching different SSL/TLS library for embedded devices. I would like to know what people think the pros and cons for each of these libraries would be, and if there are specific use cases for any of these libraries.
Kajal S
  • 69
  • 1
  • 3
4
votes
1 answer

STM32F437 Hardware Crypto functions integration with WolfSSL

I have a project which uses DTLS over connections. For now I have successfully managed to run WolfSSL on controllers using only software implementation but the time required to setup the initial connection is abhorrent and I'm now looking to utilize…
3
votes
1 answer

How to import/export Java EC keys to/from X9.63 encoding with Java 8

I am looking into writing a Java 8 program to do a ECDH exchange with another piece of software using a library (wolfSSL/wolfCrypt) that can only export/import ECC public keys in X9.63 format (their wc_ecc_export_x963() function). I would greatly…
QuantumMechanic
  • 13,795
  • 4
  • 45
  • 66
3
votes
1 answer

Segmentation fault when using CyaSSL Keygen

I'm trying to get the Keygen function of CyaSSL to work using the example in section 7.7 from here: http://www.yassl.com/yaSSL/Docs-cyassl-manual-7-keys-and-certificates.html I'm using CyaSSL 3.2.0 with the --enable-keygen option, but couldn't get…
KakaduChat
  • 33
  • 2
2
votes
1 answer

How to set WolfSSL cipher list?

I have an IOT device that communicates with DTLS 1.2 protocol. We've already integrated WolfSSL into our project and it's working fine. What I want to achieve is to set only a specific cipher suite to my WolfSSL client so that I will make sure it's…
efdalustaoglu
  • 168
  • 11
2
votes
2 answers

Failure with Alert, error = 42 when connecting to AWS IoT

I am trying to replace the mbedTLS network layer with wolfSSL in the AWS IoT C SDK. The simple subscribe_publish_sample demo that comes with the SDK works fine from a Linux host when using mbedTLS. However, with my replacement of it with wolfSSL, I…
Ben
  • 297
  • 1
  • 11
2
votes
1 answer

How to verify ECC Signature from wolfSSL with OpenSSL

I am new to Elliptic Curve Cryptography, openSSL and wolfSSL. My context is that I generate KeyPair from command line with openssl and import the private key to my code. Then I use wolfSSL to generate signature and output it. I save the output in…
2
votes
1 answer

wolfSSL_read() returns 0

I am using Microsoft Visual Studio 2010 and wolfSSL 3.7.0. I create server context with these functions: WOLFSSL_CTX *sslContext = wolfSSL_CTX_new(wolfTLSv1_2_server_method()); if(!sslContext) { closesocket(socketListen); return…
cls
  • 501
  • 1
  • 5
  • 18
2
votes
1 answer

Trouble with handshake with WolfSSL

I'm having some issues using WolfSSL. I tried to ask a question on the WolfSSL forums, but registration is not working right now. I am using WolfSSL to develop a simple email client for the Nintendo Wii. WolfSSL is the only library that claims to…
2
votes
1 answer

AES in ECB mode using WolfCrypt

I am using OpenSSL in a Desktop software and WolfCrypt (which is also open source) in its embedded counterpart. For this project I must use AES in ECB mode, even though I know ECB is not the most secure mode of operation for AES. According to this…
LordCapybara
  • 117
  • 2
  • 11
2
votes
1 answer

SSL handshake_failure after clientHello

I am trying to connect an embedded device to smtp.gmail.com:465 using tls1.2 with WolfSSL. The library creates and sends the following clientHello message and receives a handshake failure. 16 03 03 00 4f 01 00 00 4b 03 03 2e 2a ec 85 7f 15 dd 09 5f…
Semih
  • 36
  • 2
2
votes
1 answer

Cyassl-2.4.2 missing libcyassl.a file

I'm have built and installed Cyassl-2.4.2 on my unix machine to use with a project of mine; however, when I try to compile my c project, the compiler cannot find the libcyassl.a file. I have searched many times in the Cyassl.2.4.2 folder and am…
user3038090
  • 55
  • 1
  • 4
1
vote
1 answer

wolfssl 'ecc_mul2add()' cannot be used

I checked the source code and found that FP_ECC needs to be compiled.I have added --enable-ecclshamir and --enable-fpecc when compiling, but it still prompts undefined reference to 'ecc_mul2add()' when compiling.And I did not find an example of…
zihao wang
  • 17
  • 2
1
vote
0 answers

How to package a C library with dependencies to swift package

I have a C library that contains other C library (WolfSSL, nanopb) dependencies. I want to (ideally) build a swift package that contains my code referencing the main C library. I would then be able to distribute this package for others to integrate…
Anton Unt
  • 1,835
  • 1
  • 21
  • 47
1
2 3 4 5