Skip to content

Commit 6064094

Browse files
Fix NeoScrypt output: remove unnecessary endianness conversion
- Remove output buffer reversal for NeoScrypt - All test vectors now pass successfully
1 parent 698b61a commit 6064094

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/multihashing.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,6 @@ DECLARE_FUNC(neoscrypt)
280280
RETURN_EXCEPT("Argument must be longer than 80 bytes");
281281
neoscrypt(input, output, profile);
282282

283-
// Reverse output for little-endian
284-
std::reverse(output, output + 32);
285-
286283
SET_BUFFER_RETURN(output, 32);
287284
}
288285

0 commit comments

Comments
 (0)