Skip to content

Commit

Permalink
sparc64: Fix ECB looping constructs in AES code.
Browse files Browse the repository at this point in the history
Things works better when you increment the source buffer pointer
properly.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Dec 19, 2012
1 parent b35d282 commit ce68895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sparc/crypto/des_asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ ENTRY(des3_ede_sparc64_ecb_crypt)
1: ldd [%o1 + 0x00], %f60
DES3_LOOP_BODY(60)
std %f60, [%o2 + 0x00]
add %o1, 0x08, %o1
subcc %o3, 0x08, %o3
bne,pt %icc, 1b
add %o2, 0x08, %o2
Expand Down

0 comments on commit ce68895

Please sign in to comment.