crypto, pow: add pure Go implementation of ethash

This commit is contained in:
Péter Szilágyi
2017-03-05 17:38:34 +02:00
committed by Felix Lange
parent 288700c4d8
commit 3b00a77de5
6 changed files with 1929 additions and 2 deletions

View File

@@ -322,7 +322,6 @@
// func keccakF1600(state *[25]uint64)
TEXT ·keccakF1600(SB), 0, $200-8
MOVQ state+0(FP), rpState
SUBQ $(8*25), SP
// Convert the user state into an internal state
NOTQ _be(rpState)
@@ -388,5 +387,4 @@ TEXT ·keccakF1600(SB), 0, $200-8
NOTQ _mi(rpState)
NOTQ _sa(rpState)
ADDQ $(8*25), SP
RET