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: support fixed size arays in dilithium_key #7727

Closed SparkiDev closed 1 week ago

SparkiDev commented 2 weeks ago

Description

Support fixed size arrays for pre-generated matrix and vectors. Define: WC_DILITHIUM_FIXED_ARRAY

Testing

./configure '--disable-shared' '--enable-experimental' '--enable-dilithium' 'CFLAGS=-DWC_DILITHIUM_CACHE_PRIV_VECTORS -DWC_DILITHIUM_CACHE_PUB_VECTORS -DWOLFSSL_DILITHIUM_ALIGNMENT=0 -DWC_DILITHIUM_FIXED_ARRAY'

Checklist