From e11c6e6e1ef7c3ee750359d075393bf1c6425081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Sat, 16 Feb 2002 01:14:24 +0100 Subject: [PATCH] Update round for each subkeys that is accessed. Rev: src/nettle/sparc/aes.asm:1.41 --- sparc/aes.asm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sparc/aes.asm b/sparc/aes.asm index 61e44fab..59e18683 100644 --- a/sparc/aes.asm +++ b/sparc/aes.asm @@ -162,9 +162,9 @@ _aes_crypt: add idx, 4, idx ! Fetch roundkey - add round, ctx, t1 - ld [t1+i], t1 - + ld [ctx+round], t1 + add round, 4, round + xor t0, t3, t0 ! 0, 1, 2, 3 xor t0, t1, t0 @@ -178,7 +178,6 @@ _aes_crypt: ! switch roles for tmp and wtxt xor wtxt, diff, wtxt - add round, 16, round cmp round, nrounds blu .Lround_loop xor tmp, diff, tmp -- GitLab