From 3130692343c13a8b3fc52a830df42cd437ccef2e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 22 Jun 2017 03:49:57 +0200 Subject: main: annotate init/exit functions to save memory --- src/noise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/noise.c') diff --git a/src/noise.c b/src/noise.c index 9583ab1..9bad788 100644 --- a/src/noise.c +++ b/src/noise.c @@ -28,7 +28,7 @@ static u8 handshake_init_hash[NOISE_HASH_LEN] __read_mostly; static u8 handshake_init_chaining_key[NOISE_HASH_LEN] __read_mostly; static atomic64_t keypair_counter = ATOMIC64_INIT(0); -void noise_init(void) +void __init noise_init(void) { struct blake2s_state blake; blake2s(handshake_init_chaining_key, handshake_name, NULL, NOISE_HASH_LEN, sizeof(handshake_name), 0); -- cgit v1.2.3-59-g8ed1b