Add a short-lived, HMAC-keyed cache for validated principals and invalidate entries when principals become stale. Improve duplicate SSH key errors and enable Ed25519 streaming verification.
16 lines
536 B
CMake
16 lines
536 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
# Route wolfCrypt seeding through the project's sole pre-radio DRBG callback.
|
|
# wolfSSL's ESP32 AES/SHA locks do not coordinate with ESP-IDF mbedTLS/Wi-Fi;
|
|
# define the documented software-fallback controls before components are parsed.
|
|
add_compile_definitions(
|
|
WC_RNG_SEED_CB
|
|
NO_WOLFSSL_ESP32_CRYPT_AES
|
|
NO_WOLFSSL_ESP32_CRYPT_HASH
|
|
WOLFSSL_ED25519_STREAMING_VERIFY
|
|
)
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
set(PROJECT_VER "0.1.0")
|
|
project(esp32_serial_swiss_army_knife)
|