Browse Source

remove duplicated function

pull/1/head
ivan 8 years ago
parent
commit
d7ec253300
  1. 13
      algorithm/sibcoin.c

13
algorithm/sibcoin.c

@ -83,19 +83,6 @@ static void init_Xhash_contexts()
sph_echo512_init(&base_contexts.echo1); sph_echo512_init(&base_contexts.echo1);
} }
/*
* Encode a length len/4 vector of (uint32_t) into a length len vector of
* (unsigned char) in big-endian form. Assumes len is a multiple of 4.
*/
static inline void
be32enc_vect(uint32_t *dst, const uint32_t *src, uint32_t len)
{
uint32_t i;
for (i = 0; i < len; i++)
dst[i] = htobe32(src[i]);
}
static inline void xhash(void *state, const void *input) static inline void xhash(void *state, const void *input)
{ {

Loading…
Cancel
Save