libswarm-ng

C implementation of BMT hasher, Swarmhash and Single Owner Chunk for swarm
git clone git://git.defalsify.org/libswarm-ng.git
Info | Log | Files | Refs | Submodules | README

swarm.h (321B)


      1 #ifndef _LIBSWARM_H
      2 #define _LIBSWARM_H
      3 
      4 #include "def.h"
      5 
      6 int keccak_hash_btc(unsigned char *out, size_t out_sz, const unsigned char *in, size_t in_sz);
      7 int keccak_hash_btc_v(unsigned char *out, size_t out_sz, const unsigned char *in, size_t in_sz, const unsigned char *vector, size_t vector_sz);
      8 
      9 #endif // _LIBSWARM_H