選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

20 行
667 B

  1. /*
  2. hash.h version 20160722
  3. Andreas Hülsing
  4. Joost Rijneveld
  5. Public domain.
  6. */
  7. #ifndef HASH_H
  8. #define HASH_H
  9. #define IS_LITTLE_ENDIAN 1
  10. unsigned char* addr_to_byte(unsigned char *bytes, const uint32_t addr[8]);
  11. int prf(unsigned char *out, const unsigned char *in, const unsigned char *key, unsigned int keylen);
  12. int h_msg(unsigned char *out,const unsigned char *in,unsigned long long inlen, const unsigned char *key, const unsigned int keylen);
  13. int hash_h(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t addr[8]);
  14. int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t addr[8]);
  15. #endif