Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcifsencrypt.c275 ses->auth_key.response = kmalloc(temp_len, GFP_KERNEL); in setup_ntlm_response()
276 if (!ses->auth_key.response) in setup_ntlm_response()
279 ses->auth_key.len = temp_len; in setup_ntlm_response()
282 ses->auth_key.response + CIFS_SESS_KEY_SIZE, nls_cp); in setup_ntlm_response()
296 rc = mdfour(ses->auth_key.response, temp_key, CIFS_SESS_KEY_SIZE); in setup_ntlm_response()
374 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob()
375 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
376 if (!ses->auth_key.response) { in build_avpair_blob()
377 ses->auth_key.len = 0; in build_avpair_blob()
381 blobptr = ses->auth_key.response; in build_avpair_blob()
[all …]
H A Dsess.c604 ses->auth_key.response = kmemdup(bcc_ptr + tioffset, tilen, in decode_ntlmssp_challenge()
606 if (!ses->auth_key.response) { in decode_ntlmssp_challenge()
610 ses->auth_key.len = tilen; in decode_ntlmssp_challenge()
655 int sz = sizeof(AUTHENTICATE_MESSAGE) + ses->auth_key.len in size_of_ntlmssp_blob()
720 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob()
721 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
722 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob()
725 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
727 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
917 kmemdup(ses->auth_key.response, in sess_establish_session()
[all …]
H A Dcifs_ioctl.h63 __u8 auth_key[16]; /* SMB2_NTLMV2_SESSKEY_SIZE */ member
H A Dioctl.c292 memcpy(pkey_inf.auth_key, tcon->ses->auth_key.response, in cifs_ioctl()
H A Dsmb2transport.c250 rc = crypto_shash_setkey(hash, ses->auth_key.response, in smb2_calc_signature()
318 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in generate_key()
457 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in generate_smb3signingkey()
H A Dconnect.c5065 if (ses->auth_key.response) { in cifs_setup_session()
5067 ses->auth_key.response); in cifs_setup_session()
5068 kfree(ses->auth_key.response); in cifs_setup_session()
5069 ses->auth_key.response = NULL; in cifs_setup_session()
5070 ses->auth_key.len = 0; in cifs_setup_session()
H A Dmisc.c109 kfree_sensitive(buf_to_free->auth_key.response); in sesInfoFree()
H A Dsmb2pdu.c1350 ses->auth_key.response = kmemdup(msg->data, msg->sesskey_len, in SMB2_auth_kerberos()
1352 if (!ses->auth_key.response) { in SMB2_auth_kerberos()
1358 ses->auth_key.len = msg->sesskey_len; in SMB2_auth_kerberos()
1545 SMB2_NTLMV2_SESSKEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate()
1547 SMB3_SIGN_KEY_SIZE, ses->auth_key.response); in SMB2_sess_auth_rawntlmssp_authenticate()
H A Dcifsglob.h996 struct session_key auth_key; member
/OK3568_Linux_fs/kernel/net/sctp/
H A Dauth.c819 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dkey-type.h41 typedef int (*request_key_actor_t)(struct key *auth_key, void *aux);
/OK3568_Linux_fs/kernel/include/net/sctp/
H A Dauth.h103 struct sctp_authkey *auth_key);
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/
H A Dqat_algs.c100 const u8 *auth_key, in qat_alg_do_precomputes() argument
115 int ret = crypto_shash_digest(shash, auth_key, in qat_alg_do_precomputes()
122 memcpy(ctx->ipad, auth_key, auth_keylen); in qat_alg_do_precomputes()
123 memcpy(ctx->opad, auth_key, auth_keylen); in qat_alg_do_precomputes()
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dubifs.rst101 auth_key= specify the key used for authenticating the filesystem.
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.h869 u8 auth_type:4, auth_key:4; member
871 u8 auth_key:4, auth_type:4; member
H A Dipw2200.c7286 priv->assoc_request.auth_key = 0; in ipw_associate_network()
7291 priv->assoc_request.auth_key = priv->ieee->sec.active_key; in ipw_associate_network()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dn2_core.c521 unsigned long auth_key, unsigned int auth_key_len) in n2_do_async_digest() argument
568 ent->auth_key_addr = auth_key; in n2_do_async_digest()
H A Dsa2ul.c695 u16 enc_key_sz, const u8 *auth_key, u16 auth_key_sz, in sa_init_sc() argument
743 sa_set_sc_auth(ad, auth_key, auth_key_sz, in sa_init_sc()