39 lines
2.1 KiB
Diff
39 lines
2.1 KiB
Diff
diff -ru aespipe-v2.4e-original/aes.h aespipe-v2.4e/aes.h
|
|
--- aespipe-v2.4e-original/aes.h 2004-06-12 16:31:41.000000000 +0200
|
|
+++ aespipe-v2.4e/aes.h 2019-08-14 14:03:25.556605313 +0200
|
|
@@ -90,17 +90,17 @@
|
|
#if defined(__linux__) && defined(__KERNEL__) && (defined(X86_ASM) || defined(AMD64_ASM))
|
|
asmlinkage
|
|
#endif
|
|
-extern void aes_set_key(aes_context *, const unsigned char [], const int, const int);
|
|
+extern void aes_set_key(aes_context *, const unsigned char [], const int, const int) asm ("_aes_set_key");
|
|
|
|
#if defined(__linux__) && defined(__KERNEL__) && (defined(X86_ASM) || defined(AMD64_ASM))
|
|
asmlinkage
|
|
#endif
|
|
-extern void aes_encrypt(const aes_context *, const unsigned char [], unsigned char []);
|
|
+extern void aes_encrypt(const aes_context *, const unsigned char [], unsigned char []) asm ("_aes_encrypt");
|
|
|
|
#if defined(__linux__) && defined(__KERNEL__) && (defined(X86_ASM) || defined(AMD64_ASM))
|
|
asmlinkage
|
|
#endif
|
|
-extern void aes_decrypt(const aes_context *, const unsigned char [], unsigned char []);
|
|
+extern void aes_decrypt(const aes_context *, const unsigned char [], unsigned char []) asm ("_aes_decrypt");
|
|
|
|
// The block length inputs to aes_set_block and aes_set_key are in numbers
|
|
// of bytes or bits. The calls to subroutines must be made in the above
|
|
diff -ru aespipe-v2.4e-original/md5.h aespipe-v2.4e/md5.h
|
|
--- aespipe-v2.4e-original/md5.h 2010-04-11 12:12:11.000000000 +0200
|
|
+++ aespipe-v2.4e/md5.h 2019-08-14 14:03:38.723627097 +0200
|
|
@@ -10,9 +10,9 @@
|
|
#if defined(__linux__) && defined(__KERNEL__) && (defined(X86_ASM) || defined(AMD64_ASM))
|
|
asmlinkage
|
|
#endif
|
|
-extern void md5_transform_CPUbyteorder(u_int32_t *, u_int32_t const *);
|
|
+extern void md5_transform_CPUbyteorder(u_int32_t *, u_int32_t const *) asm("_md5_transform_CPUbyteorder");
|
|
|
|
#if defined(__linux__) && defined(__KERNEL__) && (defined(X86_ASM) || defined(AMD64_ASM))
|
|
asmlinkage
|
|
#endif
|
|
-extern void md5_transform_CPUbyteorder_2x(u_int32_t *, u_int32_t const *, u_int32_t const *);
|
|
+extern void md5_transform_CPUbyteorder_2x(u_int32_t *, u_int32_t const *, u_int32_t const *) asm("_md5_transform_CPUbyteorder_2x");
|