Commit d755d995 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 31aac9ee
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment