dcrypt.pqc.sphincs.common

Members

Functions

hash_2n_n_mask
H hash_2n_n_mask(in ref H left, in ref H right, in ref 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(in ref H left, in ref H right, in ref H bitmask_left, in ref 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_n_n
template is_hash_n_n(alias func, H = ReturnType!func)

Functions used in different SPHINCS components.

varlen_hash
template varlen_hash(T...)

Wrapper for hash!Blake256.

Meta