dcrypt.pqc.sphincs.common

Undocumented in source.

Members

Functions

hash_2n_n_mask
H hash_2n_n_mask(H left, H right, M bitmask)

Create the parent node of two sibling nodes in a binary hash tree. Equals hash_2n_n_mask in ref.

hash_2n_n_mask
H hash_2n_n_mask(H left, H right, H bitmask_left, H bitmask_right)

Create the parent node of two sibling nodes in a binary hash tree. Equals hash_2n_n_mask in ref.

num_digits
uint num_digits(ulong x, uint base)

Calclulate the number of digits of x in base 'base' representation.

Templates

is_hash_2n_n
template is_hash_2n_n(alias func, H = ReturnType!func)
Undocumented in source.
is_hash_n_n
template is_hash_n_n(alias func, H = ReturnType!func)
Undocumented in source.
is_prg
template is_prg(alias prg, uint seed_bytes)
Undocumented in source.
varlen_hash
template varlen_hash(T...)

Wrapper for hash!Blake256.

Meta