mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-19 15:26:52 +00:00
Hash-Based Signatures) The code is not compiled in by default (see WITH_XMSS in Makefile.inc) Joint work with stefan-lukas_gazdag at genua.eu See https://tools.ietf.org/html/draft-irtf-cfrg-xmss-hash-based-signatures-12 ok djm@ OpenBSD-Commit-ID: ef3eccb96762a5d6f135d7daeef608df7776a7ac
38 lines
694 B
C
38 lines
694 B
C
/*
|
|
hash_address.h version 20160722
|
|
Andreas Hülsing
|
|
Joost Rijneveld
|
|
Public domain.
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
void setLayerADRS(uint32_t adrs[8], uint32_t layer);
|
|
|
|
void setTreeADRS(uint32_t adrs[8], uint64_t tree);
|
|
|
|
void setType(uint32_t adrs[8], uint32_t type);
|
|
|
|
void setKeyAndMask(uint32_t adrs[8], uint32_t keyAndMask);
|
|
|
|
// OTS
|
|
|
|
void setOTSADRS(uint32_t adrs[8], uint32_t ots);
|
|
|
|
void setChainADRS(uint32_t adrs[8], uint32_t chain);
|
|
|
|
void setHashADRS(uint32_t adrs[8], uint32_t hash);
|
|
|
|
// L-tree
|
|
|
|
void setLtreeADRS(uint32_t adrs[8], uint32_t ltree);
|
|
|
|
// Hash Tree & L-tree
|
|
|
|
void setTreeHeight(uint32_t adrs[8], uint32_t treeHeight);
|
|
|
|
void setTreeIndex(uint32_t adrs[8], uint32_t treeIndex);
|
|
|
|
|
|
|