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