template WOTS(uint n, alias hash_n_n, alias prg, uint log_w)
package @safe @nogc
ubyte[sig_bytes]
sign
pure nothrow
(
,in ref ubyte[seed_bytes] sk , )
in
{
assert (masks.length == w, "Number of masks must be w (16 for sphincs256).");
}
if (
is_prg!(prg, seed_bytes)
&&
n % 8 == 0
)
Create a one-time signature for msg.