We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d16f75 commit f21994aCopy full SHA for f21994a
src/crypto/muhash.cpp
@@ -299,7 +299,7 @@ Num3072 MuHash3072::ToNum3072(Span<const unsigned char> in) {
299
unsigned char tmp[Num3072::BYTE_SIZE];
300
301
uint256 hashed_in{(HashWriter{} << in).GetSHA256()};
302
- ChaCha20(hashed_in.data(), hashed_in.size()).Keystream(tmp, Num3072::BYTE_SIZE);
+ ChaCha20Aligned(hashed_in.data(), hashed_in.size()).Keystream64(tmp, Num3072::BYTE_SIZE / 64);
303
Num3072 out{tmp};
304
305
return out;
0 commit comments