diff options
Diffstat (limited to 'src/crypto/zinc/selftest')
-rw-r--r-- | src/crypto/zinc/selftest/blake2s.h | 2 | ||||
-rw-r--r-- | src/crypto/zinc/selftest/chacha20poly1305.h | 2 | ||||
-rw-r--r-- | src/crypto/zinc/selftest/curve25519.h | 2 | ||||
-rw-r--r-- | src/crypto/zinc/selftest/poly1305.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/crypto/zinc/selftest/blake2s.h b/src/crypto/zinc/selftest/blake2s.h index 61f09b8..67d3114 100644 --- a/src/crypto/zinc/selftest/blake2s.h +++ b/src/crypto/zinc/selftest/blake2s.h @@ -2058,7 +2058,7 @@ static const u8 blake2s_keyed_testvecs[][BLAKE2S_OUTBYTES] __initconst = { 0x34, 0xbd, 0xe9, 0x99, 0xef, 0xd7, 0x24, 0xdd } }; -bool __init blake2s_selftest(void) +static bool __init blake2s_selftest(void) { u8 key[BLAKE2S_KEYBYTES]; u8 buf[ARRAY_SIZE(blake2s_testvecs)]; diff --git a/src/crypto/zinc/selftest/chacha20poly1305.h b/src/crypto/zinc/selftest/chacha20poly1305.h index 9aae3f5..aa375ae 100644 --- a/src/crypto/zinc/selftest/chacha20poly1305.h +++ b/src/crypto/zinc/selftest/chacha20poly1305.h @@ -7695,7 +7695,7 @@ decryption_success(bool func_ret, bool expect_failure, int memcmp_result) enum { MAXIMUM_TEST_BUFFER_LEN = 3000 }; -bool __init chacha20poly1305_selftest(void) +static bool __init chacha20poly1305_selftest(void) { size_t i; u8 computed_result[MAXIMUM_TEST_BUFFER_LEN], *heap_src, *heap_dst; diff --git a/src/crypto/zinc/selftest/curve25519.h b/src/crypto/zinc/selftest/curve25519.h index 2679120..b0cf55a 100644 --- a/src/crypto/zinc/selftest/curve25519.h +++ b/src/crypto/zinc/selftest/curve25519.h @@ -1279,7 +1279,7 @@ static const struct curve25519_test_vector curve25519_test_vectors[] __initconst } }; -bool __init curve25519_selftest(void) +static bool __init curve25519_selftest(void) { bool success = true, ret, ret2; size_t i = 0, j; diff --git a/src/crypto/zinc/selftest/poly1305.h b/src/crypto/zinc/selftest/poly1305.h index 02cd4ba..1439c98 100644 --- a/src/crypto/zinc/selftest/poly1305.h +++ b/src/crypto/zinc/selftest/poly1305.h @@ -818,7 +818,7 @@ static const struct poly1305_testvec poly1305_testvecs[] __initconst = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, } }; -bool __init poly1305_selftest(void) +static bool __init poly1305_selftest(void) { simd_context_t simd_context; bool success = true; |