Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/host/
Dauth.c40 int host_key_len; member
225 chap->host_key_len = 0; in nvme_auth_process_dhchap_challenge()
302 if (chap->host_key_len) in nvme_auth_set_dhchap_reply_data()
303 size += chap->host_key_len; in nvme_auth_set_dhchap_reply_data()
315 data->dhvlen = cpu_to_le16(chap->host_key_len); in nvme_auth_set_dhchap_reply_data()
330 if (chap->host_key_len) { in nvme_auth_set_dhchap_reply_data()
333 chap->host_key_len, chap->host_key); in nvme_auth_set_dhchap_reply_data()
335 chap->host_key_len); in nvme_auth_set_dhchap_reply_data()
600 if (chap->host_key && chap->host_key_len) { in nvme_auth_dhchap_exponential()
611 chap->host_key_len = crypto_kpp_maxsize(chap->dh_tfm); in nvme_auth_dhchap_exponential()
[all …]
/linux-6.1.9/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.1.9/include/linux/
Dnvme-auth.h36 u8 *host_key, size_t host_key_len);