diff options
-rw-r--r-- | src/crypto/zinc/blake2s/blake2s.c | 1 | ||||
-rw-r--r-- | src/crypto/zinc/chacha20/chacha20.c | 2 | ||||
-rw-r--r-- | src/crypto/zinc/curve25519/curve25519.c | 2 | ||||
-rw-r--r-- | src/crypto/zinc/poly1305/poly1305.c | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/src/crypto/zinc/blake2s/blake2s.c b/src/crypto/zinc/blake2s/blake2s.c index 9517c33..abe7202 100644 --- a/src/crypto/zinc/blake2s/blake2s.c +++ b/src/crypto/zinc/blake2s/blake2s.c @@ -119,7 +119,6 @@ EXPORT_SYMBOL(blake2s_init_key); static void __init blake2s_fpu_init(void) { } - static inline bool blake2s_compress_arch(struct blake2s_state *state, const u8 *block, size_t nblocks, const u32 inc) diff --git a/src/crypto/zinc/chacha20/chacha20.c b/src/crypto/zinc/chacha20/chacha20.c index c6a29f8..3415105 100644 --- a/src/crypto/zinc/chacha20/chacha20.c +++ b/src/crypto/zinc/chacha20/chacha20.c @@ -22,7 +22,7 @@ #elif defined(CONFIG_ZINC_ARCH_MIPS) #include "chacha20-mips-glue.h" #else -void __init chacha20_fpu_init(void) +static void __init chacha20_fpu_init(void) { } static inline bool chacha20_arch(struct chacha20_ctx *state, u8 *dst, diff --git a/src/crypto/zinc/curve25519/curve25519.c b/src/crypto/zinc/curve25519/curve25519.c index e57962d..1732521 100644 --- a/src/crypto/zinc/curve25519/curve25519.c +++ b/src/crypto/zinc/curve25519/curve25519.c @@ -24,7 +24,7 @@ #elif defined(CONFIG_ZINC_ARCH_ARM) #include "curve25519-arm-glue.h" #else -void __init curve25519_fpu_init(void) +static void __init curve25519_fpu_init(void) { } static inline bool curve25519_arch(u8 mypublic[CURVE25519_KEY_SIZE], diff --git a/src/crypto/zinc/poly1305/poly1305.c b/src/crypto/zinc/poly1305/poly1305.c index 064856b..4ab8116 100644 --- a/src/crypto/zinc/poly1305/poly1305.c +++ b/src/crypto/zinc/poly1305/poly1305.c @@ -39,7 +39,7 @@ static inline bool poly1305_emit_arch(void *ctx, u8 mac[POLY1305_MAC_SIZE], { return false; } -void __init poly1305_fpu_init(void) +static void __init poly1305_fpu_init(void) { } #endif |