Searched refs:auth_key (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/fs/cifs/ |
D | cifsencrypt.c | 274 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 …]
|
D | sess.c | 318 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 …]
|
D | smb2pdu.c | 549 kfree(ses->auth_key.response); in SMB2_sess_setup() 550 ses->auth_key.response = NULL; in SMB2_sess_setup() 616 ses->auth_key.response = kmemdup(msg->data, msg->sesskey_len, in SMB2_sess_setup() 618 if (!ses->auth_key.response) { in SMB2_sess_setup() 625 ses->auth_key.len = msg->sesskey_len; in SMB2_sess_setup() 755 kfree(ses->auth_key.response); in SMB2_sess_setup() 756 ses->auth_key.response = NULL; in SMB2_sess_setup() 779 kfree(ses->auth_key.response); in SMB2_sess_setup() 780 ses->auth_key.response = NULL; in SMB2_sess_setup()
|
D | smb2transport.c | 162 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in smb2_calc_signature() 245 ses->auth_key.response, SMB2_NTLMV2_SESSKEY_SIZE); in generate_smb3signingkey()
|
D | misc.c | 108 kfree(buf_to_free->auth_key.response); in sesInfoFree()
|
D | cifsglob.h | 793 struct session_key auth_key; member
|
/linux-4.1.27/net/sctp/ |
D | auth.c | 825 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.1.27/include/net/sctp/ |
D | auth.h | 112 struct sctp_authkey *auth_key);
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 155 const uint8_t *auth_key, in qat_alg_do_precomputes() argument 176 int ret = crypto_shash_digest(shash, auth_key, in qat_alg_do_precomputes() 183 memcpy(ipad, auth_key, auth_keylen); in qat_alg_do_precomputes() 184 memcpy(opad, auth_key, auth_keylen); in qat_alg_do_precomputes()
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | ipw2200.h | 883 u8 auth_type:4, auth_key:4; member 885 u8 auth_key:4, auth_type:4; member
|
D | ipw2200.c | 7315 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.1.27/drivers/crypto/ |
D | n2_core.c | 509 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()
|