/Linux-v6.1/fs/cifs/ |
D | cifsencrypt.c | 281 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob() 282 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob() 283 if (!ses->auth_key.response) { in build_avpair_blob() 284 ses->auth_key.len = 0; in build_avpair_blob() 288 blobptr = ses->auth_key.response; in build_avpair_blob() 323 if (!ses->auth_key.len || !ses->auth_key.response) in find_domain_name() 326 blobptr = ses->auth_key.response; in find_domain_name() 327 blobend = blobptr + ses->auth_key.len; in find_domain_name() 376 if (!ses->auth_key.len || !ses->auth_key.response) in find_timestamp() 379 blobptr = ses->auth_key.response; in find_timestamp() [all …]
|
D | sess.c | 817 ses->auth_key.response = kmemdup(bcc_ptr + tioffset, tilen, in decode_ntlmssp_challenge() 819 if (!ses->auth_key.response) { in decode_ntlmssp_challenge() 823 ses->auth_key.len = tilen; in decode_ntlmssp_challenge() 831 int sz = base_size + ses->auth_key.len in size_of_ntlmssp_blob() 1060 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob() 1061 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1062 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob() 1065 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1067 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1236 kmemdup(ses->auth_key.response, in sess_establish_session() [all …]
|
D | ioctl.c | 290 if (copy_to_user(end, ses->auth_key.response, out.session_key_length)) { in cifs_dump_full_key() 447 memcpy(pkey_inf.auth_key, tcon->ses->auth_key.response, in cifs_ioctl()
|
D | cifs_ioctl.h | 59 __u8 auth_key[16]; /* SMB2_NTLMV2_SESSKEY_SIZE */ member
|
D | smb2transport.c | 246 rc = crypto_shash_setkey(shash->tfm, ses->auth_key.response, in smb2_calc_signature() 316 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in generate_key() 457 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in generate_smb3signingkey()
|
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()
|
D | smb2pdu.c | 1453 ses->auth_key.response = kmemdup(msg->data, msg->sesskey_len, in SMB2_auth_kerberos() 1455 if (!ses->auth_key.response) { in SMB2_auth_kerberos() 1461 ses->auth_key.len = msg->sesskey_len; in SMB2_auth_kerberos() 1483 kfree_sensitive(ses->auth_key.response); in SMB2_auth_kerberos() 1658 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate() 1660 SMB3_SIGN_KEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate()
|
D | misc.c | 103 kfree_sensitive(buf_to_free->auth_key.response); in sesInfoFree()
|
D | cifsglob.h | 1042 struct session_key auth_key; member
|
/Linux-v6.1/net/sctp/ |
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-v6.1/drivers/crypto/qce/ |
D | aead.h | 17 u8 auth_key[QCE_MAX_KEY_SIZE]; member
|
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()
|
D | common.c | 469 authkey_words = qce_be32_to_cpu_array(authkey, ctx->auth_key, auth_keylen); in qce_setup_regs_aead()
|
/Linux-v6.1/include/linux/ |
D | key-type.h | 41 typedef int (*request_key_actor_t)(struct key *auth_key, void *aux);
|
/Linux-v6.1/include/net/sctp/ |
D | auth.h | 103 struct sctp_authkey *auth_key);
|
/Linux-v6.1/drivers/crypto/qat/qat_common/ |
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-v6.1/Documentation/filesystems/ |
D | ubifs.rst | 101 auth_key= specify the key used for authenticating the filesystem.
|
/Linux-v6.1/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2200.h | 869 u8 auth_type:4, auth_key:4; member 871 u8 auth_key:4, auth_type:4; member
|
D | ipw2200.c | 7283 priv->assoc_request.auth_key = 0; in ipw_associate_network() 7288 priv->assoc_request.auth_key = priv->ieee->sec.active_key; in ipw_associate_network()
|
/Linux-v6.1/drivers/crypto/ |
D | n2_core.c | 522 unsigned long auth_key, unsigned int auth_key_len) in n2_do_async_digest() argument 569 ent->auth_key_addr = auth_key; in n2_do_async_digest()
|
D | sa2ul.c | 717 const u8 *auth_key, u16 auth_key_sz, in sa_init_sc() argument 765 sa_set_sc_auth(ad, auth_key, auth_key_sz, in sa_init_sc()
|