[BACK]Return to xmss_hash_address.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/xmss_hash_address.h, Revision 1.2

1.2     ! dtucker     1: /* $OpenBSD$ */
1.1       markus      2: /*
                      3: hash_address.h version 20160722
                      4: Andreas Hülsing
                      5: Joost Rijneveld
                      6: Public domain.
                      7: */
                      8:
                      9: #include <stdint.h>
                     10:
                     11: void setLayerADRS(uint32_t adrs[8], uint32_t layer);
                     12:
                     13: void setTreeADRS(uint32_t adrs[8], uint64_t tree);
                     14:
                     15: void setType(uint32_t adrs[8], uint32_t type);
                     16:
                     17: void setKeyAndMask(uint32_t adrs[8], uint32_t keyAndMask);
                     18:
                     19: // OTS
                     20:
                     21: void setOTSADRS(uint32_t adrs[8], uint32_t ots);
                     22:
                     23: void setChainADRS(uint32_t adrs[8], uint32_t chain);
                     24:
                     25: void setHashADRS(uint32_t adrs[8], uint32_t hash);
                     26:
                     27: // L-tree
                     28:
                     29: void setLtreeADRS(uint32_t adrs[8], uint32_t ltree);
                     30:
                     31: // Hash Tree & L-tree
                     32:
                     33: void setTreeHeight(uint32_t adrs[8], uint32_t treeHeight);
                     34:
                     35: void setTreeIndex(uint32_t adrs[8], uint32_t treeIndex);
                     36:
                     37:
                     38: