Lines Matching refs:host_key_len
40 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()
613 chap->host_key = kzalloc(chap->host_key_len, GFP_KERNEL); in nvme_auth_dhchap_exponential()
615 chap->host_key_len = 0; in nvme_auth_dhchap_exponential()
620 chap->host_key, chap->host_key_len); in nvme_auth_dhchap_exponential()
626 chap->host_key_len = 0; in nvme_auth_dhchap_exponential()
632 chap->sess_key_len = chap->host_key_len; in nvme_auth_dhchap_exponential()
663 chap->host_key_len = 0; in __nvme_auth_reset()