Skip to content
Snippets Groups Projects
Commit e11c6e6e authored by Niels Möller's avatar Niels Möller
Browse files

Update round for each subkeys that is accessed.

Rev: src/nettle/sparc/aes.asm:1.41
parent c6eac6a2
Branches
Tags
No related merge requests found
...@@ -162,8 +162,8 @@ _aes_crypt: ...@@ -162,8 +162,8 @@ _aes_crypt:
add idx, 4, idx add idx, 4, idx
! Fetch roundkey ! Fetch roundkey
add round, ctx, t1 ld [ctx+round], t1
ld [t1+i], t1 add round, 4, round
xor t0, t3, t0 ! 0, 1, 2, 3 xor t0, t3, t0 ! 0, 1, 2, 3
...@@ -178,7 +178,6 @@ _aes_crypt: ...@@ -178,7 +178,6 @@ _aes_crypt:
! switch roles for tmp and wtxt ! switch roles for tmp and wtxt
xor wtxt, diff, wtxt xor wtxt, diff, wtxt
add round, 16, round
cmp round, nrounds cmp round, nrounds
blu .Lround_loop blu .Lround_loop
xor tmp, diff, tmp xor tmp, diff, tmp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment