mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-03 18:44:29 +00:00
remove duplicated function
This commit is contained in:
parent
f32e6dcdb3
commit
d7ec253300
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user