Home
last modified time | relevance | path

Searched refs:r_current (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/sys/net/
Dwg_noise.c477 current = r->r_current; in noise_remote_begin_session()
491 r->r_current = noise_remote_keypair_allocate(r); in noise_remote_begin_session()
492 *r->r_current = kp; in noise_remote_begin_session()
520 noise_remote_keypair_free(r, r->r_current); in noise_remote_clear()
523 r->r_current = NULL; in noise_remote_clear()
534 if (r->r_current != NULL) in noise_remote_expire_current()
535 r->r_current->kp_valid = 0; in noise_remote_expire_current()
547 if ((kp = r->r_current) == NULL || in noise_remote_ready()
567 if ((kp = r->r_current) == NULL) in noise_remote_encrypt()
622 if (r->r_current != NULL && r->r_current->kp_local_index == r_idx) { in noise_remote_decrypt()
[all …]
Dwg_noise.h106 struct noise_keypair *r_next, *r_current, *r_previous; member