Lines Matching full:challenge
296 u8 *challenge = req->sq->dhchap_c1; in nvmet_auth_host_hash() local
334 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_host_hash()
335 if (!challenge) { in nvmet_auth_host_hash()
343 challenge, shash_len); in nvmet_auth_host_hash()
362 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_host_hash()
394 if (challenge != req->sq->dhchap_c1) in nvmet_auth_host_hash()
395 kfree(challenge); in nvmet_auth_host_hash()
410 u8 *challenge = req->sq->dhchap_c2; in nvmet_auth_ctrl_hash() local
448 challenge = kmalloc(shash_len, GFP_KERNEL); in nvmet_auth_ctrl_hash()
449 if (!challenge) { in nvmet_auth_ctrl_hash()
457 challenge, shash_len); in nvmet_auth_ctrl_hash()
473 ret = crypto_shash_update(shash, challenge, shash_len); in nvmet_auth_ctrl_hash()
505 if (challenge != req->sq->dhchap_c2) in nvmet_auth_ctrl_hash()
506 kfree(challenge); in nvmet_auth_ctrl_hash()