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

Sha3.c wc_Sha3Update and wc_Sha3Final Hash Type Change #7705

Closed aidangarske closed 3 days ago

aidangarske commented 3 days ago

Description

Reverts changes to wc_Sha3Update and wc_Sha3Final, so that crypto callback hash type is determined in the processing functions in sha3.c.

Testing

./configure --enable-cryptocb --enable-sha3 CFLAGS="-DDEBUG_CRYPTOCB" --enable-debug
make 
./wolfcrypt/test/testwolfcrypt