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.
Note: The caller is responsible for checking for equality of the return value and the public key.
templateWOTS(uint n, alias hash_n_n, alias prg, uint log_w)
in
{
assert (masks.length == w, "Number of masks must be w (16 for sphincs256).");
assert (sig.length == sig_bytes, "Length of `sig` must be wots_sig_bytes!");
}
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.
Note: The caller is responsible for checking for equality of the return value and the public key.