Lines Matching defs:challenge
320 dev_dbg(ctrl->device, "%s: qid %d ctrl challenge %*ph\n",
422 u8 buf[4], *challenge = chap->c1;
450 challenge = kmalloc(chap->hash_len, GFP_KERNEL);
451 if (!challenge) {
458 chap->c1, challenge,
468 ret = crypto_shash_update(shash, challenge, chap->hash_len);
499 if (challenge != chap->c1)
500 kfree(challenge);
509 u8 buf[4], *challenge = chap->c2;
528 challenge = kmalloc(chap->hash_len, GFP_KERNEL);
529 if (!challenge) {
536 chap->c2, challenge,
543 dev_dbg(ctrl->device, "%s: qid %d challenge %*ph\n",
544 __func__, chap->qid, (int)chap->hash_len, challenge);
553 ret = crypto_shash_update(shash, challenge, chap->hash_len);
584 if (challenge != chap->c2)
585 kfree(challenge);
715 /* DH-HMAC-CHAP Step 2: receive challenge */
716 dev_dbg(ctrl->device, "%s: qid %d receive challenge\n",
724 "qid %d failed to receive challenge, %s %d\n",
739 /* Invalid challenge parameters */