Searched refs:security_params (Results 1 – 2 of 2) sorted by relevance
64 dtls_security_parameters_t *security_params[2]; member70 if (peer->security_params[0] && peer->security_params[0]->epoch == epoch) { in dtls_security_params_epoch()71 return peer->security_params[0]; in dtls_security_params_epoch()72 } else if (peer->security_params[1] && peer->security_params[1]->epoch == epoch) { in dtls_security_params_epoch()73 return peer->security_params[1]; in dtls_security_params_epoch()81 return peer->security_params[0]; in dtls_security_params()86 if (peer->security_params[1]) in dtls_security_params_next()87 dtls_security_free(peer->security_params[1]); in dtls_security_params_next()89 peer->security_params[1] = dtls_security_new(); in dtls_security_params_next()90 if (!peer->security_params[1]) { in dtls_security_params_next()[all …]
43 dtls_security_free(peer->security_params[0]); in dtls_free_peer()44 dtls_security_free(peer->security_params[1]); in dtls_free_peer()65 dtls_security_free(peer->security_params[0]); in dtls_free_peer()66 dtls_security_free(peer->security_params[1]); in dtls_free_peer()79 peer->security_params[0] = dtls_security_new(); in dtls_new_peer()81 if (!peer->security_params[0]) { in dtls_new_peer()