Home
last modified time | relevance | path

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

/net/sctp/
Dauth.c817 struct sctp_shared_key *cur_key = NULL; in sctp_auth_set_key() local
830 key_for_each(cur_key, sh_keys) { in sctp_auth_set_key()
831 if (cur_key->key_id == auth_key->sca_keynumber) { in sctp_auth_set_key()
841 cur_key = sctp_auth_shkey_create(auth_key->sca_keynumber, in sctp_auth_set_key()
843 if (!cur_key) in sctp_auth_set_key()
859 sctp_auth_key_put(cur_key->key); in sctp_auth_set_key()
861 list_add(&cur_key->key_list, sh_keys); in sctp_auth_set_key()
863 cur_key->key = key; in sctp_auth_set_key()
869 sctp_auth_shkey_free(cur_key); in sctp_auth_set_key()