toddouska cf8459e518 Merge pull request #2892 from SparkiDev/cppcheck_fixes_4 4 years ago
..
examples f7018c4765 fixed build failure and warnings 4 years ago
libs 9879425c5f Addressed review comments 5 years ago
test 411aee6e05 Fixes from cppcheck 4 years ago
README.md e8bf2bbb02 removed multiple user_settings.h 5 years ago
README_32se.md 330bbb2f8b RSA primitive hw acceleration support 5 years ago
dummy_config_h 45c5a2d39c update copyright to 2020 4 years ago
setup.sh d6bac37def Fix build warnings while compiling wolfssl under esp-idf 5 years ago
user_settings.h 302e1d6818 add aes counter on esp32 4 years ago

README.md

ESP-IDF port

Overview

ESP-IDF development framework with wolfSSL by setting WOLFSSL_ESPIDF definition

Including the following examples:

  • simple tls_client/server
  • crypt test
  • crypt benchmark

The user_settings.h file enables some of the hardened settings.

Requirements

  1. ESP-IDF development framework
    [https://docs.espressif.com/projects/esp-idf/en/latest/get-started/]

    Note: This expects to use Linux version.

Setup

  1. Run setup.sh to deploy files into ESP-IDF tree
  2. Find Wolfssl files at /path/to/esp-idf/components/wolfssl/
  3. Find Example programs under /path/to/esp-idf/examples/protocols/wolfssl_xxx
  4. Uncomment out #define WOLFSSL_ESPIDF in /path/to/wolfssl/wolfssl/wolfcrypt/settings.h
    Uncomment out #define WOLFSSL_ESPWROOM32 in /path/to/wolfssl/wolfssl/wolfcrypt/settings.h

Configuration

  1. The user_settings.h can be found in /path/to/esp-idf/components/wolfssl/include/user_settings.h

Build examples

  1. See README in each example folder

Support

For question please email [support@wolfssl.com]

Note: This is tested with "Ubuntu 18.04.1 LTS" and ESP32-WROOM-32.