Home
last modified time | relevance | path

Searched refs:host_key_len (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/nvme/host/
Dauth.c44 int host_key_len; member
299 if (chap->host_key_len) in nvme_auth_set_dhchap_reply_data()
300 size += chap->host_key_len; in nvme_auth_set_dhchap_reply_data()
312 data->dhvlen = cpu_to_le16(chap->host_key_len); in nvme_auth_set_dhchap_reply_data()
327 if (chap->host_key_len) { in nvme_auth_set_dhchap_reply_data()
330 chap->host_key_len, chap->host_key); in nvme_auth_set_dhchap_reply_data()
332 chap->host_key_len); in nvme_auth_set_dhchap_reply_data()
598 if (chap->host_key && chap->host_key_len) { in nvme_auth_dhchap_exponential()
609 chap->host_key_len = crypto_kpp_maxsize(chap->dh_tfm); in nvme_auth_dhchap_exponential()
611 chap->host_key = kzalloc(chap->host_key_len, GFP_KERNEL); in nvme_auth_dhchap_exponential()
[all …]
/linux-6.6.21/drivers/nvme/common/
Dauth.c406 u8 *host_key, size_t host_key_len) in nvme_auth_gen_pubkey() argument
419 sg_init_one(&dst, host_key, host_key_len); in nvme_auth_gen_pubkey()
420 kpp_request_set_output(req, &dst, host_key_len); in nvme_auth_gen_pubkey()
/linux-6.6.21/include/linux/
Dnvme-auth.h36 u8 *host_key, size_t host_key_len);