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

(_aes_crypt): Moved reading of ctx->nrounds out of the loop.

Rev: src/nettle/sparc/aes.asm:1.32
parent e4a08fbb
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,9 @@ _aes_crypt:
add %fp, -40, tmp
! Compute xor, so that we can swap efficiently.
xor wtxt, tmp, diff
ld [ctx + AES_NROUNDS], nround
.Lblock_loop:
! Read src, and add initial subkey
mov -4, i
......@@ -92,7 +95,6 @@ _aes_crypt:
! bleu .Lsource_loop
! add %o3, 4, %o3
ld [ctx + AES_NROUNDS], nround
mov 1, round
! 4*i: i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment