mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 08:24:26 +00:00
sha256: Assume that input is already big endian.
This commit is contained in:
parent
5b0ab3cf79
commit
b7201e9dec
@ -46,7 +46,7 @@ static inline u32 Maj(u32 x, u32 y, u32 z)
|
|||||||
|
|
||||||
static inline void LOAD_OP(int I, u32 *W, const u8 *input)
|
static inline void LOAD_OP(int I, u32 *W, const u8 *input)
|
||||||
{
|
{
|
||||||
W[I] = ntohl( ((u32*)(input))[I] );
|
W[I] = /* ntohl */ ( ((u32*)(input))[I] );
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void BLEND_OP(int I, u32 *W)
|
static inline void BLEND_OP(int I, u32 *W)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user