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 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 r_public[NOISE_PUBLIC_KEY_LEN];
NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN, key, hs.hs_hash) != 0)
memcpy(hs.hs_e, ue, NOISE_PUBLIC_KEY_LEN);
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t e[NOISE_PUBLIC_KEY_LEN];
uint8_t r_ss[NOISE_PUBLIC_KEY_LEN];
explicit_bzero(e, NOISE_PUBLIC_KEY_LEN);
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t l_public[NOISE_PUBLIC_KEY_LEN];
uint8_t l_private[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_HASH_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, 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)
NOISE_HASH_LEN, NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, ck);
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]);
bzero(l->l_public, NOISE_PUBLIC_KEY_LEN);
bzero(l->l_private, NOISE_PUBLIC_KEY_LEN);
noise_local_private(struct noise_local *l, 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])
memcpy(r->r_public, public, NOISE_PUBLIC_KEY_LEN);
idx = siphash24(l->l_hash_key, r->r_public, NOISE_PUBLIC_KEY_LEN) & HT_REMOTE_MASK;
noise_remote_lookup(struct noise_local *l, const uint8_t public[NOISE_PUBLIC_KEY_LEN])
idx = siphash24(l->l_hash_key, public, NOISE_PUBLIC_KEY_LEN) & HT_REMOTE_MASK;
if (timingsafe_bcmp(r->r_public, public, NOISE_PUBLIC_KEY_LEN) == 0) {
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 hs_e[NOISE_PUBLIC_KEY_LEN];
uint8_t ue[NOISE_PUBLIC_KEY_LEN],
uint8_t es[NOISE_PUBLIC_KEY_LEN + NOISE_AUTHTAG_LEN],
NOISE_PUBLIC_KEY_LEN, key, hs->hs_hash);
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]);
noise_remote_lookup(struct noise_local *, const uint8_t[NOISE_PUBLIC_KEY_LEN]);
uint8_t[NOISE_PUBLIC_KEY_LEN],