Searched refs:spnego_key (Results 1 – 2 of 2) sorted by relevance
98 struct key *spnego_key; in cifs_get_spnego_key() local110 spnego_key = ERR_PTR(-ENOMEM); in cifs_get_spnego_key()117 spnego_key = ERR_PTR(-EINVAL); in cifs_get_spnego_key()147 spnego_key = request_key(&cifs_spnego_key_type, description, ""); in cifs_get_spnego_key()150 if (cifsFYI && !IS_ERR(spnego_key)) { in cifs_get_spnego_key()151 struct cifs_spnego_msg *msg = spnego_key->payload.data; in cifs_get_spnego_key()159 return spnego_key; in cifs_get_spnego_key()
432 struct key *spnego_key = NULL; in CIFS_SessSetup() local599 spnego_key = cifs_get_spnego_key(ses); in CIFS_SessSetup()600 if (IS_ERR(spnego_key)) { in CIFS_SessSetup()601 rc = PTR_ERR(spnego_key); in CIFS_SessSetup()602 spnego_key = NULL; in CIFS_SessSetup()606 msg = spnego_key->payload.data; in CIFS_SessSetup()713 if (spnego_key) { in CIFS_SessSetup()714 key_revoke(spnego_key); in CIFS_SessSetup()715 key_put(spnego_key); in CIFS_SessSetup()