diff options
author | Andy Polyakov <appro@openssl.org> | 2007-01-25 11:28:07 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2007-01-25 11:28:07 +0000 |
commit | 14b1d089b683fb45fc2ecb90d02ad7b8d163a536 (patch) | |
tree | f6b3991748477a64d94fa6b20d0cc3af842932b8 /crypto/aes | |
parent | a296239bdd12fc8bfa1271c244bb45937bcbe943 (diff) |
Minor touch to aes-armv4.pl.
Diffstat (limited to 'crypto/aes')
-rw-r--r-- | crypto/aes/asm/aes-armv4.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/aes/asm/aes-armv4.pl b/crypto/aes/asm/aes-armv4.pl index 4ae0d1c991..b4049d5d72 100644 --- a/crypto/aes/asm/aes-armv4.pl +++ b/crypto/aes/asm/aes-armv4.pl @@ -311,6 +311,7 @@ _armv4_AES_encrypt: eor $s2,$s2,$i3,lsl#16 eor $s3,$t3,$s3,lsl#24 + ldr lr,[sp],#4 @ pop lr ldr $t1,[$key,#0] ldr $t2,[$key,#4] ldr $t3,[$key,#8] @@ -320,7 +321,8 @@ _armv4_AES_encrypt: eor $s2,$s2,$t3 eor $s3,$s3,$i1 - ldr pc,[sp],#4 @ return + sub $tbl,$tbl,#2 + mov pc,lr @ return .size _armv4_AES_encrypt,.-_armv4_AES_encrypt .type AES_Td,%object @@ -635,6 +637,7 @@ _armv4_AES_decrypt: eor $s2,$i3,$s2,lsl#8 eor $s3,$t3,$s3,lsl#24 + ldr lr,[sp],#4 @ pop lr ldr $t1,[$key,#0] ldr $t2,[$key,#4] ldr $t3,[$key,#8] @@ -644,7 +647,8 @@ _armv4_AES_decrypt: eor $s2,$s2,$t3 eor $s3,$s3,$i1 - ldr pc,[sp],#4 @ return + sub $tbl,$tbl,#1024 + mov pc,lr @ return .size _armv4_AES_decrypt,.-_armv4_AES_decrypt .asciz "AES for ARMv4, CRYPTOGAMS by <appro\@openssl.org>" ___ |