Lines Matching refs:host_key_len
45 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()
595 if (chap->host_key && chap->host_key_len) { in nvme_auth_dhchap_exponential()
606 chap->host_key_len = crypto_kpp_maxsize(chap->dh_tfm); in nvme_auth_dhchap_exponential()
608 chap->host_key = kzalloc(chap->host_key_len, GFP_KERNEL); in nvme_auth_dhchap_exponential()
610 chap->host_key_len = 0; in nvme_auth_dhchap_exponential()
615 chap->host_key, chap->host_key_len); in nvme_auth_dhchap_exponential()
624 chap->sess_key_len = chap->host_key_len; in nvme_auth_dhchap_exponential()
652 chap->host_key_len = 0; in nvme_auth_reset_dhchap()