wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.25k stars 805 forks source link

Dilithium: fixes #7721

Closed SparkiDev closed 2 weeks ago

SparkiDev commented 3 weeks ago

Description

Fix inclusion of functions dilithium_vec_check_low() in build:- --enable-dilithium=verify-only,44,65,87 CFLAGS=-DWOLFSSL_DILITHIUM_VERIFY_SMALL_MEM Fix memory leaks in unit.test: --enable-dilithium CFLAGS=-DWC_DILITHIUM_CACHE_MATRIX_A 'CC=clang -fsanitize=address'

Testing

./configure --enable-dilithium=verify-only,44,65,87 make

./configure --enable-dilithium CFLAGS=-DWC_DILITHIUM_CACHE_MATRIX_A 'CC=clang -fsanitize=address' make ./tests/unit.test

Checklist