Lines Matching full:challenge
271 u8 *challenge = req->sq->dhchap_c1, *host_response; in nvmet_auth_host_hash() local
307 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
308 if (!challenge) { in nvmet_auth_host_hash()
316 challenge, shash_len); in nvmet_auth_host_hash()
335 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_host_hash()
367 if (challenge != req->sq->dhchap_c1) in nvmet_auth_host_hash()
368 kfree(challenge); in nvmet_auth_host_hash()
383 u8 *challenge = req->sq->dhchap_c2, *ctrl_response; in nvmet_auth_ctrl_hash() local
420 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash()
421 if (!challenge) { in nvmet_auth_ctrl_hash()
429 challenge, shash_len); in nvmet_auth_ctrl_hash()
445 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_ctrl_hash()
477 if (challenge != req->sq->dhchap_c2) in nvmet_auth_ctrl_hash()
478 kfree(challenge); in nvmet_auth_ctrl_hash()