Searched refs:sess_key (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/nvme/host/ |
H A D | auth.c | 43 u8 *sess_key; member 456 chap->sess_key, in nvme_auth_dhchap_setup_host_response() 534 chap->sess_key, in nvme_auth_dhchap_setup_ctrl_response() 625 chap->sess_key = kmalloc(chap->sess_key_len, GFP_KERNEL); in nvme_auth_dhchap_exponential() 626 if (!chap->sess_key) { in nvme_auth_dhchap_exponential() 634 chap->sess_key, chap->sess_key_len); in nvme_auth_dhchap_exponential() 642 (int)chap->sess_key_len, chap->sess_key); in nvme_auth_dhchap_exponential() 656 kfree_sensitive(chap->sess_key); in nvme_auth_reset_dhchap() 657 chap->sess_key = NULL; in nvme_auth_reset_dhchap()
|
/linux/fs/smb/server/ |
H A D | auth.c | 113 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), sess->sess_key); in ksmbd_gen_sess_key() 368 cifs_arc4_setkey(ctx_arc4, sess->sess_key, in ksmbd_decode_ntlmssp_auth_blob() 370 cifs_arc4_crypt(ctx_arc4, sess->sess_key, in ksmbd_decode_ntlmssp_auth_blob() 538 if (resp->session_key_len > sizeof(sess->sess_key)) { in ksmbd_krb5_authenticate() 555 memcpy(sess->sess_key, resp->payload, resp->session_key_len); in ksmbd_krb5_authenticate() 703 sess->sess_key, in generate_key() 795 SMB2_NTLMV2_SESSKEY_SIZE, sess->sess_key); in generate_smb3signingkey() 865 SMB2_NTLMV2_SESSKEY_SIZE, sess->sess_key); in generate_smb3encryptionkey()
|
H A D | smb2pdu.c | 8731 if (ksmbd_sign_smb2_pdu(work->conn, work->sess->sess_key, iov, 1, in smb2_check_sign_req() 8766 if (!ksmbd_sign_smb2_pdu(work->conn, work->sess->sess_key, iov, n_vec, in smb2_set_sign_rsp()
|
/linux/include/linux/ |
H A D | nvme-auth.h | 42 u8 *sess_key, size_t sess_key_len);
|
/linux/fs/smb/server/mgmt/ |
H A D | user_session.h | 49 char sess_key[CIFS_KEY_SIZE]; member
|
/linux/drivers/nvme/common/ |
H A D | auth.c | 423 u8 *sess_key, size_t sess_key_len) in nvme_auth_gen_shared_secret() argument 437 sg_init_one(&dst, sess_key, sess_key_len); in nvme_auth_gen_shared_secret()
|