summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2013-05-30 15:37:51 +0000
committermatthew <matthew@openbsd.org>2013-05-30 15:37:51 +0000
commitdac93bb542bde1e9a7ea10a4654018e2194a5e30 (patch)
tree3a5ea4b403324f1db3cf011c44e68f35fc7f8050 /lib/libssl/src
parentDo not allow SIOCSIFADDR on AF_INET6 sockets. The ioctl is handled down (diff)
downloadwireguard-openbsd-dac93bb542bde1e9a7ea10a4654018e2194a5e30.tar.xz
wireguard-openbsd-dac93bb542bde1e9a7ea10a4654018e2194a5e30.zip
Switch to using unhyphenated VIA padlock mnemonics. VIA abandoned the
hyphen in their official programming guide sometime between 2003 and 2005, and Clang's integrated assembler does not support hyphenated mnemonics. ok jsg, deraadt
Diffstat (limited to 'lib/libssl/src')
-rw-r--r--lib/libssl/src/crypto/engine/hw_cryptodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/src/crypto/engine/hw_cryptodev.c b/lib/libssl/src/crypto/engine/hw_cryptodev.c
index 0e80ca051a5..bc953872dd0 100644
--- a/lib/libssl/src/crypto/engine/hw_cryptodev.c
+++ b/lib/libssl/src/crypto/engine/hw_cryptodev.c
@@ -625,7 +625,7 @@ viac3_xcrypt_cbc(int *cw, const void *src, void *dst, void *key, int rep,
* Cannot simply place key into "b" register, since the compiler
* -pic mode uses that register; so instead we must dance a little.
*/
- __asm __volatile("pushl %%ebx; movl %0, %%ebx; rep xcrypt-cbc; popl %%ebx" :
+ __asm __volatile("pushl %%ebx; movl %0, %%ebx; rep xcryptcbc; popl %%ebx" :
: "m" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst)
: "memory", "cc");
#else
@@ -634,7 +634,7 @@ viac3_xcrypt_cbc(int *cw, const void *src, void *dst, void *key, int rep,
* Clear bit 30 of EFLAGS.
*/
__asm __volatile("pushfq; popfq");
- __asm __volatile("rep xcrypt-cbc" :
+ __asm __volatile("rep xcryptcbc" :
: "b" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst)
: "memory", "cc");
#endif