Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H A Dauth.c236 kfree(sq->dhchap_c1); in nvmet_auth_sq_free()
237 sq->dhchap_c1 = NULL; in nvmet_auth_sq_free()
281 u8 *challenge = req->sq->dhchap_c1; in nvmet_auth_host_hash()
327 req->sq->dhchap_c1, in nvmet_auth_host_hash()
379 if (challenge != req->sq->dhchap_c1) in nvmet_auth_host_hash()
H A Dfabrics-cmd-auth.c376 req->sq->dhchap_c1 = kmalloc(data->hl, GFP_KERNEL); in nvmet_auth_challenge()
377 if (!req->sq->dhchap_c1) in nvmet_auth_challenge()
379 get_random_bytes(req->sq->dhchap_c1, data->hl); in nvmet_auth_challenge()
380 memcpy(data->cval, req->sq->dhchap_c1, data->hl); in nvmet_auth_challenge()
H A Dnvmet.h161 u8 *dhchap_c1; member