dcrypt ~master (2021-11-09T01:25:37.6069118)
Dub
Repo
Sphincs.verify
dcrypt
pqc
sphincs
sphincs
Sphincs
Undocumented in source. Be warned that the author may not have intended to support it.
template
Sphincs
(uint n, uint m, uint n_levels, uint subtree_height, alias hash_n_n, alias hash_2n_n, alias prg)
@
safe
@
nogc
pure nothrow
bool
verify
(
in
ubyte
[]
message
,
in
ref
ubyte
[
sig_bytes
]
signature
,
in
ref
ubyte
[
publickey_bytes
]
pk
)
if
(
is_hash_n_n
!
hash_n_n
&&
is_hash_2n_n
!
hash_2n_n
&&
is_prg
!(
prg
,
seed_bytes
)
&&
n
% 8 == 0
)
Meta
Source
See Implementation
dcrypt
pqc
sphincs
sphincs
Sphincs
aliases
sig_bytes
functions
keypair
pubkey
sign_detached
verify
manifest constants
n_masks
publickey_bytes
secretkey_bytes
sk_rand_seed_bytes