Symbol: auth
crypto/libressl/ssl/ssl_ciph.c
640
ssl_cipher_get_disabled(unsigned long *mkey, unsigned long *auth,
crypto/libressl/ssl/ssl_ciph.c
644
*auth = 0;
crypto/libressl/ssl/ssl_ciph.c
655
*auth |= SSL_aGOST01;
crypto/openssh/sshkey-xmss.c
172
(state->auth = calloc(num_auth(state), 1)) == NULL ||
crypto/openssh/sshkey-xmss.c
184
state->stacklevels, state->auth, state->keep, state->treehash,
crypto/openssh/sshkey-xmss.c
198
free(state->auth);
crypto/openssh/sshkey-xmss.c
205
state->auth = NULL;
crypto/openssh/sshkey-xmss.c
509
if (state->bds.auth == NULL)
crypto/openssh/sshkey-xmss.c
63
u_char *auth;
crypto/openssh/sshkey-xmss.c
695
(r = sshbuf_put_string(b, state->auth, num_auth(state))) != 0 ||
crypto/openssh/sshkey-xmss.c
793
(r = sshbuf_get_string(b, &state->auth, &la)) != 0 ||
crypto/openssh/sshkey-xmss.c
827
state->stacklevels, state->auth, state->keep, state->treehash,
crypto/openssh/xmss_fast.c
225
memcpy(state->auth + nodeh*n, stack+(stackoffset-1)*n, n);
crypto/openssh/xmss_fast.c
420
memcpy(state->auth + nodeh*n, state->stack+(state->stackoffset-1)*n, n);
crypto/openssh/xmss_fast.c
478
memcpy(buf, state->auth + (tau-1) * n, n);
crypto/openssh/xmss_fast.c
483
memcpy(state->keep + (tau >> 1)*n, state->auth + tau*n, n);
crypto/openssh/xmss_fast.c
488
gen_leaf_wots(state->auth, sk_seed, params, pub_seed, ltree_addr, ots_addr);
crypto/openssh/xmss_fast.c
493
hash_h(state->auth + tau * n, buf, pub_seed, node_addr, n);
crypto/openssh/xmss_fast.c
496
memcpy(state->auth + i * n, state->treehash[i].node, n);
crypto/openssh/xmss_fast.c
501
memcpy(state->auth + i * n, state->retain + (offset + rowidx) * n, n);
crypto/openssh/xmss_fast.c
638
memcpy(sig_msg, state->auth, h*n);
crypto/openssh/xmss_fast.c
72
void xmss_set_bds_state(bds_state *state, unsigned char *stack, int stackoffset, unsigned char *stacklevels, unsigned char *auth, unsigned char *keep, treehash_inst *treehash, unsigned char *retain, int next_leaf)
crypto/openssh/xmss_fast.c
77
state->auth = auth;
crypto/openssh/xmss_fast.c
889
memcpy(sig_msg, states[0].auth, tree_h*n);
crypto/openssh/xmss_fast.c
902
memcpy(sig_msg, states[i].auth, tree_h*n);
crypto/openssh/xmss_fast.h
47
unsigned char *auth;
crypto/openssh/xmss_fast.h
58
void xmss_set_bds_state(bds_state *state, unsigned char *stack, int stackoffset, unsigned char *stacklevels, unsigned char *auth, unsigned char *keep, treehash_inst *treehash, unsigned char *retain, int next_leaf);
include/rpc/auth.h
203
#define AUTH_NEXTVERF(auth) \
include/rpc/auth.h
204
((*((auth)->ah_ops->ah_nextverf))(auth))
include/rpc/auth.h
205
#define auth_nextverf(auth) \
include/rpc/auth.h
206
((*((auth)->ah_ops->ah_nextverf))(auth))
include/rpc/auth.h
208
#define AUTH_MARSHALL(auth, xdrs) \
include/rpc/auth.h
209
((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
include/rpc/auth.h
210
#define auth_marshall(auth, xdrs) \
include/rpc/auth.h
211
((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
include/rpc/auth.h
213
#define AUTH_VALIDATE(auth, verfp) \
include/rpc/auth.h
214
((*((auth)->ah_ops->ah_validate))((auth), verfp))
include/rpc/auth.h
215
#define auth_validate(auth, verfp) \
include/rpc/auth.h
216
((*((auth)->ah_ops->ah_validate))((auth), verfp))
include/rpc/auth.h
218
#define AUTH_REFRESH(auth, msg) \
include/rpc/auth.h
219
((*((auth)->ah_ops->ah_refresh))(auth, msg))
include/rpc/auth.h
220
#define auth_refresh(auth, msg) \
include/rpc/auth.h
221
((*((auth)->ah_ops->ah_refresh))(auth, msg))
include/rpc/auth.h
223
#define AUTH_DESTROY(auth) \
include/rpc/auth.h
224
((*((auth)->ah_ops->ah_destroy))(auth))
include/rpc/auth.h
225
#define auth_destroy(auth) \
include/rpc/auth.h
226
((*((auth)->ah_ops->ah_destroy))(auth))
lib/libc/rpc/auth_des.c
153
AUTH *auth;
lib/libc/rpc/auth_des.c
160
auth = ALLOC(AUTH);
lib/libc/rpc/auth_des.c
161
if (auth == NULL) {
lib/libc/rpc/auth_des.c
207
if (key_gendes(&auth->ah_key) < 0) {
lib/libc/rpc/auth_des.c
213
auth->ah_key = *ckey;
lib/libc/rpc/auth_des.c
219
auth->ah_cred.oa_flavor = AUTH_DES;
lib/libc/rpc/auth_des.c
220
auth->ah_verf.oa_flavor = AUTH_DES;
lib/libc/rpc/auth_des.c
221
auth->ah_ops = authdes_ops();
lib/libc/rpc/auth_des.c
222
auth->ah_private = (caddr_t)ad;
lib/libc/rpc/auth_des.c
224
if (!authdes_refresh(auth, NULL)) {
lib/libc/rpc/auth_des.c
228
return (auth);
lib/libc/rpc/auth_des.c
231
if (auth)
lib/libc/rpc/auth_des.c
232
FREE(auth, sizeof (AUTH));
lib/libc/rpc/auth_des.c
259
authdes_nextverf(AUTH *auth __unused)
lib/libc/rpc/auth_des.c
269
authdes_marshal(AUTH *auth, XDR *xdrs)
lib/libc/rpc/auth_des.c
272
struct ad_private *ad = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_des.c
304
status = cbc_crypt((char *)&auth->ah_key, (char *)cryptbuf,
lib/libc/rpc/auth_des.c
308
status = ecb_crypt((char *)&auth->ah_key, (char *)cryptbuf,
lib/libc/rpc/auth_des.c
339
ATTEMPT(xdr_putint32(xdrs, (int *)&auth->ah_cred.oa_flavor));
lib/libc/rpc/auth_des.c
349
ATTEMPT(xdr_putint32(xdrs, (int *)&auth->ah_verf.oa_flavor));
lib/libc/rpc/auth_des.c
361
authdes_validate(AUTH *auth, struct opaque_auth *rverf)
lib/libc/rpc/auth_des.c
364
struct ad_private *ad = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_des.c
382
status = ecb_crypt((char *)&auth->ah_key, (char *)&buf,
lib/libc/rpc/auth_des.c
420
authdes_refresh(AUTH *auth, void *dummy __unused)
lib/libc/rpc/auth_des.c
423
struct ad_private *ad = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_des.c
441
ad->ad_xkey = auth->ah_key;
lib/libc/rpc/auth_des.c
460
authdes_destroy(AUTH *auth)
lib/libc/rpc/auth_des.c
463
struct ad_private *ad = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_des.c
474
FREE(auth, sizeof(AUTH));
lib/libc/rpc/auth_des.c
61
#define AUTH_PRIVATE(auth) (struct ad_private *) auth->ah_private
lib/libc/rpc/auth_unix.c
103
auth = mem_alloc(sizeof(*auth));
lib/libc/rpc/auth_unix.c
105
if (auth == NULL) {
lib/libc/rpc/auth_unix.c
117
auth->ah_ops = authunix_ops();
lib/libc/rpc/auth_unix.c
118
auth->ah_private = (caddr_t)au;
lib/libc/rpc/auth_unix.c
119
auth->ah_verf = au->au_shcred = _null_auth;
lib/libc/rpc/auth_unix.c
155
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
156
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
157
return (auth);
lib/libc/rpc/auth_unix.c
160
if (auth)
lib/libc/rpc/auth_unix.c
161
mem_free(auth, sizeof(*auth));
lib/libc/rpc/auth_unix.c
204
authunix_nextverf(AUTH *auth __unused)
lib/libc/rpc/auth_unix.c
210
authunix_marshal(AUTH *auth, XDR *xdrs)
lib/libc/rpc/auth_unix.c
214
assert(auth != NULL);
lib/libc/rpc/auth_unix.c
217
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
222
authunix_validate(AUTH *auth, struct opaque_auth *verf)
lib/libc/rpc/auth_unix.c
227
assert(auth != NULL);
lib/libc/rpc/auth_unix.c
231
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
241
auth->ah_cred = au->au_shcred;
lib/libc/rpc/auth_unix.c
246
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
248
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
254
authunix_refresh(AUTH *auth, void *dummy __unused)
lib/libc/rpc/auth_unix.c
256
struct audata *au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
262
assert(auth != NULL);
lib/libc/rpc/auth_unix.c
264
if (auth->ah_cred.oa_base == au->au_origcred.oa_base) {
lib/libc/rpc/auth_unix.c
287
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
288
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
298
authunix_destroy(AUTH *auth)
lib/libc/rpc/auth_unix.c
302
assert(auth != NULL);
lib/libc/rpc/auth_unix.c
304
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
310
mem_free(auth->ah_private, sizeof(struct audata));
lib/libc/rpc/auth_unix.c
312
if (auth->ah_verf.oa_base != NULL)
lib/libc/rpc/auth_unix.c
313
mem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length);
lib/libc/rpc/auth_unix.c
315
mem_free(auth, sizeof(*auth));
lib/libc/rpc/auth_unix.c
323
marshal_new_auth(AUTH *auth)
lib/libc/rpc/auth_unix.c
329
assert(auth != NULL);
lib/libc/rpc/auth_unix.c
331
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
333
if ((! xdr_opaque_auth(xdrs, &(auth->ah_cred))) ||
lib/libc/rpc/auth_unix.c
334
(! xdr_opaque_auth(xdrs, &(auth->ah_verf))))
lib/libc/rpc/auth_unix.c
83
#define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private)
lib/libc/rpc/auth_unix.c
96
AUTH *auth;
lib/libfetch/http.c
1312
char *upw, *auth;
lib/libfetch/http.c
1319
auth = http_base64(upw);
lib/libfetch/http.c
1321
if (auth == NULL)
lib/libfetch/http.c
1323
r = http_cmd(conn, "%s: Basic %s", hdr, auth);
lib/libfetch/http.c
1324
free(auth);
lib/libtelnet/kerberos5.c
251
&cksum_data, ccache, &auth);
lib/libtelnet/kerberos5.c
269
if (!Data(ap, KRB_AUTH, auth.data, auth.length)) {
lib/libtelnet/kerberos5.c
306
auth.data = (char *)data;
lib/libtelnet/kerberos5.c
307
auth.length = cnt;
lib/libtelnet/kerberos5.c
351
&auth,
lib/libtelnet/kerberos5.c
91
static krb5_data auth;
lib/libtelnet/krb4encpwd.c
201
memmove((void *)auth.dat, (void *)data, auth.length = cnt);
lib/libtelnet/krb4encpwd.c
206
if (r = krb_rd_encpwd_req(&auth, KRB_SERVICE_NAME, lhostname, 0, &adat, NULL, challenge, r_user, r_passwd)) {
lib/libtelnet/krb4encpwd.c
98
static KTEXT_ST auth;
lib/libtelnet/rsaencpwd.c
198
memmove((void *)auth.dat, (void *)data, auth.length = cnt);
lib/libtelnet/rsaencpwd.c
214
r = accept_rsa_encpwd(&auth, key, challenge,
lib/libtelnet/rsaencpwd.c
95
static KTEXT_ST auth;
lib/libutil/login_cap.c
779
login_getstyle(login_cap_t *lc, const char *style, const char *auth)
lib/libutil/login_cap.c
788
if (auth != NULL && *auth != '\0') {
lib/libutil/login_cap.c
789
if (snprintf(realauth, sizeof realauth, "auth-%s", auth) < (int)sizeof(realauth))
libexec/dma/dma.h
171
struct smtp_auth_mechanisms auth;
libexec/dma/net.c
258
if (features->auth.cram_md5) {
libexec/dma/net.c
272
if (features->auth.login) {
libexec/dma/net.c
359
static void parse_auth_line(char* line, struct smtp_auth_mechanisms* auth) {
libexec/dma/net.c
366
auth->cram_md5 = 1;
libexec/dma/net.c
369
auth->login = 1;
libexec/dma/net.c
441
parse_auth_line(line, &features->auth);
libexec/dma/net.c
453
if (features->auth.cram_md5) {
libexec/dma/net.c
456
if (features->auth.login) {
sbin/mount_nfs/mount_nfs.c
157
long auth;
sbin/mount_nfs/mount_nfs.c
712
nfhret.auth = RPCAUTH_UNIX;
sbin/mount_nfs/mount_nfs.c
856
long auth, authcnt, authfnd = 0;
sbin/mount_nfs/mount_nfs.c
876
if (!xdr_long(xdrsp, &auth))
sbin/mount_nfs/mount_nfs.c
878
if (auth == np->auth)
sbin/mount_nfs/mount_nfs.c
885
if (!authfnd && (authcnt > 0 || np->auth != RPCAUTH_UNIX))
sbin/mountd/mountd.c
957
long ok = 0, len, auth;
sbin/mountd/mountd.c
970
auth = RPCAUTH_UNIX;
sbin/mountd/mountd.c
974
return (xdr_long(xdrsp, &auth));
sbin/routed/defs.h
376
struct auth parm_auth[MAX_AUTH_KEYS];
sbin/routed/defs.h
485
extern void clr_ws_buf(struct ws_buf *, struct auth *);
sbin/routed/defs.h
610
extern struct auth *find_auth(struct interface *);
sbin/routed/defs.h
611
extern void end_md5_auth(struct ws_buf *, struct auth *);
sbin/routed/input.c
142
struct auth *ap;
sbin/routed/input.c
915
struct auth *ap;
sbin/routed/output.c
207
struct auth *
sbin/routed/output.c
210
struct auth *ap, *res;
sbin/routed/output.c
245
struct auth *ap)
sbin/routed/output.c
279
struct auth *ap)
sbin/routed/output.c
47
struct auth *a;
sbin/routed/parms.c
482
struct auth k, *ap, *ap2;
stand/lib/rpc.c
121
struct auth_info *auth;
stand/lib/rpc.c
149
send_head -= sizeof(*auth);
stand/lib/rpc.c
150
auth = (struct auth_info *)send_head;
stand/lib/rpc.c
151
auth->authtype = htonl(RPCAUTH_NULL);
stand/lib/rpc.c
152
auth->authlen = 0;
stand/lib/rpc.c
158
send_head -= sizeof(*auth);
stand/lib/rpc.c
159
auth = (struct auth_info *)send_head;
stand/lib/rpc.c
160
auth->authtype = htonl(RPCAUTH_UNIX);
stand/lib/rpc.c
161
auth->authlen = htonl(sizeof(struct auth_unix));
stand/lib/rpc.c
164
send_head -= sizeof(*auth);
stand/lib/rpc.c
165
auth = send_head;
stand/lib/rpc.c
166
auth->authtype = htonl(RPCAUTH_NULL);
stand/lib/rpc.c
167
auth->authlen = 0;
stand/lib/rpc.c
209
auth = &reply->rp_u.rpu_rok.rok_auth;
stand/lib/rpc.c
210
x = ntohl(auth->authlen);
sys/dev/drm/drm_auth.c
60
struct drm_auth *auth = data;
sys/dev/drm/drm_auth.c
70
auth->magic = file_priv->magic;
sys/dev/drm/drm_auth.c
73
DRM_DEBUG("%u\n", auth->magic);
sys/dev/drm/drm_auth.c
81
struct drm_auth *auth = data;
sys/dev/drm/drm_auth.c
84
DRM_DEBUG("%u\n", auth->magic);
sys/dev/drm/drm_auth.c
87
file = idr_find(&file_priv->master->magic_map, auth->magic);
sys/dev/drm/drm_auth.c
90
idr_replace(&file_priv->master->magic_map, NULL, auth->magic);
sys/dev/drm/drm_ioctl.c
193
client->auth = file_priv->authenticated;
sys/dev/drm/include/uapi/drm/drm.h
232
int auth; /**< Is client authenticated? */
sys/dev/drm/radeon/r100.c
1377
const unsigned *auth, unsigned n,
sys/dev/drm/radeon/r100.c
1403
if (auth[j] & m) {
sys/dev/drm/radeon/r100.c
1410
if (!(auth[j] & m)) {
sys/dev/drm/radeon/radeon_asic.h
126
const unsigned *auth, unsigned n,
sys/dev/netif/iwi/if_iwi.c
1461
struct iwi_notif_authentication *auth;
sys/dev/netif/iwi/if_iwi.c
1503
auth = (struct iwi_notif_authentication *)(notif + 1);
sys/dev/netif/iwi/if_iwi.c
1504
switch (auth->state) {
sys/dev/netif/iwi/if_iwi.c
1539
"unknown authentication state %u\n", auth->state);
sys/dev/netif/iwi/if_iwi.c
3005
assoc->auth = IWI_AUTH_SHARED;
sys/dev/netif/iwi/if_iwi.c
3013
assoc->auth |= vap->iv_def_txkey << 4;
sys/dev/netif/iwi/if_iwi.c
3053
assoc->chan, le16toh(assoc->policy), assoc->auth,
sys/dev/netif/iwi/if_iwi.c
3061
assoc->chan, le16toh(assoc->policy), assoc->auth,
sys/dev/netif/iwi/if_iwireg.h
431
uint8_t auth; /* type and key */
sys/netinet6/nd6_rtr.c
1042
if (auth) {
sys/netinet6/nd6_rtr.c
862
int auth;
sys/netinet6/nd6_rtr.c
865
auth = 0;
sys/netinet6/nd6_rtr.c
873
auth = ((m->m_flags & M_AUTHIPHDR) &&
sys/netproto/802_11/ieee80211_dragonfly.h
334
_IEEE80211_POLICY_MODULE(auth, name, version)
sys/netproto/802_11/ieee80211_proto.h
238
const struct ieee80211_authenticator *ieee80211_authenticator_get(int auth);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
2661
const struct ieee80211_authenticator *auth;
sys/netproto/802_11/wlan/ieee80211_ioctl.c
2744
auth = ieee80211_authenticator_get(ireq->i_val);
sys/netproto/802_11/wlan/ieee80211_ioctl.c
2745
if (auth == NULL)
sys/netproto/802_11/wlan/ieee80211_ioctl.c
2774
vap->iv_auth = auth;
sys/netproto/802_11/wlan/ieee80211_proto.c
468
ieee80211_authenticator_get(int auth)
sys/netproto/802_11/wlan/ieee80211_proto.c
470
if (auth >= IEEE80211_AUTH_MAX)
sys/netproto/802_11/wlan/ieee80211_proto.c
472
if (authenticators[auth] == NULL)
sys/netproto/802_11/wlan/ieee80211_proto.c
473
ieee80211_load_module(auth_modnames[auth]);
sys/netproto/802_11/wlan/ieee80211_proto.c
474
return authenticators[auth];
sys/netproto/802_11/wlan/ieee80211_proto.c
479
const struct ieee80211_authenticator *auth)
sys/netproto/802_11/wlan/ieee80211_proto.c
483
authenticators[type] = auth;
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
320
uint8_t auth[AES_BLOCK_LEN], uint8_t s0[AES_BLOCK_LEN])
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
399
rijndael_encrypt(ctx, b0, auth);
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
400
xor_block(auth, aad, AES_BLOCK_LEN);
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
401
rijndael_encrypt(ctx, auth, auth);
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
402
xor_block(auth, &aad[AES_BLOCK_LEN], AES_BLOCK_LEN);
sys/netproto/802_11/wlan_ccmp/ieee80211_crypto_ccmp.c
403
rijndael_encrypt(ctx, auth, auth);
tools/tools/net80211/stumbler/stumbler.c
605
int cipher, auth;
tools/tools/net80211/stumbler/stumbler.c
625
auth = *ptr;
tools/tools/net80211/stumbler/stumbler.c
630
if (auth == WPA_ASE_8021X_PSK)
tools/tools/net80211/stumbler/stumbler.c
637
if (auth == WPA_ASE_8021X_PSK)
usr.sbin/ppp/auth.c
81
Auth2Nam(u_short auth, u_char type)
usr.sbin/ppp/auth.c
85
switch (auth) {
usr.sbin/ppp/bundle.c
1080
arg->bundle->cfg.auth.name);
usr.sbin/ppp/bundle.c
828
*bundle.cfg.auth.name = '\0';
usr.sbin/ppp/bundle.c
829
*bundle.cfg.auth.key = '\0';
usr.sbin/ppp/bundle.h
107
} auth;
usr.sbin/ppp/chap.c
320
chap->auth.physical->dl->bundle, 0, pid);
usr.sbin/ppp/chap.c
330
write(in[1], chap->auth.in.name, strlen(chap->auth.in.name));
usr.sbin/ppp/chap.c
376
ans = chap_BuildAnswer(name, key, chap->auth.id, chap->challenge.peer
usr.sbin/ppp/chap.c
383
ChapOutput(chap->auth.physical, CHAP_RESPONSE, chap->auth.id,
usr.sbin/ppp/chap.c
391
ChapOutput(chap->auth.physical, CHAP_FAILURE, chap->auth.id,
usr.sbin/ppp/chap.c
454
int lanman = chap->auth.physical->link.lcp.his_authtype == 0x80 &&
usr.sbin/ppp/chap.c
456
IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) ||
usr.sbin/ppp/chap.c
457
!IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt));
usr.sbin/ppp/chap.c
469
, chap->auth.physical->link.lcp.his_authtype, lanman
usr.sbin/ppp/chap.c
493
len = strlen(authp->physical->dl->bundle->cfg.auth.name);
usr.sbin/ppp/chap.c
519
memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len);
usr.sbin/ppp/chap.c
532
len = strlen(authp->physical->dl->bundle->cfg.auth.name);
usr.sbin/ppp/chap.c
655
chap_Challenge(&chap->auth);
usr.sbin/ppp/chap.c
673
auth_Init(&chap->auth, p, chap_Challenge, chap_Success, chap_Failure);
usr.sbin/ppp/chap.c
714
if ((bp = auth_ReadHeader(&chap->auth, bp)) == NULL &&
usr.sbin/ppp/chap.c
715
ntohs(chap->auth.in.hdr.length) == 0)
usr.sbin/ppp/chap.c
717
else if (chap->auth.in.hdr.code == 0 || chap->auth.in.hdr.code > MAXCHAPCODE)
usr.sbin/ppp/chap.c
719
chap->auth.in.hdr.code);
usr.sbin/ppp/chap.c
724
if (chap->auth.in.hdr.code != CHAP_CHALLENGE &&
usr.sbin/ppp/chap.c
725
chap->auth.id != chap->auth.in.hdr.id &&
usr.sbin/ppp/chap.c
729
chapcodes[chap->auth.in.hdr.code], chap->auth.in.hdr.id,
usr.sbin/ppp/chap.c
730
chap->auth.id);
usr.sbin/ppp/chap.c
734
chap->auth.id = chap->auth.in.hdr.id; /* We respond with this id */
usr.sbin/ppp/chap.c
739
switch (chap->auth.in.hdr.code) {
usr.sbin/ppp/chap.c
750
bp = auth_ReadName(&chap->auth, bp, len);
usr.sbin/ppp/chap.c
757
chap_ChallengeInit(&chap->auth);
usr.sbin/ppp/chap.c
762
auth_StopTimer(&chap->auth);
usr.sbin/ppp/chap.c
775
*ans = chap->auth.id;
usr.sbin/ppp/chap.c
777
bp = auth_ReadName(&chap->auth, bp, len);
usr.sbin/ppp/chap.c
797
switch (chap->auth.in.hdr.code) {
usr.sbin/ppp/chap.c
800
if (*chap->auth.in.name)
usr.sbin/ppp/chap.c
802
chapcodes[chap->auth.in.hdr.code], alen,
usr.sbin/ppp/chap.c
803
chap->auth.in.name,
usr.sbin/ppp/chap.c
805
lanman && chap->auth.in.hdr.code == CHAP_RESPONSE ?
usr.sbin/ppp/chap.c
811
chapcodes[chap->auth.in.hdr.code], alen,
usr.sbin/ppp/chap.c
813
lanman && chap->auth.in.hdr.code == CHAP_RESPONSE ?
usr.sbin/ppp/chap.c
823
chapcodes[chap->auth.in.hdr.code], ans);
usr.sbin/ppp/chap.c
826
chapcodes[chap->auth.in.hdr.code]);
usr.sbin/ppp/chap.c
830
switch (chap->auth.in.hdr.code) {
usr.sbin/ppp/chap.c
832
if (*bundle->cfg.auth.key == '!' && bundle->cfg.auth.key[1] != '!')
usr.sbin/ppp/chap.c
833
chap_StartChild(chap, bundle->cfg.auth.key + 1,
usr.sbin/ppp/chap.c
834
bundle->cfg.auth.name);
usr.sbin/ppp/chap.c
836
chap_Respond(chap, bundle->cfg.auth.name, bundle->cfg.auth.key +
usr.sbin/ppp/chap.c
837
(*bundle->cfg.auth.key == '!' ? 1 : 0)
usr.sbin/ppp/chap.c
846
name = chap->auth.in.name;
usr.sbin/ppp/chap.c
860
if (!radius_Authenticate(&bundle->radius, &chap->auth,
usr.sbin/ppp/chap.c
861
chap->auth.in.name, ans, alen + 1,
usr.sbin/ppp/chap.c
864
chap_Failure(&chap->auth);
usr.sbin/ppp/chap.c
898
char *myans = chap_BuildAnswer(name, key, chap->auth.id,
usr.sbin/ppp/chap.c
923
chap_Success(&chap->auth);
usr.sbin/ppp/chap.c
925
chap_Failure(&chap->auth);
usr.sbin/ppp/chap.h
49
struct authinfo auth;
usr.sbin/ppp/chap.h
64
((struct chap *)((char *)a - (uintptr_t)&((struct chap *)0)->auth))
usr.sbin/ppp/chat.c
658
strncpy(result, c->physical->dl->bundle->cfg.auth.key, reslen);
usr.sbin/ppp/chat.c
672
strncpy(result, c->physical->dl->bundle->cfg.auth.name, reslen);
usr.sbin/ppp/command.c
1068
else if (cmd && (!prompt || (cmd->lauth & prompt->auth))) {
usr.sbin/ppp/command.c
1246
(arg->prompt->auth & LOCAL_AUTH)))
usr.sbin/ppp/command.c
1650
strncpy(arg->bundle->cfg.auth.key, argp,
usr.sbin/ppp/command.c
1651
sizeof arg->bundle->cfg.auth.key - 1);
usr.sbin/ppp/command.c
1652
arg->bundle->cfg.auth.key[sizeof arg->bundle->cfg.auth.key - 1] = '\0';
usr.sbin/ppp/command.c
1663
strncpy(arg->bundle->cfg.auth.name, argp,
usr.sbin/ppp/command.c
1664
sizeof arg->bundle->cfg.auth.name - 1);
usr.sbin/ppp/command.c
1665
arg->bundle->cfg.auth.name[sizeof arg->bundle->cfg.auth.name-1] = '\0';
usr.sbin/ppp/command.c
2035
&cx->chap.auth.cfg.fsm.timeout,
usr.sbin/ppp/command.c
2036
&cx->chap.auth.cfg.fsm.maxreq, NULL, DEF_FSMAUTHTRIES);
usr.sbin/ppp/command.c
217
if ((cmd->lauth & arg->prompt->auth) &&
usr.sbin/ppp/command.c
228
if (cmd->name && (cmd->lauth & arg->prompt->auth)) {
usr.sbin/ppp/command.c
240
if (cmd->name && (cmd->lauth & arg->prompt->auth)) {
usr.sbin/ppp/command.c
528
nargv[arg] = subst(nargv[arg], "AUTHNAME", bundle->cfg.auth.name);
usr.sbin/ppp/datalink.c
1363
copy = dl->chap.auth.cfg.fsm;
usr.sbin/ppp/datalink.c
1365
dl->chap.auth.cfg.fsm = copy;
usr.sbin/ppp/datalink.c
1391
timer_Stop(&dl->chap.auth.authtimer);
usr.sbin/ppp/datalink.c
588
auth_StartReq(&dl->chap.auth);
usr.sbin/ppp/datalink.c
599
auth_StopTimer(&dl->chap.auth);
usr.sbin/ppp/datalink.c
769
timer_Stop(&dl->chap.auth.authtimer);
usr.sbin/ppp/datalink.c
913
dl->chap.auth.cfg = odl->chap.auth.cfg;
usr.sbin/ppp/pap.c
105
memcpy(cp, bundle->cfg.auth.name, namelen);
usr.sbin/ppp/pap.c
108
memcpy(cp, bundle->cfg.auth.key, keylen);
usr.sbin/ppp/pap.c
91
namelen = strlen(bundle->cfg.auth.name);
usr.sbin/ppp/pap.c
92
keylen = strlen(bundle->cfg.auth.key);
usr.sbin/ppp/pap.c
95
log_Printf(LogPHASE, "Pap Output: %s ********\n", bundle->cfg.auth.name);
usr.sbin/ppp/pap.c
96
if (*bundle->cfg.auth.name == '\0')
usr.sbin/ppp/prompt.c
100
if (p->auth == LOCAL_AUTH)
usr.sbin/ppp/prompt.c
334
p->auth = LOCAL_AUTH;
usr.sbin/ppp/prompt.c
343
p->auth = *s->cfg.passwd ? LOCAL_NO_AUTH : LOCAL_AUTH;
usr.sbin/ppp/prompt.c
532
arg->prompt->auth = LOCAL_AUTH;
usr.sbin/ppp/prompt.c
534
arg->prompt->auth = LOCAL_NO_AUTH;
usr.sbin/ppp/prompt.h
46
u_char auth; /* Local Authorized status */
usr.sbin/ppp/radius.c
1010
r->cx.auth = NULL; /* Not valid for accounting requests */
usr.sbin/ppp/radius.c
236
stype = r->cx.auth ? "auth" : "acct";
usr.sbin/ppp/radius.c
241
if (!r->cx.auth) {
usr.sbin/ppp/radius.c
249
if (!r->cx.auth) {
usr.sbin/ppp/radius.c
258
if (r->cx.auth)
usr.sbin/ppp/radius.c
259
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
265
if (r->cx.auth)
usr.sbin/ppp/radius.c
266
auth_Failure(r->cx.auth); /* unexpected !!! */
usr.sbin/ppp/radius.c
274
if (r->cx.auth)
usr.sbin/ppp/radius.c
275
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
282
if (r->cx.auth)
usr.sbin/ppp/radius.c
283
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
303
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
347
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
353
bundle = r->cx.auth->physical->dl->bundle;
usr.sbin/ppp/radius.c
397
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
408
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
436
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
463
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
519
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
521
auth_Failure(r->cx.auth);
usr.sbin/ppp/radius.c
524
auth_Success(r->cx.auth);
usr.sbin/ppp/radius.c
622
r->cx.auth = NULL;
usr.sbin/ppp/radius.c
866
r->cx.auth = authp;
usr.sbin/ppp/radius.c
938
dl->bundle->cfg.auth.name, (long)getpid(),
usr.sbin/ppp/radius.h
42
struct authinfo *auth; /* Tell this about success/failure */
usr.sbin/rpcbind/rpcb_svc_com.c
616
AUTH *auth;
usr.sbin/rpcbind/rpcb_svc_com.c
839
auth = authnone_create();
usr.sbin/rpcbind/rpcb_svc_com.c
844
auth = authunix_create(au->aup_machname,
usr.sbin/rpcbind/rpcb_svc_com.c
847
if (auth == NULL) /* fall back */
usr.sbin/rpcbind/rpcb_svc_com.c
848
auth = authnone_create();
usr.sbin/rpcbind/rpcb_svc_com.c
858
if (auth == NULL) {
usr.sbin/rpcbind/rpcb_svc_com.c
866
if (!AUTH_MARSHALL(auth, &outxdr)) {
usr.sbin/rpcbind/rpcb_svc_com.c
869
AUTH_DESTROY(auth);
usr.sbin/rpcbind/rpcb_svc_com.c
875
AUTH_DESTROY(auth);