Lines Matching refs:challenge
281 u8 *challenge = req->sq->dhchap_c1; in nvmet_auth_host_hash() local
319 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
320 if (!challenge) { in nvmet_auth_host_hash()
328 challenge, shash_len); in nvmet_auth_host_hash()
347 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_host_hash()
379 if (challenge != req->sq->dhchap_c1) in nvmet_auth_host_hash()
380 kfree(challenge); in nvmet_auth_host_hash()
395 u8 *challenge = req->sq->dhchap_c2; in nvmet_auth_ctrl_hash() local
433 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash()
434 if (!challenge) { in nvmet_auth_ctrl_hash()
442 challenge, shash_len); in nvmet_auth_ctrl_hash()
458 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_ctrl_hash()
490 if (challenge != req->sq->dhchap_c2) in nvmet_auth_ctrl_hash()
491 kfree(challenge); in nvmet_auth_ctrl_hash()