Searched refs:sess_key (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/nvme/host/ |
D | auth.c | 42 u8 *sess_key; member 459 chap->sess_key, in nvme_auth_dhchap_setup_host_response() 537 chap->sess_key, in nvme_auth_dhchap_setup_ctrl_response() 628 chap->sess_key = kmalloc(chap->sess_key_len, GFP_KERNEL); in nvme_auth_dhchap_exponential() 629 if (!chap->sess_key) { in nvme_auth_dhchap_exponential() 637 chap->sess_key, chap->sess_key_len); in nvme_auth_dhchap_exponential() 645 (int)chap->sess_key_len, chap->sess_key); in nvme_auth_dhchap_exponential() 659 kfree_sensitive(chap->sess_key); in nvme_auth_reset_dhchap() 660 chap->sess_key = NULL; in nvme_auth_reset_dhchap()
|
/Linux-v6.6/fs/smb/server/ |
D | auth.c | 113 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), sess->sess_key); in ksmbd_gen_sess_key() 365 cifs_arc4_setkey(ctx_arc4, sess->sess_key, in ksmbd_decode_ntlmssp_auth_blob() 367 cifs_arc4_crypt(ctx_arc4, sess->sess_key, in ksmbd_decode_ntlmssp_auth_blob() 535 if (resp->session_key_len > sizeof(sess->sess_key)) { in ksmbd_krb5_authenticate() 549 memcpy(sess->sess_key, resp->payload, resp->session_key_len); in ksmbd_krb5_authenticate() 697 sess->sess_key, in generate_key() 789 SMB2_NTLMV2_SESSKEY_SIZE, sess->sess_key); in generate_smb3signingkey() 859 SMB2_NTLMV2_SESSKEY_SIZE, sess->sess_key); in generate_smb3encryptionkey()
|
D | smb2pdu.c | 8349 if (ksmbd_sign_smb2_pdu(work->conn, work->sess->sess_key, iov, 1, in smb2_check_sign_req() 8384 if (!ksmbd_sign_smb2_pdu(work->conn, work->sess->sess_key, iov, n_vec, in smb2_set_sign_rsp()
|
/Linux-v6.6/include/linux/ |
D | nvme-auth.h | 39 u8 *sess_key, size_t sess_key_len);
|
/Linux-v6.6/fs/smb/server/mgmt/ |
D | user_session.h | 49 char sess_key[CIFS_KEY_SIZE]; member
|
/Linux-v6.6/drivers/nvme/common/ |
D | auth.c | 432 u8 *sess_key, size_t sess_key_len) in nvme_auth_gen_shared_secret() argument 446 sg_init_one(&dst, sess_key, sess_key_len); in nvme_auth_gen_shared_secret()
|