diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/engine/hw_cryptodev.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/engine/hw_cryptodev.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c index 0e80ca051a..bc953872dd 100644 --- a/src/lib/libcrypto/engine/hw_cryptodev.c +++ b/src/lib/libcrypto/engine/hw_cryptodev.c | |||
@@ -625,7 +625,7 @@ viac3_xcrypt_cbc(int *cw, const void *src, void *dst, void *key, int rep, | |||
625 | * Cannot simply place key into "b" register, since the compiler | 625 | * Cannot simply place key into "b" register, since the compiler |
626 | * -pic mode uses that register; so instead we must dance a little. | 626 | * -pic mode uses that register; so instead we must dance a little. |
627 | */ | 627 | */ |
628 | __asm __volatile("pushl %%ebx; movl %0, %%ebx; rep xcrypt-cbc; popl %%ebx" : | 628 | __asm __volatile("pushl %%ebx; movl %0, %%ebx; rep xcryptcbc; popl %%ebx" : |
629 | : "m" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst) | 629 | : "m" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst) |
630 | : "memory", "cc"); | 630 | : "memory", "cc"); |
631 | #else | 631 | #else |
@@ -634,7 +634,7 @@ viac3_xcrypt_cbc(int *cw, const void *src, void *dst, void *key, int rep, | |||
634 | * Clear bit 30 of EFLAGS. | 634 | * Clear bit 30 of EFLAGS. |
635 | */ | 635 | */ |
636 | __asm __volatile("pushfq; popfq"); | 636 | __asm __volatile("pushfq; popfq"); |
637 | __asm __volatile("rep xcrypt-cbc" : | 637 | __asm __volatile("rep xcryptcbc" : |
638 | : "b" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst) | 638 | : "b" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst) |
639 | : "memory", "cc"); | 639 | : "memory", "cc"); |
640 | #endif | 640 | #endif |
diff --git a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c b/src/lib/libssl/src/crypto/engine/hw_cryptodev.c index 0e80ca051a..bc953872dd 100644 --- a/src/lib/libssl/src/crypto/engine/hw_cryptodev.c +++ b/src/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, | |||
625 | * Cannot simply place key into "b" register, since the compiler | 625 | * Cannot simply place key into "b" register, since the compiler |
626 | * -pic mode uses that register; so instead we must dance a little. | 626 | * -pic mode uses that register; so instead we must dance a little. |
627 | */ | 627 | */ |
628 | __asm __volatile("pushl %%ebx; movl %0, %%ebx; rep xcrypt-cbc; popl %%ebx" : | 628 | __asm __volatile("pushl %%ebx; movl %0, %%ebx; rep xcryptcbc; popl %%ebx" : |
629 | : "m" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst) | 629 | : "m" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst) |
630 | : "memory", "cc"); | 630 | : "memory", "cc"); |
631 | #else | 631 | #else |
@@ -634,7 +634,7 @@ viac3_xcrypt_cbc(int *cw, const void *src, void *dst, void *key, int rep, | |||
634 | * Clear bit 30 of EFLAGS. | 634 | * Clear bit 30 of EFLAGS. |
635 | */ | 635 | */ |
636 | __asm __volatile("pushfq; popfq"); | 636 | __asm __volatile("pushfq; popfq"); |
637 | __asm __volatile("rep xcrypt-cbc" : | 637 | __asm __volatile("rep xcryptcbc" : |
638 | : "b" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst) | 638 | : "b" (key), "a" (iv), "c" (rep), "d" (cw), "S" (src), "D" (dst) |
639 | : "memory", "cc"); | 639 | : "memory", "cc"); |
640 | #endif | 640 | #endif |