projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f98d7c
)
aes-s390x.pl: fix endless loop in linux32-s390x build.
author
Andy Polyakov
<appro@openssl.org>
Thu, 5 Apr 2012 08:17:21 +0000
(08:17 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Thu, 5 Apr 2012 08:17:21 +0000
(08:17 +0000)
crypto/aes/asm/aes-s390x.pl
patch
|
blob
|
history
diff --git
a/crypto/aes/asm/aes-s390x.pl
b/crypto/aes/asm/aes-s390x.pl
index f749a52d7bbe5efbc319440e725bf5b0aa4aab66..394ab487ad5cb3683c7ec35f8e1e3b1b32f73c7b 100644
(file)
--- a/
crypto/aes/asm/aes-s390x.pl
+++ b/
crypto/aes/asm/aes-s390x.pl
@@
-783,6
+783,7
@@
$code.=<<___;
.type private_AES_set_encrypt_key,\@function
.align 16
private_AES_set_encrypt_key:
+_s390x_AES_set_encrypt_key:
lghi $t0,0
cl${g}r $inp,$t0
je .Lminus1
@@
-1068,7
+1069,7
@@
$code.=<<___;
private_AES_set_decrypt_key:
st${g} $key,4*$SIZE_T($sp) # I rely on AES_set_encrypt_key to
st${g} $ra,14*$SIZE_T($sp) # save non-volatile registers!
- bras $ra,AES_set_encrypt_key
+ bras $ra,
_s390x_
AES_set_encrypt_key
l${g} $key,4*$SIZE_T($sp)
l${g} $ra,14*$SIZE_T($sp)
ltgr %r2,%r2