dcrypt.pqc.sphincs.sphincs256

Undocumented in source.

Members

Aliases

Sphincs256
alias Sphincs256 = Sphincs!(n, m, 12, 5, hash_n_n, hash_2n_n, prg)
Undocumented in source.
hash256
alias hash256 = ubyte[32]
Undocumented in source.

Functions

hash_2n_n
hash256 hash_2n_n(hash256 m1, hash256 m2)

Note: This is called 'Hash H' in the paper.

hash_n_n
hash256 hash_n_n(hash256 input)

Note: This is called 'Hash F' in the paper.

prg
void prg(ubyte[] outBuf, ubyte[32] seed)

Generate a pseudo random sequence from a given seed.

Manifest constants

hash_bytes
enum hash_bytes;

Bytelength of the hashes used in HORST and WOTS

m
enum m;

Bitlength of the message hash.

msg_hash_bytes
enum msg_hash_bytes;
Undocumented in source.
n
enum n;

Bitlength of the hashes used in HORST and WOTS

seed_bytes
enum seed_bytes;
Undocumented in source.

Meta