mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 14:58:01 +00:00
sha256: note about bitcoin input data
This commit is contained in:
parent
19b51e3600
commit
e33abcdbe4
@ -46,6 +46,9 @@ static inline u32 Maj(u32 x, u32 y, u32 z)
|
||||
|
||||
static inline void LOAD_OP(int I, u32 *W, const u8 *input)
|
||||
{
|
||||
/* byteswap is commented out, because bitcoin input
|
||||
* is already big-endian
|
||||
*/
|
||||
W[I] = /* ntohl */ ( ((u32*)(input))[I] );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user