liboqs icon indicating copy to clipboard operation
liboqs copied to clipboard

Create SLH-DSA hash shims

Open h2parson opened this issue 5 months ago • 0 comments

SLH DSA currently uses its own internal hash function implementations. However, these will need to be swapped out with libOQS's hash function implementations by adding shims.

It is expected that this will greatly increasing the speed of SLH DSA signing. In this case, the context signing tests in sig_test should be re-enabled for SLH-DSA as well as leak testing (possibly with some remaining restrictions to allow CIs to complete sufficiently quickly). If the CIs are still running too slow at this point, maybe the tests can be isolated into their own GitHub actions jobs.

Lastly, once these shims are applied, it may be possible to remove some of the namespaces added to allow test_namespaces to pass for slh dsa. These include "sha2","shake" and "hash"

h2parson avatar Jul 15 '25 20:07 h2parson