| /linux-6.15/fs/smb/client/ |
| H A D | cifsencrypt.c | 297 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob() 298 if (!ses->auth_key.response) { in build_avpair_blob() 299 ses->auth_key.len = 0; in build_avpair_blob() 303 blobptr = ses->auth_key.response; in build_avpair_blob() 331 end = (u8 *)ses->auth_key.response + ses->auth_key.len; in find_next_av() 333 if (unlikely(!ses->auth_key.response || !ses->auth_key.len)) in find_next_av() 593 tilen = ses->auth_key.len; in setup_ntlmv2_rsp() 594 tiblob = ses->auth_key.response; in setup_ntlmv2_rsp() 597 if (!ses->auth_key.response) { in setup_ntlmv2_rsp() 599 ses->auth_key.len = 0; in setup_ntlmv2_rsp() [all …]
|
| H A D | sess.c | 955 if (!ses->auth_key.response) { in decode_ntlmssp_challenge() 959 ses->auth_key.len = tilen; in decode_ntlmssp_challenge() 1381 kmemdup(ses->auth_key.response, in sess_establish_session() 1382 ses->auth_key.len, GFP_KERNEL); in sess_establish_session() 1388 ses->auth_key.len; in sess_establish_session() 1527 ses->auth_key.response = NULL; in sess_auth_ntlmv2() 1578 if (!ses->auth_key.response) { in sess_auth_kerberos() 1584 ses->auth_key.len = msg->sesskey_len; in sess_auth_kerberos() 1666 ses->auth_key.response = NULL; in sess_auth_kerberos() 1811 ses->auth_key.response = NULL; in sess_auth_rawntlmssp_negotiate() [all …]
|
| H A D | cifs_ioctl.h | 64 __u8 auth_key[16]; /* SMB2_NTLMV2_SESSKEY_SIZE */ member
|
| H A D | ioctl.c | 326 if (copy_to_user(end, ses->auth_key.response, out.session_key_length)) { in cifs_dump_full_key() 508 memcpy(pkey_inf.auth_key, tcon->ses->auth_key.response, in cifs_ioctl()
|
| H A D | smb2transport.c | 190 if (likely(ses->auth_key.response)) { in smb2_get_sign_key() 191 memcpy(key, ses->auth_key.response, in smb2_get_sign_key() 357 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in generate_key() 507 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in generate_smb3signingkey()
|
| H A D | smb2pdu.c | 1641 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos() 1642 ses->auth_key.response = kmemdup(msg->data, msg->sesskey_len, in SMB2_auth_kerberos() 1644 if (!ses->auth_key.response) { in SMB2_auth_kerberos() 1650 ses->auth_key.len = msg->sesskey_len; in SMB2_auth_kerberos() 1672 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos() 1673 ses->auth_key.response = NULL; in SMB2_auth_kerberos() 1674 ses->auth_key.len = 0; in SMB2_auth_kerberos() 1850 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate() 1852 SMB3_SIGN_KEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate()
|
| H A D | connect.c | 4298 if (ses->auth_key.response) { in cifs_setup_session() 4300 ses->auth_key.response); in cifs_setup_session() 4301 kfree_sensitive(ses->auth_key.response); in cifs_setup_session() 4302 ses->auth_key.response = NULL; in cifs_setup_session() 4303 ses->auth_key.len = 0; in cifs_setup_session()
|
| H A D | misc.c | 105 kfree_sensitive(buf_to_free->auth_key.response); in sesInfoFree()
|
| H A D | cifsglob.h | 1117 struct session_key auth_key; member
|
| /linux-6.15/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-6.15/net/sctp/ |
| H A D | auth.c | 819 struct sctp_authkey *auth_key) in sctp_auth_set_key() argument 840 if (shkey->key_id == auth_key->sca_keynumber) { in sctp_auth_set_key() 846 cur_key = sctp_auth_shkey_create(auth_key->sca_keynumber, GFP_KERNEL); in sctp_auth_set_key() 851 key = sctp_auth_create_key(auth_key->sca_keylength, GFP_KERNEL); in sctp_auth_set_key() 857 memcpy(key->data, &auth_key->sca_key[0], auth_key->sca_keylength); in sctp_auth_set_key() 868 if (asoc && asoc->active_key_id == auth_key->sca_keynumber && in sctp_auth_set_key()
|
| /linux-6.15/drivers/crypto/qce/ |
| H A D | aead.h | 17 u8 auth_key[QCE_MAX_KEY_SIZE]; member
|
| H A D | aead.c | 585 memcpy(ctx->auth_key, key, keylen); in qce_aead_ccm_setkey() 645 memset(ctx->auth_key, 0, sizeof(ctx->auth_key)); in qce_aead_setkey() 646 memcpy(ctx->auth_key, authenc_keys.authkey, authenc_keys.authkeylen); in qce_aead_setkey()
|
| H A D | common.c | 470 authkey_words = qce_be32_to_cpu_array(authkey, ctx->auth_key, auth_keylen); in qce_setup_regs_aead()
|
| /linux-6.15/include/linux/ |
| H A D | key-type.h | 41 typedef int (*request_key_actor_t)(struct key *auth_key, void *aux);
|
| /linux-6.15/include/net/sctp/ |
| H A D | auth.h | 103 struct sctp_authkey *auth_key);
|
| /linux-6.15/drivers/crypto/intel/qat/qat_common/ |
| H A D | qat_algs.c | 113 const u8 *auth_key, in qat_alg_do_precomputes() argument 128 int ret = crypto_shash_digest(shash, auth_key, in qat_alg_do_precomputes() 135 memcpy(ctx->ipad, auth_key, auth_keylen); in qat_alg_do_precomputes() 136 memcpy(ctx->opad, auth_key, auth_keylen); in qat_alg_do_precomputes()
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | ubifs.rst | 101 auth_key= specify the key used for authenticating the filesystem.
|
| /linux-6.15/drivers/net/wireless/intel/ipw2x00/ |
| H A D | ipw2200.h | 867 u8 auth_type:4, auth_key:4; member 869 u8 auth_key:4, auth_type:4; member
|
| H A D | ipw2200.c | 7248 priv->assoc_request.auth_key = 0; in ipw_associate_network() 7253 priv->assoc_request.auth_key = priv->ieee->sec.active_key; in ipw_associate_network()
|
| /linux-6.15/drivers/crypto/ |
| H A D | sa2ul.c | 718 const u8 *auth_key, u16 auth_key_sz, in sa_init_sc() argument 766 sa_set_sc_auth(ad, auth_key, auth_key_sz, in sa_init_sc()
|