2015-08-11 11:23:30 +01:00
|
|
|
/*
|
2016-07-11 10:15:16 +01:00
|
|
|
hash.h version 20160217
|
2015-08-11 11:23:30 +01:00
|
|
|
Andreas Hülsing
|
2016-02-16 15:31:18 +00:00
|
|
|
Joost Rijneveld
|
2015-08-11 11:23:30 +01:00
|
|
|
Public domain.
|
|
|
|
*/
|
|
|
|
|
2015-08-11 11:08:27 +01:00
|
|
|
#ifndef HASH_H
|
|
|
|
#define HASH_H
|
|
|
|
|
2016-07-11 10:15:16 +01:00
|
|
|
int prf(unsigned char *out, const unsigned char *in, const unsigned char *key, int keylen);
|
|
|
|
int h_msg(unsigned char *out,const unsigned char *in,unsigned long long inlen, const unsigned char *key, const int keylen, const int n);
|
|
|
|
int hash_h(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t addr[8], const unsigned int n);
|
|
|
|
int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t addr[8], const unsigned int n);
|
2015-08-11 11:08:27 +01:00
|
|
|
|
|
|
|
#endif
|