Merge pull request #193 from vadmeste/fix_sha256_faulty_computation

Add missing asm instruction to correct sha256 calculation in avx mode
This commit is contained in:
Harshavardhana 2015-02-21 10:49:49 -08:00
commit e2bc6c8b27

View File

@ -451,6 +451,7 @@ a = TMP_
or y2, y0 # y0 = MAJ = (a|c)&b)|(a&c)
add y0, h # h = h + S1 + CH + k + w + S0 + MAJ
ROTATE_ARGS
mov e, y0 # y0 = e
mov a, y1 # y1 = a
MY_ROR (25-11), y0 # y0 = e >> (25-11)
xor e, y0 # y0 = e ^ (e >> (25-11))