Lines Matching refs:challenge
270 u8 *challenge = req->sq->dhchap_c1, *host_response; in nvmet_auth_host_hash() local
306 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
307 if (!challenge) { in nvmet_auth_host_hash()
315 challenge, shash_len); in nvmet_auth_host_hash()
334 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_host_hash()
364 if (challenge != req->sq->dhchap_c1) in nvmet_auth_host_hash()
365 kfree(challenge); in nvmet_auth_host_hash()
381 u8 *challenge = req->sq->dhchap_c2, *ctrl_response; in nvmet_auth_ctrl_hash() local
418 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash()
419 if (!challenge) { in nvmet_auth_ctrl_hash()
427 challenge, shash_len); in nvmet_auth_ctrl_hash()
443 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_ctrl_hash()
473 if (challenge != req->sq->dhchap_c2) in nvmet_auth_ctrl_hash()
474 kfree(challenge); in nvmet_auth_ctrl_hash()