]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/aes/asm/aesni-sha1-x86_64.pl
Unable to run asm code on OpenBSD (amd64)
[thirdparty/openssl.git] / crypto / aes / asm / aesni-sha1-x86_64.pl
index dbe33a3f1a02ea3da910debdbd33b258cc9b149a..9b58f31381ee7898681b37bdba4f283c12d592a4 100644 (file)
@@ -1738,6 +1738,7 @@ ___
                                                }}}
 }
 $code.=<<___;
+.section .rodata align=64
 .align 64
 K_XX_XX:
 .long  0x5a827999,0x5a827999,0x5a827999,0x5a827999     # K_00_19
@@ -1749,6 +1750,7 @@ K_XX_XX:
 
 .asciz "AESNI-CBC+SHA1 stitch for x86_64, CRYPTOGAMS by <appro\@openssl.org>"
 .align 64
+.previous
 ___
                                                if ($shaext) {{{
 ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");