projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b35d282
)
sparc64: Fix ECB looping constructs in AES code.
author
David S. Miller
<davem@davemloft.net>
Wed, 19 Dec 2012 23:30:07 +0000
(15:30 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 19 Dec 2012 23:30:07 +0000
(15:30 -0800)
Things works better when you increment the source buffer pointer
properly.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/crypto/des_asm.S
patch
|
blob
|
history
diff --git
a/arch/sparc/crypto/des_asm.S
b/arch/sparc/crypto/des_asm.S
index
30b6e90
..
b5c8fc2
100644
(file)
--- a/
arch/sparc/crypto/des_asm.S
+++ b/
arch/sparc/crypto/des_asm.S
@@
-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