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.36k stars 834 forks source link

Kyber: Fix wolfSSL_get_curve_name() #8185

Closed SparkiDev closed 1 week ago

SparkiDev commented 1 week ago

Description

Fix protection around Kyber hybrid strings when compiling for original with wolfSSL implementation.

Fixes zd#18923

Testing

./configure --disable-shared --enable-kyber=all,original ./examples/server/server -v 4 -l TLS13-AES256-GCM-SHA384 --pqc P521_KYBER_LEVEL5 & ./examples/client/client -v 4 -l TLS13-AES256-GCM-SHA384 --pqc P521_KYBER_LEVEL5

Checklist