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.
Bitlength of the hash values.
A hash function mapping n-bit strings to n-bit strings.
The log2 of the Winternitz parameter.
Winternitz one-time signature scheme as described in https://cryptojedi.org/papers/sphincs-20150202.pdf