artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
114ca9f
)
Unbreak vpaes-x86 implementation.
author
jsing
<jsing@openbsd.org>
Thu, 2 Feb 2023 18:19:27 +0000
(18:19 +0000)
committer
jsing
<jsing@openbsd.org>
Thu, 2 Feb 2023 18:19:27 +0000
(18:19 +0000)
Remove remnants of previous PIC handling.
ok miod@
lib/libcrypto/aes/asm/vpaes-x86.pl
patch
|
blob
|
history
diff --git
a/lib/libcrypto/aes/asm/vpaes-x86.pl
b/lib/libcrypto/aes/asm/vpaes-x86.pl
index
38cef61
..
6e7bd36
100644
(file)
--- a/
lib/libcrypto/aes/asm/vpaes-x86.pl
+++ b/
lib/libcrypto/aes/asm/vpaes-x86.pl
@@
-157,7
+157,6
@@
$k_dsbo=0x2c0; # decryption sbox final output
&previous();
&function_begin_B("_vpaes_preheat");
- &add ($const,&DWP(0,"esp"));
&movdqa ("xmm7",&QWP($k_inv,$const));
&movdqa ("xmm6",&QWP($k_s0F,$const));
&ret ();
@@
-368,7
+367,6
@@
$k_dsbo=0x2c0; # decryption sbox final output
## ##
########################################################
&function_begin_B("_vpaes_schedule_core");
- &add ($const,&DWP(0,"esp"));
&movdqu ("xmm0",&QWP(0,$inp)); # load key (unaligned)
&movdqa ("xmm2",&QWP($k_rcon,$const)); # load rcon