NOISE_PUBLIC_KEY_LEN
uint8_t ue[NOISE_PUBLIC_KEY_LEN];
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN];
uint8_t ue[NOISE_PUBLIC_KEY_LEN];
CTASSERT(WG_KEY_SIZE >= NOISE_PUBLIC_KEY_LEN);
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
uint8_t hs_e[NOISE_PUBLIC_KEY_LEN];
noise_msg_encrypt(es, l->l_public, NOISE_PUBLIC_KEY_LEN,
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
uint8_t r_public[NOISE_PUBLIC_KEY_LEN];
NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN,
memcpy(hs.hs_e, ue, NOISE_PUBLIC_KEY_LEN);
uint32_t *r_idx, uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t e[NOISE_PUBLIC_KEY_LEN];
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t r_public[NOISE_PUBLIC_KEY_LEN];
uint8_t r_ss[NOISE_PUBLIC_KEY_LEN];
const uint8_t private[NOISE_PUBLIC_KEY_LEN],
const uint8_t public[NOISE_PUBLIC_KEY_LEN])
uint8_t dh[NOISE_PUBLIC_KEY_LEN];
NOISE_PUBLIC_KEY_LEN, ck);
explicit_bzero(dh, NOISE_PUBLIC_KEY_LEN);
const uint8_t ss[NOISE_PUBLIC_KEY_LEN])
static uint8_t null_point[NOISE_PUBLIC_KEY_LEN];
if (timingsafe_bcmp(ss, null_point, NOISE_PUBLIC_KEY_LEN) == 0)
0, NOISE_PUBLIC_KEY_LEN, ck);
uint8_t l_public[NOISE_PUBLIC_KEY_LEN];
uint8_t l_private[NOISE_PUBLIC_KEY_LEN];
const uint8_t s[NOISE_PUBLIC_KEY_LEN])
noise_mix_hash(hash, s, NOISE_PUBLIC_KEY_LEN);
const uint8_t src[NOISE_PUBLIC_KEY_LEN])
noise_mix_hash(hash, src, NOISE_PUBLIC_KEY_LEN);
NOISE_PUBLIC_KEY_LEN, ck);
const uint8_t [NOISE_PUBLIC_KEY_LEN],
const uint8_t [NOISE_PUBLIC_KEY_LEN]);
const uint8_t [NOISE_PUBLIC_KEY_LEN]);
const uint8_t [NOISE_PUBLIC_KEY_LEN]);
const uint8_t [NOISE_PUBLIC_KEY_LEN]);
const uint8_t private[NOISE_PUBLIC_KEY_LEN])
memcpy(l->l_private, private, NOISE_PUBLIC_KEY_LEN);
noise_local_keys(struct noise_local *l, uint8_t public[NOISE_PUBLIC_KEY_LEN],
uint8_t private[NOISE_PUBLIC_KEY_LEN])
memcpy(public, l->l_public, NOISE_PUBLIC_KEY_LEN);
memcpy(private, l->l_private, NOISE_PUBLIC_KEY_LEN);
bzero(r->r_ss, NOISE_PUBLIC_KEY_LEN);
const uint8_t public[NOISE_PUBLIC_KEY_LEN], void *arg)
memcpy(r->r_public, public, NOISE_PUBLIC_KEY_LEN);
idx = siphash24(l->l_hash_key, r->r_public, NOISE_PUBLIC_KEY_LEN);
const uint8_t public[NOISE_PUBLIC_KEY_LEN])
idx = siphash24(l->l_hash_key, public, NOISE_PUBLIC_KEY_LEN);
if (timingsafe_bcmp(r->r_public, public, NOISE_PUBLIC_KEY_LEN)
noise_remote_keys(struct noise_remote *r, uint8_t public[NOISE_PUBLIC_KEY_LEN],
memcpy(public, r->r_public, NOISE_PUBLIC_KEY_LEN);
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
const uint8_t[NOISE_PUBLIC_KEY_LEN]);
uint8_t[NOISE_PUBLIC_KEY_LEN],
uint8_t[NOISE_PUBLIC_KEY_LEN]);
const uint8_t[NOISE_PUBLIC_KEY_LEN], void *);
const uint8_t[NOISE_PUBLIC_KEY_LEN]);
uint8_t[NOISE_PUBLIC_KEY_LEN],