Searched refs:spnego_key (Results 1 – 9 of 9) sorted by relevance
106 struct key *spnego_key; in cifs_get_spnego_key() local123 spnego_key = ERR_PTR(-ENOMEM); in cifs_get_spnego_key()130 spnego_key = ERR_PTR(-EINVAL); in cifs_get_spnego_key()173 spnego_key = request_key(&cifs_spnego_key_type, description, ""); in cifs_get_spnego_key()177 if (cifsFYI && !IS_ERR(spnego_key)) { in cifs_get_spnego_key()178 struct cifs_spnego_msg *msg = spnego_key->payload.data[0]; in cifs_get_spnego_key()186 return spnego_key; in cifs_get_spnego_key()
1305 struct key *spnego_key = NULL; in sess_auth_kerberos() local1319 spnego_key = cifs_get_spnego_key(ses); in sess_auth_kerberos()1320 if (IS_ERR(spnego_key)) { in sess_auth_kerberos()1321 rc = PTR_ERR(spnego_key); in sess_auth_kerberos()1322 spnego_key = NULL; in sess_auth_kerberos()1326 msg = spnego_key->payload.data[0]; in sess_auth_kerberos()1422 key_invalidate(spnego_key); in sess_auth_kerberos()1423 key_put(spnego_key); in sess_auth_kerberos()
1318 struct key *spnego_key = NULL; in SMB2_auth_kerberos() local1325 spnego_key = cifs_get_spnego_key(ses); in SMB2_auth_kerberos()1326 if (IS_ERR(spnego_key)) { in SMB2_auth_kerberos()1327 rc = PTR_ERR(spnego_key); in SMB2_auth_kerberos()1330 spnego_key = NULL; in SMB2_auth_kerberos()1334 msg = spnego_key->payload.data[0]; in SMB2_auth_kerberos()1375 key_invalidate(spnego_key); in SMB2_auth_kerberos()1376 key_put(spnego_key); in SMB2_auth_kerberos()