| /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 | 719 kfree_sensitive(ses->auth_key.response); in decode_ntlmssp_challenge() 720 ses->auth_key.response = kmemdup(bcc_ptr + tioffset, tilen, in decode_ntlmssp_challenge() 722 if (!ses->auth_key.response) { in decode_ntlmssp_challenge() 726 ses->auth_key.len = tilen; in decode_ntlmssp_challenge() 734 int sz = base_size + ses->auth_key.len in size_of_ntlmssp_blob() 971 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob() 972 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 973 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob() 976 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 978 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 | 1755 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos() 1756 ses->auth_key.len = max_t(unsigned int, msg->sesskey_len, in SMB2_auth_kerberos() 1758 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in SMB2_auth_kerberos() 1759 if (!ses->auth_key.response) { in SMB2_auth_kerberos() 1761 __func__, ses->auth_key.len); in SMB2_auth_kerberos() 1762 ses->auth_key.len = 0; in SMB2_auth_kerberos() 1766 memcpy(ses->auth_key.response, msg->data, msg->sesskey_len); in SMB2_auth_kerberos() 1787 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos() 1788 ses->auth_key in SMB2_auth_kerberos() [all...] |
| H A D | connect.c | 4156 if (ses->auth_key.response) { in cifs_setup_session() 4158 ses->auth_key.response); in cifs_setup_session() 4159 kfree_sensitive(ses->auth_key.response); in cifs_setup_session() 4160 ses->auth_key.response = NULL; in cifs_setup_session() 4161 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/drivers/net/ethernet/netronome/nfp/crypto/ |
| H A D | ipsec.c | 91 u32 auth_key[16]; /* Authentication Key */ member 369 if (key_len > sizeof(cfg->auth_key)) { in nfp_net_xfrm_add_state() 373 for (i = 0; i < key_len / sizeof(cfg->auth_key[0]) ; i++) in nfp_net_xfrm_add_state() 374 cfg->auth_key[i] = get_unaligned_be32(x->aalg->alg_key + in nfp_net_xfrm_add_state() 375 sizeof(cfg->auth_key[0]) * i); in nfp_net_xfrm_add_state()
|
| /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 | 2196 char *auth_key = conn->binding ? channel_key : sess->sess_key; in ntlm_authenticate() local 2253 auth_key); in ntlm_authenticate() 2297 rc = register_session_channel(sess, conn, auth_key); in ntlm_authenticate() 2333 char *auth_key = conn->binding ? channel_key : in krb5_authenticate() local 2349 out_blob, &out_len, auth_key); in krb5_authenticate() 2400 retval = register_session_channel(sess, conn, auth_key); in krb5_authenticate()
|
| /linux/drivers/net/wireless/intel/ipw2x00/ |
| H A D | ipw2200.c | 7247 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()
|