Searched refs:spnego_key (Results 1 – 3 of 3) sorted by relevance
94 struct key *spnego_key; in cifs_get_spnego_key() local111 spnego_key = ERR_PTR(-ENOMEM); in cifs_get_spnego_key()118 spnego_key = ERR_PTR(-EINVAL); in cifs_get_spnego_key()161 spnego_key = request_key(&cifs_spnego_key_type, description, ""); in cifs_get_spnego_key()165 if (cifsFYI && !IS_ERR(spnego_key)) { in cifs_get_spnego_key()166 struct cifs_spnego_msg *msg = spnego_key->payload.data[0]; in cifs_get_spnego_key()174 return spnego_key; in cifs_get_spnego_key()
1082 struct key *spnego_key = NULL; in sess_auth_kerberos() local1096 spnego_key = cifs_get_spnego_key(ses); in sess_auth_kerberos()1097 if (IS_ERR(spnego_key)) { in sess_auth_kerberos()1098 rc = PTR_ERR(spnego_key); in sess_auth_kerberos()1099 spnego_key = NULL; in sess_auth_kerberos()1103 msg = spnego_key->payload.data[0]; in sess_auth_kerberos()1199 key_invalidate(spnego_key); in sess_auth_kerberos()1200 key_put(spnego_key); in sess_auth_kerberos()
1391 struct key *spnego_key = NULL; in SMB2_auth_kerberos() local1398 spnego_key = cifs_get_spnego_key(ses); in SMB2_auth_kerberos()1399 if (IS_ERR(spnego_key)) { in SMB2_auth_kerberos()1400 rc = PTR_ERR(spnego_key); in SMB2_auth_kerberos()1403 spnego_key = NULL; in SMB2_auth_kerberos()1407 msg = spnego_key->payload.data[0]; in SMB2_auth_kerberos()1448 key_invalidate(spnego_key); in SMB2_auth_kerberos()1449 key_put(spnego_key); in SMB2_auth_kerberos()