Lines Matching refs:challenge
425 u8 buf[4], *challenge = chap->c1; in nvme_auth_dhchap_setup_host_response() local
453 challenge = kmalloc(chap->hash_len, GFP_KERNEL); in nvme_auth_dhchap_setup_host_response()
454 if (!challenge) { in nvme_auth_dhchap_setup_host_response()
461 chap->c1, challenge, in nvme_auth_dhchap_setup_host_response()
471 ret = crypto_shash_update(shash, challenge, chap->hash_len); in nvme_auth_dhchap_setup_host_response()
502 if (challenge != chap->c1) in nvme_auth_dhchap_setup_host_response()
503 kfree(challenge); in nvme_auth_dhchap_setup_host_response()
512 u8 buf[4], *challenge = chap->c2; in nvme_auth_dhchap_setup_ctrl_response() local
531 challenge = kmalloc(chap->hash_len, GFP_KERNEL); in nvme_auth_dhchap_setup_ctrl_response()
532 if (!challenge) { in nvme_auth_dhchap_setup_ctrl_response()
539 chap->c2, challenge, in nvme_auth_dhchap_setup_ctrl_response()
547 __func__, chap->qid, (int)chap->hash_len, challenge); in nvme_auth_dhchap_setup_ctrl_response()
556 ret = crypto_shash_update(shash, challenge, chap->hash_len); in nvme_auth_dhchap_setup_ctrl_response()
587 if (challenge != chap->c2) in nvme_auth_dhchap_setup_ctrl_response()
588 kfree(challenge); in nvme_auth_dhchap_setup_ctrl_response()