Lines Matching refs:challenge
320 dev_dbg(ctrl->device, "%s: qid %d ctrl challenge %*ph\n",
425 u8 buf[4], *challenge = chap->c1;
453 challenge = kmalloc(chap->hash_len, GFP_KERNEL);
454 if (!challenge) {
461 chap->c1, challenge,
471 ret = crypto_shash_update(shash, challenge, chap->hash_len);
502 if (challenge != chap->c1)
503 kfree(challenge);
512 u8 buf[4], *challenge = chap->c2;
531 challenge = kmalloc(chap->hash_len, GFP_KERNEL);
532 if (!challenge) {
539 chap->c2, challenge,
546 dev_dbg(ctrl->device, "%s: qid %d challenge %*ph\n",
547 __func__, chap->qid, (int)chap->hash_len, challenge);
556 ret = crypto_shash_update(shash, challenge, chap->hash_len);
587 if (challenge != chap->c2)
588 kfree(challenge);
717 /* DH-HMAC-CHAP Step 2: receive challenge */
718 dev_dbg(ctrl->device, "%s: qid %d receive challenge\n",
726 "qid %d failed to receive challenge, %s %d\n",
741 /* Invalid challenge parameters */