Home
last modified time | relevance | path

Searched refs:auth_key (Results 1 – 13 of 13) sorted by relevance

/linux/fs/smb/client/
H A Dsmb1session.c377 kmemdup(ses->auth_key.response, in sess_establish_session()
378 ses->auth_key.len, GFP_KERNEL); in sess_establish_session()
384 ses->auth_key.len; in sess_establish_session()
452 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in sess_auth_ntlmv2()
453 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in sess_auth_ntlmv2()
454 bcc_ptr += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in sess_auth_ntlmv2()
460 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in sess_auth_ntlmv2()
522 kfree_sensitive(ses->auth_key.response); in sess_auth_ntlmv2()
523 ses->auth_key.response = NULL; in sess_auth_ntlmv2()
571 kfree_sensitive(ses->auth_key.response); in sess_auth_kerberos()
[all …]
H A Dioctl.c299 out.session_key_length = ses->auth_key.len; in cifs_dump_full_key()
325 if (copy_to_user(end, ses->auth_key.response, out.session_key_length)) { in cifs_dump_full_key()
507 memcpy(pkey_inf.auth_key, tcon->ses->auth_key.response, in cifs_ioctl()
H A Dcifs_ioctl.h64 __u8 auth_key[SMB2_NTLMV2_SESSKEY_SIZE]; member
H A Dsmb2pdu.c1728 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos()
1729 ses->auth_key.len = max_t(unsigned int, msg->sesskey_len, in SMB2_auth_kerberos()
1731 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in SMB2_auth_kerberos()
1732 if (!ses->auth_key.response) { in SMB2_auth_kerberos()
1734 __func__, ses->auth_key.len); in SMB2_auth_kerberos()
1735 ses->auth_key.len = 0; in SMB2_auth_kerberos()
1739 memcpy(ses->auth_key.response, msg->data, msg->sesskey_len); in SMB2_auth_kerberos()
1760 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos()
1761 ses->auth_key.response = NULL; in SMB2_auth_kerberos()
1762 ses->auth_key.len = 0; in SMB2_auth_kerberos()
[all …]
H A Dconnect.c4140 if (ses->auth_key.response) { in cifs_setup_session()
4142 ses->auth_key.response); in cifs_setup_session()
4143 kfree_sensitive(ses->auth_key.response); in cifs_setup_session()
4144 ses->auth_key.response = NULL; in cifs_setup_session()
4145 ses->auth_key.len = 0; in cifs_setup_session()
H A Dmisc.c111 kfree_sensitive(buf_to_free->auth_key.response); in sesInfoFree()
H A Dcifsglob.h1081 struct session_key auth_key; member
/linux/net/sctp/
H A Dauth.c722 struct sctp_authkey *auth_key) in sctp_auth_set_key() argument
743 if (shkey->key_id == auth_key->sca_keynumber) { in sctp_auth_set_key()
749 cur_key = sctp_auth_shkey_create(auth_key->sca_keynumber, GFP_KERNEL); in sctp_auth_set_key()
754 key = sctp_auth_create_key(auth_key->sca_keylength, GFP_KERNEL); in sctp_auth_set_key()
760 memcpy(key->data, &auth_key->sca_key[0], auth_key->sca_keylength); in sctp_auth_set_key()
771 if (asoc && asoc->active_key_id == auth_key->sca_keynumber && in sctp_auth_set_key()
/linux/drivers/crypto/qce/
H A Daead.h17 u8 auth_key[QCE_MAX_KEY_SIZE]; member
/linux/include/linux/
H A Dkey-type.h41 typedef int (*request_key_actor_t)(struct key *auth_key, void *aux);
/linux/Documentation/translations/zh_CN/filesystems/
H A Dubifs.rst84 auth_key= 指定用于文件系统身份验证的密钥。
/linux/Documentation/filesystems/
H A Dubifs.rst101 auth_key= specify the key used for authenticating the filesystem.
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c7247 priv->assoc_request.auth_key = 0; in ipw_associate_network()
7252 priv->assoc_request.auth_key = priv->ieee->sec.active_key; in ipw_associate_network()