1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-03 10:35:03 +00:00

remove duplicated function

This commit is contained in:
ivan 2016-10-05 05:41:46 +02:00
parent f32e6dcdb3
commit d7ec253300

View File

@ -83,19 +83,6 @@ static void init_Xhash_contexts()
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)
{