aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/arm64/poly1305-armv8.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/arm64/poly1305-armv8.pl')
-rw-r--r--lib/crypto/arm64/poly1305-armv8.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/crypto/arm64/poly1305-armv8.pl b/lib/crypto/arm64/poly1305-armv8.pl
index 22c9069c0650..f1930c6b55ce 100644
--- a/lib/crypto/arm64/poly1305-armv8.pl
+++ b/lib/crypto/arm64/poly1305-armv8.pl
@@ -50,6 +50,9 @@ $code.=<<___;
#ifndef __KERNEL__
# include "arm_arch.h"
.extern OPENSSL_armcap_P
+#else
+# define poly1305_init poly1305_block_init
+# define poly1305_blocks poly1305_blocks_arm64
#endif
.text