Home
last modified time | relevance | path

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

/openbmc/linux/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()
163 spnego_key = request_key(&cifs_spnego_key_type, description, ""); in cifs_get_spnego_key()
167 if (cifsFYI && !IS_ERR(spnego_key)) { in cifs_get_spnego_key()
168 struct cifs_spnego_msg *msg = spnego_key->payload.data[0]; in cifs_get_spnego_key()
176 return spnego_key; in cifs_get_spnego_key()
H A Dsess.c1574 struct key *spnego_key = NULL; in sess_auth_kerberos() local
1588 spnego_key = cifs_get_spnego_key(ses, server); in sess_auth_kerberos()
1589 if (IS_ERR(spnego_key)) { in sess_auth_kerberos()
1590 rc = PTR_ERR(spnego_key); in sess_auth_kerberos()
1591 spnego_key = NULL; in sess_auth_kerberos()
1595 msg = spnego_key->payload.data[0]; in sess_auth_kerberos()
1691 key_invalidate(spnego_key); in sess_auth_kerberos()
1692 key_put(spnego_key); in sess_auth_kerberos()
H A Dsmb2pdu.c1617 struct key *spnego_key = NULL; in SMB2_auth_kerberos() local
1625 spnego_key = cifs_get_spnego_key(ses, server); in SMB2_auth_kerberos()
1626 if (IS_ERR(spnego_key)) { in SMB2_auth_kerberos()
1627 rc = PTR_ERR(spnego_key); in SMB2_auth_kerberos()
1630 spnego_key = NULL; in SMB2_auth_kerberos()
1634 msg = spnego_key->payload.data[0]; in SMB2_auth_kerberos()
1680 key_invalidate(spnego_key); in SMB2_auth_kerberos()
1681 key_put(spnego_key); in SMB2_auth_kerberos()