Definition at line 9 of file equihash.cpp.
10 {
11 _POW::Seed new_seed;
12
13
14 new_seed.v[0] = (
unsigned int) seed.
_hash[0];
15 new_seed.v[0] ^= (
unsigned int) seed.
_hash[2];
16 new_seed.v[1] = (
unsigned int)( seed.
_hash[0] >> 32 );
17 new_seed.v[1] ^= (
unsigned int)( seed.
_hash[2] >> 32 );
18 new_seed.v[2] = (
unsigned int) seed.
_hash[1];
19 new_seed.v[2] ^= (
unsigned int) seed.
_hash[3];
20 new_seed.v[3] = (
unsigned int)( seed.
_hash[1] >> 32 );
21 new_seed.v[3] ^= (
unsigned int)( seed.
_hash[3] >> 32 );
22
23 return new_seed;
24 }