Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dcifsencrypt.c274 ses->auth_key.response = kmalloc(temp_len, GFP_KERNEL); in setup_ntlm_response()
275 if (!ses->auth_key.response) in setup_ntlm_response()
278 ses->auth_key.len = temp_len; in setup_ntlm_response()
281 ses->auth_key.response + CIFS_SESS_KEY_SIZE, nls_cp); in setup_ntlm_response()
295 rc = mdfour(ses->auth_key.response, temp_key, CIFS_SESS_KEY_SIZE); in setup_ntlm_response()
369 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob()
370 ses->auth_key.response = kzalloc(ses->auth_key.len, GFP_KERNEL); in build_avpair_blob()
371 if (!ses->auth_key.response) { in build_avpair_blob()
372 ses->auth_key.len = 0; in build_avpair_blob()
376 blobptr = ses->auth_key.response; in build_avpair_blob()
[all …]
Dsess.c318 ses->auth_key.response = kmemdup(bcc_ptr + tioffset, tilen, in decode_ntlmssp_challenge()
320 if (!ses->auth_key.response) { in decode_ntlmssp_challenge()
324 ses->auth_key.len = tilen; in decode_ntlmssp_challenge()
409 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob()
410 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
411 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob()
414 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
416 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob()
606 kmemdup(ses->auth_key.response, in sess_establish_session()
607 ses->auth_key.len, GFP_KERNEL); in sess_establish_session()
[all …]
Dsmb2pdu.c608 kfree(ses->auth_key.response); in SMB2_sess_setup()
609 ses->auth_key.response = NULL; in SMB2_sess_setup()
675 ses->auth_key.response = kmemdup(msg->data, msg->sesskey_len, in SMB2_sess_setup()
677 if (!ses->auth_key.response) { in SMB2_sess_setup()
684 ses->auth_key.len = msg->sesskey_len; in SMB2_sess_setup()
814 kfree(ses->auth_key.response); in SMB2_sess_setup()
815 ses->auth_key.response = NULL; in SMB2_sess_setup()
838 kfree(ses->auth_key.response); in SMB2_sess_setup()
839 ses->auth_key.response = NULL; in SMB2_sess_setup()
Dsmb2transport.c162 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in smb2_calc_signature()
245 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in generate_smb3signingkey()
Dmisc.c108 kfree(buf_to_free->auth_key.response); in sesInfoFree()
Dcifsglob.h805 struct session_key auth_key; member
/linux-4.4.14/net/sctp/
Dauth.c825 struct sctp_authkey *auth_key) in sctp_auth_set_key() argument
841 if (cur_key->key_id == auth_key->sca_keynumber) { in sctp_auth_set_key()
851 cur_key = sctp_auth_shkey_create(auth_key->sca_keynumber, in sctp_auth_set_key()
858 key = sctp_auth_create_key(auth_key->sca_keylength, GFP_KERNEL); in sctp_auth_set_key()
862 memcpy(key->data, &auth_key->sca_key[0], auth_key->sca_keylength); in sctp_auth_set_key()
/linux-4.4.14/include/net/sctp/
Dauth.h112 struct sctp_authkey *auth_key);
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c146 const uint8_t *auth_key, in qat_alg_do_precomputes() argument
167 int ret = crypto_shash_digest(shash, auth_key, in qat_alg_do_precomputes()
174 memcpy(ipad, auth_key, auth_keylen); in qat_alg_do_precomputes()
175 memcpy(opad, auth_key, auth_keylen); in qat_alg_do_precomputes()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2200.h883 u8 auth_type:4, auth_key:4; member
885 u8 auth_key:4, auth_type:4; member
Dipw2200.c7315 priv->assoc_request.auth_key = 0; in ipw_associate_network()
7320 priv->assoc_request.auth_key = priv->ieee->sec.active_key; in ipw_associate_network()
/linux-4.4.14/drivers/crypto/
Dn2_core.c509 unsigned long auth_key, unsigned int auth_key_len) in n2_do_async_digest() argument
556 ent->auth_key_addr = auth_key; in n2_do_async_digest()