No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

27 líneas
806 B

  1. #ifndef XMSS_HASH_H
  2. #define XMSS_HASH_H
  3. #include <stdint.h>
  4. #include "params.h"
  5. void addr_to_bytes(unsigned char *bytes, const uint32_t addr[8]);
  6. int prf(const xmss_params *params,
  7. unsigned char *out, const unsigned char *in,
  8. const unsigned char *key, unsigned int keylen);
  9. int h_msg(const xmss_params *params,
  10. unsigned char *out,
  11. const unsigned char *in, unsigned long long inlen,
  12. const unsigned char *key, const unsigned int keylen);
  13. int hash_h(const xmss_params *params,
  14. unsigned char *out, const unsigned char *in,
  15. const unsigned char *pub_seed, uint32_t addr[8]);
  16. int hash_f(const xmss_params *params,
  17. unsigned char *out, const unsigned char *in,
  18. const unsigned char *pub_seed, uint32_t addr[8]);
  19. #endif