sys/net/if_wg.c
102
uint8_t ue[NOISE_PUBLIC_KEY_LEN];
sys/net/if_wg.c
103
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN];
sys/net/if_wg.c
112
uint8_t ue[NOISE_PUBLIC_KEY_LEN];
sys/net/if_wg.c
2003
wg_remote_get(void *_sc, uint8_t public[NOISE_PUBLIC_KEY_LEN])
sys/net/if_wg.c
363
wg_remote_get(void *, uint8_t[NOISE_PUBLIC_KEY_LEN]);
sys/net/wg_noise.c
1002
uint8_t ue[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
107
uint8_t private[NOISE_PUBLIC_KEY_LEN])
sys/net/wg_noise.c
1101
uint8_t apriv[NOISE_PUBLIC_KEY_LEN], bpriv[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
1102
uint8_t apub[NOISE_PUBLIC_KEY_LEN], bpub[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
111
memcpy(l->l_private, private, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
1117
arc4random_buf(apriv, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
1118
arc4random_buf(bpriv, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
119
noise_local_keys(struct noise_local *l, uint8_t public[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.c
120
uint8_t private[NOISE_PUBLIC_KEY_LEN])
sys/net/wg_noise.c
126
memcpy(public, l->l_public, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
128
memcpy(private, l->l_private, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
137
noise_remote_init(struct noise_remote *r, uint8_t public[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.c
141
memcpy(r->r_public, public, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
172
noise_remote_keys(struct noise_remote *r, uint8_t public[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.c
179
memcpy(public, r->r_public, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
197
bzero(r->r_ss, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
199
bzero(r->r_ss, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
210
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.c
211
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
sys/net/wg_noise.c
237
NOISE_PUBLIC_KEY_LEN, key, hs->hs_hash);
sys/net/wg_noise.c
262
uint32_t s_idx, uint8_t ue[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.c
263
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
sys/net/wg_noise.c
269
uint8_t r_public[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
287
NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN, key, hs.hs_hash) != 0)
sys/net/wg_noise.c
303
memcpy(hs.hs_e, ue, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
339
uint8_t ue[NOISE_PUBLIC_KEY_LEN], uint8_t en[0 + NOISE_AUTHTAG_LEN])
sys/net/wg_noise.c
343
uint8_t e[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
380
explicit_bzero(e, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
386
uint8_t ue[NOISE_PUBLIC_KEY_LEN], uint8_t en[0 + NOISE_AUTHTAG_LEN])
sys/net/wg_noise.c
391
uint8_t preshared_key[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
50
const uint8_t [NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.c
51
const uint8_t [NOISE_PUBLIC_KEY_LEN]);
sys/net/wg_noise.c
55
const uint8_t ss[NOISE_PUBLIC_KEY_LEN]);
sys/net/wg_noise.c
68
const uint8_t [NOISE_PUBLIC_KEY_LEN]);
sys/net/wg_noise.c
79
const uint8_t src[NOISE_PUBLIC_KEY_LEN]);
sys/net/wg_noise.c
832
const uint8_t private[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.c
833
const uint8_t public[NOISE_PUBLIC_KEY_LEN])
sys/net/wg_noise.c
835
uint8_t dh[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
840
NOISE_HASH_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, ck);
sys/net/wg_noise.c
841
explicit_bzero(dh, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
847
const uint8_t ss[NOISE_PUBLIC_KEY_LEN])
sys/net/wg_noise.c
849
static uint8_t null_point[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
850
if (timingsafe_bcmp(ss, null_point, NOISE_PUBLIC_KEY_LEN) == 0)
sys/net/wg_noise.c
853
NOISE_HASH_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, ck);
sys/net/wg_noise.c
885
const uint8_t s[NOISE_PUBLIC_KEY_LEN])
sys/net/wg_noise.c
897
noise_mix_hash(hash, s, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
924
const uint8_t src[NOISE_PUBLIC_KEY_LEN])
sys/net/wg_noise.c
926
noise_mix_hash(hash, src, NOISE_PUBLIC_KEY_LEN);
sys/net/wg_noise.c
928
NOISE_PUBLIC_KEY_LEN, ck);
sys/net/wg_noise.c
994
uint8_t ue[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.c
995
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN];
sys/net/wg_noise.h
114
uint8_t l_public[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.h
115
uint8_t l_private[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.h
120
(*u_remote_get)(void *, uint8_t[NOISE_PUBLIC_KEY_LEN]);
sys/net/wg_noise.h
131
int noise_local_set_private(struct noise_local *, uint8_t[NOISE_PUBLIC_KEY_LEN]);
sys/net/wg_noise.h
132
int noise_local_keys(struct noise_local *, uint8_t[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.h
133
uint8_t[NOISE_PUBLIC_KEY_LEN]);
sys/net/wg_noise.h
135
void noise_remote_init(struct noise_remote *, uint8_t[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.h
138
int noise_remote_keys(struct noise_remote *, uint8_t[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.h
148
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.h
149
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
sys/net/wg_noise.h
156
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.h
157
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
sys/net/wg_noise.h
164
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.h
171
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
sys/net/wg_noise.h
69
uint8_t hs_e[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.h
94
uint8_t r_public[NOISE_PUBLIC_KEY_LEN];
sys/net/wg_noise.h
96
uint8_t r_ss[NOISE_PUBLIC_KEY_LEN];