diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-24 19:18:04 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-05-30 18:07:28 +0200 |
commit | 6e6986e17d0dc99903c5134c7c0c8e78fbec7831 (patch) | |
tree | f1a571f1c04e021113abb3572dc31b44401a7634 /src/noise.h | |
parent | noise: precompute static-static ECDH operation (diff) | |
download | wireguard-monolithic-historical-6e6986e17d0dc99903c5134c7c0c8e78fbec7831.tar.xz wireguard-monolithic-historical-6e6986e17d0dc99903c5134c7c0c8e78fbec7831.zip |
peer: use iterator macro instead of callback
Diffstat (limited to 'src/noise.h')
-rw-r--r-- | src/noise.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/noise.h b/src/noise.h index 5e4d9af..c2d7e63 100644 --- a/src/noise.h +++ b/src/noise.h @@ -109,7 +109,7 @@ void noise_keypairs_clear(struct noise_keypairs *keypairs); bool noise_received_with_keypair(struct noise_keypairs *keypairs, struct noise_keypair *received_keypair); void noise_set_static_identity_private_key(struct noise_static_identity *static_identity, const u8 private_key[NOISE_PUBLIC_KEY_LEN]); -int noise_precompute_static_static(struct wireguard_peer *peer, void *ctx); +bool noise_precompute_static_static(struct wireguard_peer *peer); bool noise_handshake_create_initiation(struct message_handshake_initiation *dst, struct noise_handshake *handshake); struct wireguard_peer *noise_handshake_consume_initiation(struct message_handshake_initiation *src, struct wireguard_device *wg); |