summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/chacha20poly1305.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/chacha20poly1305.c')
-rw-r--r--src/crypto/chacha20poly1305.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/chacha20poly1305.c b/src/crypto/chacha20poly1305.c
index 28e27b6..b7b7bef 100644
--- a/src/crypto/chacha20poly1305.c
+++ b/src/crypto/chacha20poly1305.c
@@ -30,14 +30,14 @@ asmlinkage void poly1305_asm_4block_avx2(u32 *h, const u8 *src, const u32 *r, un
static bool chacha20poly1305_use_avx2 __read_mostly = false;
static bool chacha20poly1305_use_ssse3 __read_mostly = false;
static bool chacha20poly1305_use_sse2 __read_mostly = false;
-void chacha20poly1305_init(void)
+void chacha20poly1305_fpu_init(void)
{
chacha20poly1305_use_sse2 = boot_cpu_has(X86_FEATURE_XMM2);
chacha20poly1305_use_ssse3 = boot_cpu_has(X86_FEATURE_SSSE3);
chacha20poly1305_use_avx2 = boot_cpu_has(X86_FEATURE_AVX) && boot_cpu_has(X86_FEATURE_AVX2);
}
#else
-void chacha20poly1305_init(void) { }
+void chacha20poly1305_fpu_init(void) { }
#endif
#define CHACHA20_IV_SIZE 16