From eb3b3b884c0e119f40499019277e984988502dbe Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 17 Dec 2018 11:38:20 +0900 Subject: A bunch of frama-c proofs running through for noise.c --- src/noise.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/noise.h') diff --git a/src/noise.h b/src/noise.h index 672174f..3f56854 100644 --- a/src/noise.h +++ b/src/noise.h @@ -45,9 +45,12 @@ int start_protocol_handshake(struct NoiseState *st); int reset_protocol_handshake(struct NoiseState *st); int generate_identity_key(struct NoiseState *st); int try_continue_noise_handshake(struct NoiseState * const st, uint8_t *buf, size_t len); -int send_encrypted_message(struct NoiseState *st, uint8_t *msg, size_t len); +int send_encrypted_message(struct NoiseState *st, const uint8_t *msg, size_t len); +/*@ assigns \nothing; */ void arm_key_scrubber(void); + +/*@ assigns \nothing; */ void disarm_key_scrubber(void); #endif -- cgit