Lines Matching refs:challenge
438 u8 buf[4], *challenge = chap->c1; in nvme_auth_dhchap_setup_host_response() local
466 challenge = kmalloc(chap->hash_len, GFP_KERNEL); in nvme_auth_dhchap_setup_host_response()
467 if (!challenge) { in nvme_auth_dhchap_setup_host_response()
474 chap->c1, challenge, in nvme_auth_dhchap_setup_host_response()
484 ret = crypto_shash_update(shash, challenge, chap->hash_len); in nvme_auth_dhchap_setup_host_response()
516 if (challenge != chap->c1) in nvme_auth_dhchap_setup_host_response()
517 kfree(challenge); in nvme_auth_dhchap_setup_host_response()
526 u8 buf[4], *challenge = chap->c2; in nvme_auth_dhchap_setup_ctrl_response() local
545 challenge = kmalloc(chap->hash_len, GFP_KERNEL); in nvme_auth_dhchap_setup_ctrl_response()
546 if (!challenge) { in nvme_auth_dhchap_setup_ctrl_response()
553 chap->c2, challenge, in nvme_auth_dhchap_setup_ctrl_response()
561 __func__, chap->qid, (int)chap->hash_len, challenge); in nvme_auth_dhchap_setup_ctrl_response()
570 ret = crypto_shash_update(shash, challenge, chap->hash_len); in nvme_auth_dhchap_setup_ctrl_response()
601 if (challenge != chap->c2) in nvme_auth_dhchap_setup_ctrl_response()
602 kfree(challenge); in nvme_auth_dhchap_setup_ctrl_response()