| /freebsd/usr.sbin/ppp/ |
| H A D | pap.c | 83 pap_Req(struct authinfo *authp) in pap_Req() argument 85 struct bundle *bundle = authp->physical->dl->bundle; in pap_Req() 99 lh.id = authp->id; in pap_Req() 109 link_PushPacket(&authp->physical->link, bp, bundle, in pap_Req() 110 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in pap_Req() 114 SendPapCode(struct authinfo *authp, int code, const char *message) in SendPapCode() argument 122 lh.id = authp->id; in SendPapCode() 138 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode() 139 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in SendPapCode() 143 pap_Success(struct authinfo *authp) in pap_Success() argument [all …]
|
| H A D | auth.c | 396 struct authinfo *authp = (struct authinfo *)vauthp; in AuthTimeout() local 398 timer_Stop(&authp->authtimer); in AuthTimeout() 399 if (--authp->retry > 0) { in AuthTimeout() 400 authp->id++; in AuthTimeout() 401 (*authp->fn.req)(authp); in AuthTimeout() 402 timer_Start(&authp->authtimer); in AuthTimeout() 405 datalink_AuthNotOk(authp->physical->dl); in AuthTimeout() 410 auth_Init(struct authinfo *authp, struct physical *p, auth_func req, in auth_Init() argument 413 memset(authp, '\0', sizeof(struct authinfo)); in auth_Init() 414 authp->cfg.fsm.timeout = DEF_FSMRETRY; in auth_Init() [all …]
|
| H A D | chap.c | 487 chap_ChallengeInit(struct authinfo *authp) in chap_ChallengeInit() argument 489 struct chap *chap = auth2chap(authp); in chap_ChallengeInit() 493 len = strlen(authp->physical->dl->bundle->cfg.auth.name); in chap_ChallengeInit() 500 if (*authp->physical->dl->bundle->radius.cfg.file) { in chap_ChallengeInit() 509 if (authp->physical->link.lcp.want_authtype == 0x80) in chap_ChallengeInit() 511 else if (authp->physical->link.lcp.want_authtype == 0x81) in chap_ChallengeInit() 519 memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len); in chap_ChallengeInit() 524 chap_Challenge(struct authinfo *authp) in chap_Challenge() argument 526 struct chap *chap = auth2chap(authp); in chap_Challenge() 530 authp->physical->link.lcp.want_authtype); in chap_Challenge() [all …]
|
| H A D | radius.c | 893 radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name, in radius_Authenticate() argument 947 switch (authp->physical->link.lcp.want_auth) { in radius_Authenticate() 960 switch (authp->physical->link.lcp.want_authtype) { in radius_Authenticate() 1016 authp->physical->link.lcp.want_authtype); in radius_Authenticate() 1025 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IP_ADDRESS) && in radius_Authenticate() 1035 if (Enabled(authp->physical->dl->bundle, OPT_NAS_IDENTIFIER) && in radius_Authenticate() 1051 radius_put_physical_details(r, authp->physical); in radius_Authenticate() 1055 r->cx.auth = authp; in radius_Authenticate()
|
| /freebsd/sys/contrib/openzfs/module/icp/algs/modes/ |
| H A D | ccm.c | 764 uint8_t *mac_buf, *datap, *ivp, *authp; in ccm_init() local 800 authp = (uint8_t *)ctx->ccm_tmp; in ccm_init() 801 memset(authp, 0, block_size); in ccm_init() 802 memcpy(authp, encoded_a, encoded_a_len); in ccm_init() 808 memcpy(authp+encoded_a_len, auth_data, processed); in ccm_init() 810 xor_block(authp, mac_buf); in ccm_init() 824 memset(authp, 0, block_size); in ccm_init() 825 memcpy(authp, &(auth_data[processed]), remainder); in ccm_init() 826 datap = (uint8_t *)authp; in ccm_init()
|
| H A D | gcm.c | 541 uint8_t *ghash, *datap, *authp; in gcm_init() local 553 authp = (uint8_t *)ctx->gcm_tmp; in gcm_init() 555 memset(authp, 0, block_size); in gcm_init() 568 memset(authp, 0, block_size); in gcm_init() 569 memcpy(authp, &(auth_data[processed]), in gcm_init() 575 datap = (uint8_t *)authp; in gcm_init() 1695 uint8_t *authp = (uint8_t *)ctx->gcm_tmp; in gcm_init_avx() local 1697 memset(authp, 0, block_size); in gcm_init_avx() 1698 memcpy(authp, datap, incomp); in gcm_init_avx() 1699 GHASH_AVX(ctx, authp, block_size); in gcm_init_avx()
|
| /freebsd/crypto/krb5/src/lib/krb5/krb/ |
| H A D | rd_req_dec.c | 77 const krb5_authenticator *authp, 908 const krb5_authenticator *authp, in decode_etype_list() argument 921 if (authp->authorization_data == NULL) in decode_etype_list() 928 for (i = 0; authp->authorization_data[i] != NULL; i++) { in decode_etype_list() 929 switch (authp->authorization_data[i]->ad_type) { in decode_etype_list() 933 authp->authorization_data[i], in decode_etype_list() 950 etype_adata = authp->authorization_data[i]; in decode_etype_list()
|
| /freebsd/contrib/tnftp/src/ |
| H A D | fetch.c | 1047 char **authp; in fetch_url() local 1051 authp = &wwwauth; in fetch_url() 1055 authp = &proxyauth; in fetch_url() 1059 if (verbose || *authp == NULL || in fetch_url() 1067 if (*authp != NULL) { in fetch_url() 1081 if (auth_url(auth, authp, auser, apass) == 0) { in fetch_url() 1084 memset(*authp, 0, strlen(*authp)); in fetch_url() 1085 FREEPTR(*authp); in fetch_url()
|
| /freebsd/usr.sbin/ctld/ |
| H A D | login.cc | 338 struct chap *chap, const struct auth **authp, std::string &user) in login_receive_chap_r() argument 388 *authp = auth; in login_receive_chap_r()
|