summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2023-02-02 18:19:27 +0000
committerjsing <>2023-02-02 18:19:27 +0000
commitb038ca2d2e8fa273b344804a2561d8aad704bdcc (patch)
tree1776efe9f7e5c74f6db0a2d77a539cf1efc6c29e /src
parent9e1924dde08e823680f6e83135f11d55b6b25f38 (diff)
downloadopenbsd-b038ca2d2e8fa273b344804a2561d8aad704bdcc.tar.gz
openbsd-b038ca2d2e8fa273b344804a2561d8aad704bdcc.tar.bz2
openbsd-b038ca2d2e8fa273b344804a2561d8aad704bdcc.zip
Unbreak vpaes-x86 implementation.
Remove remnants of previous PIC handling. ok miod@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/aes/asm/vpaes-x86.pl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/libcrypto/aes/asm/vpaes-x86.pl b/src/lib/libcrypto/aes/asm/vpaes-x86.pl
index 38cef61733..6e7bd36d05 100644
--- a/src/lib/libcrypto/aes/asm/vpaes-x86.pl
+++ b/src/lib/libcrypto/aes/asm/vpaes-x86.pl
@@ -157,7 +157,6 @@ $k_dsbo=0x2c0; # decryption sbox final output
157 &previous(); 157 &previous();
158 158
159&function_begin_B("_vpaes_preheat"); 159&function_begin_B("_vpaes_preheat");
160 &add ($const,&DWP(0,"esp"));
161 &movdqa ("xmm7",&QWP($k_inv,$const)); 160 &movdqa ("xmm7",&QWP($k_inv,$const));
162 &movdqa ("xmm6",&QWP($k_s0F,$const)); 161 &movdqa ("xmm6",&QWP($k_s0F,$const));
163 &ret (); 162 &ret ();
@@ -368,7 +367,6 @@ $k_dsbo=0x2c0; # decryption sbox final output
368## ## 367## ##
369######################################################## 368########################################################
370&function_begin_B("_vpaes_schedule_core"); 369&function_begin_B("_vpaes_schedule_core");
371 &add ($const,&DWP(0,"esp"));
372 &movdqu ("xmm0",&QWP(0,$inp)); # load key (unaligned) 370 &movdqu ("xmm0",&QWP(0,$inp)); # load key (unaligned)
373 &movdqa ("xmm2",&QWP($k_rcon,$const)); # load rcon 371 &movdqa ("xmm2",&QWP($k_rcon,$const)); # load rcon
374 372