Home
last modified time | relevance | path

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

/fs/cifs/
Dcifs_spnego.c106 struct key *spnego_key; in cifs_get_spnego_key() local
123 spnego_key = ERR_PTR(-ENOMEM); in cifs_get_spnego_key()
130 spnego_key = ERR_PTR(-EINVAL); in cifs_get_spnego_key()
171 spnego_key = request_key(&cifs_spnego_key_type, description, ""); in cifs_get_spnego_key()
175 if (cifsFYI && !IS_ERR(spnego_key)) { in cifs_get_spnego_key()
176 struct cifs_spnego_msg *msg = spnego_key->payload.data[0]; in cifs_get_spnego_key()
184 return spnego_key; in cifs_get_spnego_key()
Dsess.c1011 struct key *spnego_key = NULL; in sess_auth_kerberos() local
1025 spnego_key = cifs_get_spnego_key(ses); in sess_auth_kerberos()
1026 if (IS_ERR(spnego_key)) { in sess_auth_kerberos()
1027 rc = PTR_ERR(spnego_key); in sess_auth_kerberos()
1028 spnego_key = NULL; in sess_auth_kerberos()
1032 msg = spnego_key->payload.data[0]; in sess_auth_kerberos()
1129 key_invalidate(spnego_key); in sess_auth_kerberos()
1130 key_put(spnego_key); in sess_auth_kerberos()
Dsmb2pdu.c740 struct key *spnego_key = NULL; in SMB2_auth_kerberos() local
747 spnego_key = cifs_get_spnego_key(ses); in SMB2_auth_kerberos()
748 if (IS_ERR(spnego_key)) { in SMB2_auth_kerberos()
749 rc = PTR_ERR(spnego_key); in SMB2_auth_kerberos()
750 spnego_key = NULL; in SMB2_auth_kerberos()
754 msg = spnego_key->payload.data[0]; in SMB2_auth_kerberos()
794 key_invalidate(spnego_key); in SMB2_auth_kerberos()
795 key_put(spnego_key); in SMB2_auth_kerberos()