diff options
author | jaseg <git@jaseg.net> | 2018-12-17 11:38:20 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2018-12-17 11:38:20 +0900 |
commit | eb3b3b884c0e119f40499019277e984988502dbe (patch) | |
tree | 93cce4b2cd1390ac368f7ede8d491bb63e895c8e /src/noise.h | |
parent | 1e9de2bcb9db55476c31a7e9e2456da8f1bbca96 (diff) | |
download | secure-hid-eb3b3b884c0e119f40499019277e984988502dbe.tar.gz secure-hid-eb3b3b884c0e119f40499019277e984988502dbe.tar.bz2 secure-hid-eb3b3b884c0e119f40499019277e984988502dbe.zip |
A bunch of frama-c proofs running through for noise.c
Diffstat (limited to 'src/noise.h')
-rw-r--r-- | src/noise.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 |