Winternitz one-time signature scheme as described in https://cryptojedi.org/papers/sphincs-20150202.pdf
Generate a public key.
Create a one-time signature for msg.
From given signature, message and mask computes the public key. The signature is valid if and only if the return value is equal to the real public key.
l1 + l2;
Number of levels in the l-tree.
Winternitz parameter.
Bitlength of the hash values.
A hash function mapping n-bit strings to n-bit strings.
The log2 of the Winternitz parameter.
See Implementation
Winternitz one-time signature scheme as described in https://cryptojedi.org/papers/sphincs-20150202.pdf