1
0
mirror of https://github.com/fumiama/blake2b-simd.git synced 2026-06-09 20:40:28 +08:00

First half of G2 macro completed

This commit is contained in:
frankw
2016-06-24 23:30:25 +02:00
parent 2fe67e0d78
commit 07dd36a646
2 changed files with 27 additions and 14 deletions

View File

@@ -80,20 +80,20 @@ func blocks(d *digest, p []uint8) {
//v11 += v15
//v7 ^= v11
//v7 = v7<<(64-63) | v7>>63
//v1 += m[3]
//v1 += v5
//v13 ^= v1
//v13 = v13<<(64-16) | v13>>16
//v9 += v13
//v5 ^= v9
//v5 = v5<<(64-63) | v5>>63
//v0 += m[1]
//v0 += v4
//v12 ^= v0
//v12 = v12<<(64-16) | v12>>16
//v8 += v12
//v4 ^= v8
//v4 = v4<<(64-63) | v4>>63
v1 += m[3]
v1 += v5
v13 ^= v1
v13 = v13<<(64-16) | v13>>16
v9 += v13
v5 ^= v9
v5 = v5<<(64-63) | v5>>63
v0 += m[1]
v0 += v4
v12 ^= v0
v12 = v12<<(64-16) | v12>>16
v8 += v12
v4 ^= v8
v4 = v4<<(64-63) | v4>>63
//v0 += m[8]
//v0 += v5
//v15 ^= v0