mirror of
https://github.com/minio/minio.git
synced 2024-12-26 15:15:55 -05:00
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:
commit
e2bc6c8b27
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user