wolfssl: Use Absorb/SqueezeBlocks API for SHAKE-128/256 XOFs

This API is available since 5.5.1 (released in 2022) and allows us to
avoid the inefficient previous implementation (don't think it's worth
keeping that around for older versions).  Also added support for
SHAKE-128.  Note that the only user of SHAKE is the ml plugin nowadays
and since wolfSSL also provides ML-KEM, this might not actually
get used much.
This commit is contained in:
Tobias Brunner
2026-07-24 08:47:37 +02:00
parent e6dc515c97
commit 3ec8d3cff1
3 changed files with 130 additions and 40 deletions
+1
View File
@@ -64,6 +64,7 @@ PRF_HMAC_SHA1[wolfssl]
PRF_HMAC_SHA2_256[wolfssl]
PRF_HMAC_SHA2_384[wolfssl]
PRF_HMAC_SHA2_512[wolfssl]
XOF_SHAKE128[wolfssl]
XOF_SHAKE256[wolfssl]
KDF_PRF[wolfssl]
KDF_PRF_PLUS[wolfssl]