Lines Matching refs:active_key_id
400 ep_key = sctp_auth_get_shkey(asoc, asoc->active_key_id); in sctp_auth_asoc_init_active_key()
725 if (key_id == asoc->active_key_id) in sctp_auth_calculate_hmac()
868 if (asoc && asoc->active_key_id == auth_key->sca_keynumber && in sctp_auth_set_key()
910 __u16 active_key_id = asoc->active_key_id; in sctp_auth_set_active_key() local
912 asoc->active_key_id = key_id; in sctp_auth_set_active_key()
914 asoc->active_key_id = active_key_id; in sctp_auth_set_active_key()
918 ep->active_key_id = key_id; in sctp_auth_set_active_key()
937 if (asoc->active_key_id == key_id) in sctp_auth_del_key_id()
944 if (ep->active_key_id == key_id) in sctp_auth_del_key_id()
980 if (asoc->active_key_id == key_id) in sctp_auth_deact_key_id()
987 if (ep->active_key_id == key_id) in sctp_auth_deact_key_id()