Lines Matching refs:noise_local
112 struct noise_local *r_local;
122 struct noise_local { struct
131 void (*l_cleanup)(struct noise_local *); argument
141 static void noise_precompute_ss(struct noise_local *, struct noise_remote *); argument
143 static void noise_remote_index_insert(struct noise_local *, struct noise_remote *);
145 noise_remote_index_lookup(struct noise_local *, uint32_t, bool);
146 static int noise_remote_index_remove(struct noise_local *, struct noise_remote *);
149 static void noise_add_new_keypair(struct noise_local *, struct noise_remote *, struct noise_keypair…
179 struct noise_local *
182 struct noise_local *l; in noise_local_alloc()
209 struct noise_local *
210 noise_local_ref(struct noise_local *l) in noise_local_ref()
217 noise_local_put(struct noise_local *l) in noise_local_put()
230 noise_local_free(struct noise_local *l, void (*cleanup)(struct noise_local *)) in noise_local_free() argument
237 noise_local_arg(struct noise_local *l) in noise_local_arg()
243 noise_local_private(struct noise_local *l, const uint8_t private[NOISE_PUBLIC_KEY_LEN]) in noise_local_private()
266 noise_local_keys(struct noise_local *l, uint8_t public[NOISE_PUBLIC_KEY_LEN], in noise_local_keys()
282 noise_precompute_ss(struct noise_local *l, struct noise_remote *r) in noise_precompute_ss()
294 noise_remote_alloc(struct noise_local *l, void *arg, in noise_remote_alloc()
323 struct noise_local *l = r->r_local; in noise_remote_enable()
348 struct noise_local *l = r->r_local; in noise_remote_disable()
360 noise_remote_lookup(struct noise_local *l, const uint8_t public[NOISE_PUBLIC_KEY_LEN]) in noise_remote_lookup()
381 noise_remote_index_insert(struct noise_local *l, struct noise_remote *r) in noise_remote_index_insert()
412 noise_remote_index_lookup(struct noise_local *l, uint32_t idx0, bool lookup_keypair) in noise_remote_index_lookup()
441 noise_remote_index(struct noise_local *l, uint32_t idx) in noise_remote_index()
447 noise_remote_index_remove(struct noise_local *l, struct noise_remote *r) in noise_remote_index_remove()
499 struct noise_local *
602 noise_add_new_keypair(struct noise_local *l, struct noise_remote *r, in noise_add_new_keypair()
681 noise_keypair_lookup(struct noise_local *l, uint32_t idx0) in noise_keypair_lookup()
772 struct noise_local *l; in noise_keypair_drop()
951 struct noise_local *l = r->r_local; in noise_create_initiation()
999 noise_consume_initiation(struct noise_local *l, struct noise_remote **rp, in noise_consume_initiation()
1084 struct noise_local *l = r->r_local; in noise_create_response()
1129 noise_consume_response(struct noise_local *l, struct noise_remote **rp, in noise_consume_response()