Commit ce688951 authored by David S. Miller's avatar David S. Miller

sparc64: Fix ECB looping constructs in AES code.

Things works better when you increment the source buffer pointer
properly.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b35d282e
...@@ -376,6 +376,7 @@ ENTRY(des3_ede_sparc64_ecb_crypt) ...@@ -376,6 +376,7 @@ ENTRY(des3_ede_sparc64_ecb_crypt)
1: ldd [%o1 + 0x00], %f60 1: ldd [%o1 + 0x00], %f60
DES3_LOOP_BODY(60) DES3_LOOP_BODY(60)
std %f60, [%o2 + 0x00] std %f60, [%o2 + 0x00]
add %o1, 0x08, %o1
subcc %o3, 0x08, %o3 subcc %o3, 0x08, %o3
bne,pt %icc, 1b bne,pt %icc, 1b
add %o2, 0x08, %o2 add %o2, 0x08, %o2
......
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