Home
last modified time | relevance | path

Searched refs:chall (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/usr.sbin/radiusd/
H A Dradiusd_eap2mschap.c346 struct eap_mschap_challenge *chall; in eap_recv()
353 arc4random_buf(req->chall, sizeof(req->chall)); in eap_recv()
366 chall = (struct eap_mschap_challenge *)buf; in eap_recv()
367 chall->eap.code = EAP_CODE_REQUEST; in eap_recv()
368 chall->eap.id = ++req->eap_id; in eap_recv()
369 chall->eap.length = htons(msgsiz); in eap_recv()
370 chall->eap_type = EAP_TYPE_MSCHAPV2; in eap_recv()
371 chall->chap.code = CHAP_CHALLENGE; in eap_recv()
372 chall in eap_recv()
333 struct eap_mschap_challenge *chall; eap_recv() local
[all...]
H A Dradiusd_file.c435 u_char chall[256], idpass[17], digest[16]; in auth_md5chap()
445 challlen = sizeof(chall); in auth_md5chap()
446 if (radius_get_raw_attr(radpkt, RADIUS_TYPE_CHAP_CHALLENGE, chall, in auth_md5chap()
454 MD5Update(&md5, chall, challlen); in auth_md5chap()
479 uint8_t chall[MSCHAPV2_CHALLENGE_SZ]; in auth_mschapv2()
501 attrlen = sizeof(chall); in auth_mschapv2()
503 RADIUS_VTYPE_MS_CHAP_CHALLENGE, chall, &attrlen) != 0) { in auth_mschapv2()
526 mschap_nt_response(chall, resp.peerchall, in auth_mschapv2()
551 mschap_auth_response(pass, lpass * 2, ntresponse, chall, in auth_mschapv2()
429 u_char chall[256], idpass[17], digest[16]; auth_md5chap() local
473 uint8_t chall[MSCHAPV2_CHALLENGE_SZ]; auth_mschapv2() local
H A Deap2mschap_local.h70 uint8_t chall[16]; member
76 static_assert(offsetof(struct eap_mschap_challenge, chall) == 10, "");
119 char chall[16]; member
/openbsd-src/usr.sbin/npppd/npppd/
H A Dchap.c212 memcpy(challp, &_this->chall, _this->lchall); in chap_start()
400 _this->name, _this->chall, _this->lchall, response); in chap_authenticate()
409 _this->name, _this->chall, _this->lchall, in chap_authenticate()
416 _this->chall, _this->lchall, response); in chap_authenticate()
471 arc4random_buf(_this->chall, _this->lchall); in chap_create_challenge()
501 if (dpi->lauth_chall >= sizeof(_this->chall)) { in chap_proxy_authen_prepare()
522 memcpy(_this->chall, dpi->auth_chall, dpi->lauth_chall); in chap_proxy_authen_prepare()
584 challenge = _this->chall; in chap_send_error()
604 challenge = _this->chall; in mschapv2_send_error()
H A Dppp.h296 u_char chall[MAX_CHALLENGE_LENGTH]; member
/openbsd-src/usr.bin/ssh/
H A Dssh-ecdsa-sk.c158 struct sshbuf *chall = NULL, *m = NULL; in webauthn_check_prepare_hash() local
161 (chall = sshbuf_from(data, datalen)) == NULL) { in webauthn_check_prepare_hash()
186 (r = sshbuf_dtourlb64(chall, m, 0)) != 0 || in webauthn_check_prepare_hash()
210 sshbuf_free(chall); in webauthn_check_prepare_hash()
/openbsd-src/usr.bin/ssh/sshd-session/
H A DMakefile7 serverloop.c auth.c auth2.c auth-options.c session.c auth2-chall.c \