gestumblinde

Gestumblinde - reference implementation of SLH-DSA
git clone git://www.tkruger.se/gestumblinde.git
Log | Files | Refs | README

ht.h (556B)


      1 #ifndef HT_H
      2 #define HT_H
      3 
      4 #include <assert.h>
      5 #include <endian.h>
      6 #include <stdint.h>
      7 #include <stdlib.h>
      8 #include <strings.h>
      9 
     10 #include "address.h"
     11 #include "context.h"
     12 #include "xmss.h"
     13 
     14 int ht_sign(uint8_t *out, const uint8_t msg[ENN], const uint8_t sk_seed[ENN],
     15             const uint8_t pk_seed[ENN], idx_tree_t idx_tree, uint64_t idx_leaf);
     16 
     17 int ht_verify(const uint8_t msg[ENN], const uint8_t *sig_ht,
     18               const uint8_t pk_seed[ENN], const idx_tree_t idx_tree,
     19               const uint64_t idx_leaf, const uint8_t pk_root[ENN]);
     20 
     21 #endif