aboutsummaryrefslogtreecommitdiffstats
path: root/module/icp/algs/aes
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-11 16:38:25 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:21:32 -0700
commit0ce2de637bf73e2c7e483e644aa09797439734ef (patch)
treec4d45fff310b523f8fe44d8a7887348aafc5d27a /module/icp/algs/aes
parent60356b1a211a0fcfe7dbd2e1dd280d6fc0170cf0 (diff)
Add prototypes
Add prototypes/move prototypes to header files. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'module/icp/algs/aes')
-rw-r--r--module/icp/algs/aes/aes_impl_x86-64.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/module/icp/algs/aes/aes_impl_x86-64.c b/module/icp/algs/aes/aes_impl_x86-64.c
index 0ee7ee99c..19f8fd501 100644
--- a/module/icp/algs/aes/aes_impl_x86-64.c
+++ b/module/icp/algs/aes/aes_impl_x86-64.c
@@ -25,18 +25,6 @@
#if defined(__x86_64)
#include <sys/simd.h>
-
-/* These functions are used to execute amd64 instructions for AMD or Intel: */
-extern int rijndael_key_setup_enc_amd64(uint32_t rk[],
- const uint32_t cipherKey[], int keyBits);
-extern int rijndael_key_setup_dec_amd64(uint32_t rk[],
- const uint32_t cipherKey[], int keyBits);
-extern void aes_encrypt_amd64(const uint32_t rk[], int Nr,
- const uint32_t pt[4], uint32_t ct[4]);
-extern void aes_decrypt_amd64(const uint32_t rk[], int Nr,
- const uint32_t ct[4], uint32_t pt[4]);
-
-
#include <aes/aes_impl.h>
/*