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.22k stars 798 forks source link

Dilithium: fixes #7696

Closed SparkiDev closed 1 week ago

SparkiDev commented 1 week ago

Description

TLS uses DER API now and needs to be protected with the right #ifdefs. Do the right check of size in wc_Dilithium_PrivateKeyDecode(). Don't require public key when doing private DER.

Testing

Regression tested Dilithium.

Checklist