aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@noconroy.net>2021-04-20 08:56:27 +1000
committerMatt Dunwoodie <ncon@noconroy.net>2021-04-20 10:52:36 +1000
commitaaa7ff549819373577c986b6c37876d7940ddc6c (patch)
treeda2f70c45f2af463a9e6ba4995c58a38cb23d77f /src
parentwg_noise: lookup both keypair and handshake index at once (diff)
downloadwireguard-freebsd-aaa7ff549819373577c986b6c37876d7940ddc6c.tar.xz
wireguard-freebsd-aaa7ff549819373577c986b6c37876d7940ddc6c.zip
wg_noise: whitespace cleanup
Signed-off-by: Matt Dunwoodie <ncon@noconroy.net>
Diffstat (limited to 'src')
-rw-r--r--src/wg_noise.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wg_noise.c b/src/wg_noise.c
index 4a1134d..f497687 100644
--- a/src/wg_noise.c
+++ b/src/wg_noise.c
@@ -129,7 +129,6 @@ static void noise_remote_index_insert(struct noise_local *, struct noise_remote
static int noise_remote_index_remove(struct noise_local *, struct noise_remote *);
static void noise_remote_expire_current(struct noise_remote *);
-
static void noise_add_new_keypair(struct noise_local *, struct noise_remote *, struct noise_keypair *);
static int noise_received_with(struct noise_keypair *);
static int noise_begin_session(struct noise_remote *);
@@ -729,7 +728,6 @@ noise_keypair_smr_free(struct epoch_context *smr)
free(kp, M_NOISE);
}
-
void
noise_keypair_put(struct noise_keypair *kp)
{
@@ -768,8 +766,6 @@ noise_keypair_remote_arg(struct noise_keypair *kp)
return kp->kp_remote->r_arg;
}
-
-
int
noise_keypair_nonce_next(struct noise_keypair *kp, uint64_t *send)
{
@@ -891,7 +887,6 @@ noise_keypair_decrypt(struct noise_keypair *kp, uint64_t nonce, struct mbuf *m)
return (0);
}
-
/* Handshake functions */
int
noise_create_initiation(struct noise_remote *r,