Home
last modified time | relevance | path

Searched refs:spnego_key (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A 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()
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()
H A Dsess.c1305 struct key *spnego_key = NULL; in sess_auth_kerberos() local
1319 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()
H A Dsmb2pdu.c1325 struct key *spnego_key = NULL; in SMB2_auth_kerberos() local
1332 spnego_key = cifs_get_spnego_key(ses); in SMB2_auth_kerberos()
1333 if (IS_ERR(spnego_key)) { in SMB2_auth_kerberos()
1334 rc = PTR_ERR(spnego_key); in SMB2_auth_kerberos()
1337 spnego_key = NULL; in SMB2_auth_kerberos()
1341 msg = spnego_key->payload.data[0]; in SMB2_auth_kerberos()
1382 key_invalidate(spnego_key); in SMB2_auth_kerberos()
1383 key_put(spnego_key); in SMB2_auth_kerberos()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcifs_spnego.c94 struct key *spnego_key; in cifs_get_spnego_key() local
111 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()
H A Dsess.c1575 struct key *spnego_key = NULL; in sess_auth_kerberos() local
1589 spnego_key = cifs_get_spnego_key(ses, server); in sess_auth_kerberos()
1590 if (IS_ERR(spnego_key)) { in sess_auth_kerberos()
1591 rc = PTR_ERR(spnego_key); in sess_auth_kerberos()
1592 spnego_key = NULL; in sess_auth_kerberos()
1596 msg = spnego_key->payload.data[0]; in sess_auth_kerberos()
1692 key_invalidate(spnego_key); in sess_auth_kerberos()
1693 key_put(spnego_key); in sess_auth_kerberos()
H A Dsmb2pdu.c1584 struct key *spnego_key = NULL; in SMB2_auth_kerberos() local
1592 spnego_key = cifs_get_spnego_key(ses, server); in SMB2_auth_kerberos()
1593 if (IS_ERR(spnego_key)) { in SMB2_auth_kerberos()
1594 rc = PTR_ERR(spnego_key); in SMB2_auth_kerberos()
1597 spnego_key = NULL; in SMB2_auth_kerberos()
1601 msg = spnego_key->payload.data[0]; in SMB2_auth_kerberos()
1647 key_invalidate(spnego_key); in SMB2_auth_kerberos()
1648 key_put(spnego_key); in SMB2_auth_kerberos()

Completed in 18 milliseconds