Searched refs:auth_key (Results 1 – 14 of 14) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | smb1session.c | 377 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 D | sess.c | 697 kfree_sensitive(ses->auth_key.response); in decode_ntlmssp_challenge() 698 ses->auth_key.response = kmemdup(bcc_ptr + tioffset, tilen, in decode_ntlmssp_challenge() 700 if (!ses->auth_key.response) { in decode_ntlmssp_challenge() 704 ses->auth_key.len = tilen; in decode_ntlmssp_challenge() 712 int sz = base_size + ses->auth_key.len in size_of_ntlmssp_blob() 949 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob() 950 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 951 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob() 954 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 956 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
|
| H A D | cifs_ioctl.h | 64 __u8 auth_key[SMB2_NTLMV2_SESSKEY_SIZE]; member
|
| H A D | smb2pdu.c | 1754 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos() 1755 ses->auth_key.len = max_t(unsigned int, msg->sesskey_len, in SMB2_auth_kerberos() 1757 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in SMB2_auth_kerberos() 1758 if (!ses->auth_key.response) { in SMB2_auth_kerberos() 1760 __func__, ses->auth_key.len); in SMB2_auth_kerberos() 1761 ses->auth_key.len = 0; in SMB2_auth_kerberos() 1765 memcpy(ses->auth_key.response, msg->data, msg->sesskey_len); in SMB2_auth_kerberos() 1786 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos() 1787 ses->auth_key.response = NULL; in SMB2_auth_kerberos() 1788 ses->auth_key.len = 0; in SMB2_auth_kerberos() [all …]
|
| H A D | connect.c | 4150 if (ses->auth_key.response) { in cifs_setup_session() 4152 ses->auth_key.response); in cifs_setup_session() 4153 kfree_sensitive(ses->auth_key.response); in cifs_setup_session() 4154 ses->auth_key.response = NULL; in cifs_setup_session() 4155 ses->auth_key.len = 0; in cifs_setup_session()
|
| H A D | misc.c | 111 kfree_sensitive(buf_to_free->auth_key.response); in sesInfoFree()
|
| H A D | cifsglob.h | 1084 struct session_key auth_key; member
|
| /linux/net/sctp/ |
| H A D | auth.c | 799 struct sctp_authkey *auth_key) in sctp_auth_set_key() argument 820 if (shkey->key_id == auth_key->sca_keynumber) { in sctp_auth_set_key() 826 cur_key = sctp_auth_shkey_create(auth_key->sca_keynumber, GFP_KERNEL); in sctp_auth_set_key() 831 key = sctp_auth_create_key(auth_key->sca_keylength, GFP_KERNEL); in sctp_auth_set_key() 837 memcpy(key->data, &auth_key->sca_key[0], auth_key->sca_keylength); in sctp_auth_set_key() 848 if (asoc && asoc->active_key_id == auth_key->sca_keynumber && in sctp_auth_set_key()
|
| /linux/drivers/crypto/qce/ |
| H A D | aead.h | 17 u8 auth_key[QCE_MAX_KEY_SIZE]; member
|
| /linux/include/linux/ |
| H A D | key-type.h | 41 typedef int (*request_key_actor_t)(struct key *auth_key, void *aux);
|
| /linux/include/net/sctp/ |
| H A D | auth.h | 100 struct sctp_authkey *auth_key);
|
| /linux/Documentation/translations/zh_CN/filesystems/ |
| H A D | ubifs.rst | 84 auth_key= 指定用于文件系统身份验证的密钥。
|
| /linux/Documentation/filesystems/ |
| H A D | ubifs.rst | 101 auth_key= specify the key used for authenticating the filesystem.
|
| /linux/fs/smb/server/ |
| H A D | smb2pdu.c | 2189 char *auth_key = conn->binding ? channel_key : sess->sess_key; in ntlm_authenticate() local 2246 auth_key); in ntlm_authenticate() 2290 rc = register_session_channel(sess, conn, auth_key); in ntlm_authenticate() 2326 char *auth_key = conn->binding ? channel_key : in krb5_authenticate() local 2342 out_blob, &out_len, auth_key); in krb5_authenticate() 2393 retval = register_session_channel(sess, conn, auth_key); in krb5_authenticate()
|