Symbol: authinfo
sys/cam/scsi/scsi_cd.c
2565
struct dvd_authinfo *authinfo;
sys/cam/scsi/scsi_cd.c
2567
authinfo = (struct dvd_authinfo *)addr;
sys/cam/scsi/scsi_cd.c
2570
error = cdreportkey(periph, authinfo);
sys/cam/scsi/scsi_cd.c
2572
error = cdsendkey(periph, authinfo);
sys/cam/scsi/scsi_cd.c
294
struct dvd_authinfo *authinfo);
sys/cam/scsi/scsi_cd.c
296
struct dvd_authinfo *authinfo);
sys/cam/scsi/scsi_cd.c
3493
cdreportkey(struct cam_periph *periph, struct dvd_authinfo *authinfo)
sys/cam/scsi/scsi_cd.c
3505
switch (authinfo->format) {
sys/cam/scsi/scsi_cd.c
3518
lba = authinfo->lba;
sys/cam/scsi/scsi_cd.c
3546
/* agid */ authinfo->agid,
sys/cam/scsi/scsi_cd.c
3547
/* key_format */ authinfo->format,
sys/cam/scsi/scsi_cd.c
3564
switch(authinfo->format) {
sys/cam/scsi/scsi_cd.c
3570
authinfo->agid = (agid_data->agid & RKD_AGID_MASK) >>
sys/cam/scsi/scsi_cd.c
3579
bcopy(chal_data->challenge_key, authinfo->keychal,
sys/cam/scsi/scsi_cd.c
3581
sizeof(authinfo->keychal)));
sys/cam/scsi/scsi_cd.c
3589
bcopy(key1_data->key1, authinfo->keychal,
sys/cam/scsi/scsi_cd.c
3590
min(sizeof(key1_data->key1), sizeof(authinfo->keychal)));
sys/cam/scsi/scsi_cd.c
3598
authinfo->cpm = (title_data->byte0 & RKD_TITLE_CPM) >>
sys/cam/scsi/scsi_cd.c
3600
authinfo->cp_sec = (title_data->byte0 & RKD_TITLE_CP_SEC) >>
sys/cam/scsi/scsi_cd.c
3602
authinfo->cgms = (title_data->byte0 & RKD_TITLE_CMGS_MASK) >>
sys/cam/scsi/scsi_cd.c
3604
bcopy(title_data->title_key, authinfo->keychal,
sys/cam/scsi/scsi_cd.c
3606
sizeof(authinfo->keychal)));
sys/cam/scsi/scsi_cd.c
3614
authinfo->asf = asf_data->success & RKD_ASF_SUCCESS;
sys/cam/scsi/scsi_cd.c
3622
authinfo->reg_type = (rpc_data->byte4 & RKD_RPC_TYPE_MASK) >>
sys/cam/scsi/scsi_cd.c
3624
authinfo->vend_rsts =
sys/cam/scsi/scsi_cd.c
3627
authinfo->user_rsts = rpc_data->byte4 & RKD_RPC_USER_RESET_MASK;
sys/cam/scsi/scsi_cd.c
3628
authinfo->region = rpc_data->region_mask;
sys/cam/scsi/scsi_cd.c
3629
authinfo->rpc_scheme = rpc_data->rpc_scheme1;
sys/cam/scsi/scsi_cd.c
3652
cdsendkey(struct cam_periph *periph, struct dvd_authinfo *authinfo)
sys/cam/scsi/scsi_cd.c
3662
switch(authinfo->format) {
sys/cam/scsi/scsi_cd.c
3675
bcopy(authinfo->keychal, challenge_data->challenge_key,
sys/cam/scsi/scsi_cd.c
3676
min(sizeof(authinfo->keychal),
sys/cam/scsi/scsi_cd.c
3692
bcopy(authinfo->keychal, key2_data->key1,
sys/cam/scsi/scsi_cd.c
3693
min(sizeof(authinfo->keychal), sizeof(key2_data->key1)));
sys/cam/scsi/scsi_cd.c
3709
rpc_data->region_code = authinfo->region;
sys/cam/scsi/scsi_cd.c
3723
/* agid */ authinfo->agid,
sys/cam/scsi/scsi_cd.c
3724
/* key_format */ authinfo->format,
sys/netinet/sctp_auth.c
1147
if (keyid == stcb->asoc.authinfo.assoc_keyid) {
sys/netinet/sctp_auth.c
1148
sctp_free_key(stcb->asoc.authinfo.assoc_key);
sys/netinet/sctp_auth.c
1149
stcb->asoc.authinfo.assoc_key = NULL;
sys/netinet/sctp_auth.c
1151
if (keyid == stcb->asoc.authinfo.recv_keyid) {
sys/netinet/sctp_auth.c
1152
sctp_free_key(stcb->asoc.authinfo.recv_key);
sys/netinet/sctp_auth.c
1153
stcb->asoc.authinfo.recv_key = NULL;
sys/netinet/sctp_auth.c
1191
if (keyid == stcb->asoc.authinfo.active_keyid)
sys/netinet/sctp_auth.c
1265
stcb->asoc.authinfo.active_keyid = keyid;
sys/netinet/sctp_auth.c
1304
if (keyid == stcb->asoc.authinfo.active_keyid)
sys/netinet/sctp_auth.c
1476
if (stcb->asoc.authinfo.random != NULL)
sys/netinet/sctp_auth.c
1477
sctp_free_key(stcb->asoc.authinfo.random);
sys/netinet/sctp_auth.c
1478
stcb->asoc.authinfo.random = new_key;
sys/netinet/sctp_auth.c
1479
stcb->asoc.authinfo.random_len = random_len;
sys/netinet/sctp_auth.c
1480
sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.assoc_keyid);
sys/netinet/sctp_auth.c
1481
sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.recv_keyid);
sys/netinet/sctp_auth.c
1489
stcb->asoc.authinfo.active_keyid = stcb->sctp_ep->sctp_ep.default_keyid;
sys/netinet/sctp_auth.c
1514
if ((keyid != stcb->asoc.authinfo.assoc_keyid) ||
sys/netinet/sctp_auth.c
1515
(stcb->asoc.authinfo.assoc_key == NULL)) {
sys/netinet/sctp_auth.c
1516
if (stcb->asoc.authinfo.assoc_key != NULL) {
sys/netinet/sctp_auth.c
1518
sctp_free_key(stcb->asoc.authinfo.assoc_key);
sys/netinet/sctp_auth.c
1527
stcb->asoc.authinfo.assoc_key =
sys/netinet/sctp_auth.c
1528
sctp_compute_hashkey(stcb->asoc.authinfo.random,
sys/netinet/sctp_auth.c
1529
stcb->asoc.authinfo.peer_random, key);
sys/netinet/sctp_auth.c
1530
stcb->asoc.authinfo.assoc_keyid = keyid;
sys/netinet/sctp_auth.c
1532
stcb->asoc.authinfo.assoc_keyid);
sys/netinet/sctp_auth.c
1535
sctp_print_key(stcb->asoc.authinfo.assoc_key,
sys/netinet/sctp_auth.c
1544
(void)sctp_compute_hmac_m(stcb->asoc.peer_hmac_id, stcb->asoc.authinfo.assoc_key,
sys/netinet/sctp_auth.c
1643
if ((stcb->asoc.authinfo.recv_key == NULL) ||
sys/netinet/sctp_auth.c
1644
(stcb->asoc.authinfo.recv_keyid != shared_key_id)) {
sys/netinet/sctp_auth.c
1657
if (stcb->asoc.authinfo.recv_keyid != shared_key_id) {
sys/netinet/sctp_auth.c
1662
if (stcb->asoc.authinfo.recv_key != NULL)
sys/netinet/sctp_auth.c
1663
sctp_free_key(stcb->asoc.authinfo.recv_key);
sys/netinet/sctp_auth.c
1664
stcb->asoc.authinfo.recv_key =
sys/netinet/sctp_auth.c
1665
sctp_compute_hashkey(stcb->asoc.authinfo.random,
sys/netinet/sctp_auth.c
1666
stcb->asoc.authinfo.peer_random, skey->key);
sys/netinet/sctp_auth.c
1667
stcb->asoc.authinfo.recv_keyid = shared_key_id;
sys/netinet/sctp_auth.c
1670
sctp_print_key(stcb->asoc.authinfo.recv_key, "Recv Key");
sys/netinet/sctp_auth.c
1685
(void)sctp_compute_hmac_m(hmac_id, stcb->asoc.authinfo.recv_key,
sys/netinet/sctp_auth.c
1732
auth->auth_altkeynumber = stcb->asoc.authinfo.recv_keyid;
sys/netinet/sctp_auth.c
1934
stcb->asoc.authinfo.active_keyid = inp->sctp_ep.default_keyid;
sys/netinet/sctp_auth.c
1982
if (stcb->asoc.authinfo.random != NULL)
sys/netinet/sctp_auth.c
1983
sctp_free_key(stcb->asoc.authinfo.random);
sys/netinet/sctp_auth.c
1984
stcb->asoc.authinfo.random = new_key;
sys/netinet/sctp_auth.c
1985
stcb->asoc.authinfo.random_len = random_len;
sys/netinet/sctp_auth.c
792
sctp_free_authinfo(sctp_authinfo_t *authinfo)
sys/netinet/sctp_auth.c
794
if (authinfo == NULL)
sys/netinet/sctp_auth.c
797
if (authinfo->random != NULL)
sys/netinet/sctp_auth.c
798
sctp_free_key(authinfo->random);
sys/netinet/sctp_auth.c
799
if (authinfo->peer_random != NULL)
sys/netinet/sctp_auth.c
800
sctp_free_key(authinfo->peer_random);
sys/netinet/sctp_auth.c
801
if (authinfo->assoc_key != NULL)
sys/netinet/sctp_auth.c
802
sctp_free_key(authinfo->assoc_key);
sys/netinet/sctp_auth.c
803
if (authinfo->recv_key != NULL)
sys/netinet/sctp_auth.c
804
sctp_free_key(authinfo->recv_key);
sys/netinet/sctp_auth.h
167
extern void sctp_free_authinfo(sctp_authinfo_t *authinfo);
sys/netinet/sctp_output.c
11027
m_out, auth_offset, auth, stcb->asoc.authinfo.active_keyid, 1, 0, 0,
sys/netinet/sctp_output.c
12487
sp->auth_keyid = stcb->asoc.authinfo.active_keyid;
sys/netinet/sctp_output.c
3458
struct sctp_authinfo authinfo;
sys/netinet/sctp_output.c
3539
m_copydata(control, cmsg_data_off, sizeof(struct sctp_authinfo), (caddr_t)&authinfo);
sys/netinet/sctp_output.c
3541
sndrcvinfo->sinfo_keynumber = authinfo.auth_keynumber;
sys/netinet/sctp_output.c
4775
if (stcb->asoc.authinfo.random != NULL) {
sys/netinet/sctp_output.c
4784
parameter_len = (uint16_t)sizeof(struct sctp_auth_random) + stcb->asoc.authinfo.random_len;
sys/netinet/sctp_output.c
4786
memcpy(randp, stcb->asoc.authinfo.random->key, parameter_len);
sys/netinet/sctp_output.c
6476
sp->auth_keyid = stcb->asoc.authinfo.active_keyid;
sys/netinet/sctp_output.c
7862
auth_keyid = stcb->asoc.authinfo.active_keyid;
sys/netinet/sctp_output.c
8214
stcb->asoc.authinfo.active_keyid,
sys/netinet/sctp_output.c
8504
stcb->asoc.authinfo.active_keyid,
sys/netinet/sctp_output.c
9496
auth_keyid = stcb->asoc.authinfo.active_keyid;
sys/netinet/sctp_output.c
9570
auth_offset, auth, stcb->asoc.authinfo.active_keyid,
sys/netinet/sctp_pcb.c
5019
sctp_free_authinfo(&asoc->authinfo);
sys/netinet/sctp_pcb.c
6555
if (stcb->asoc.authinfo.peer_random != NULL)
sys/netinet/sctp_pcb.c
6556
sctp_free_key(stcb->asoc.authinfo.peer_random);
sys/netinet/sctp_pcb.c
6557
stcb->asoc.authinfo.peer_random = new_key;
sys/netinet/sctp_pcb.c
6558
sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.assoc_keyid);
sys/netinet/sctp_pcb.c
6559
sctp_clear_cachedkeys(stcb, stcb->asoc.authinfo.recv_keyid);
sys/netinet/sctp_structs.h
1075
sctp_authinfo_t authinfo; /* randoms, cached keys */
sys/netinet/sctp_usrreq.c
2886
scact->scact_keynumber = stcb->asoc.authinfo.active_keyid;
sys/netinet/sctputil.c
1351
asoc->authinfo.random = NULL;
sys/netinet/sctputil.c
1352
asoc->authinfo.active_keyid = 0;
sys/netinet/sctputil.c
1353
asoc->authinfo.assoc_key = NULL;
sys/netinet/sctputil.c
1354
asoc->authinfo.assoc_keyid = 0;
sys/netinet/sctputil.c
1355
asoc->authinfo.recv_key = NULL;
sys/netinet/sctputil.c
1356
asoc->authinfo.recv_keyid = 0;
usr.sbin/lpr/common_source/lp.h
138
void *authinfo; /* authentication information */
usr.sbin/lpr/common_source/request.c
68
if (rp->authinfo)
usr.sbin/lpr/common_source/request.c
69
free(rp->authinfo);
usr.sbin/ppp/auth.c
396
struct authinfo *authp = (struct authinfo *)vauthp;
usr.sbin/ppp/auth.c
410
auth_Init(struct authinfo *authp, struct physical *p, auth_func req,
usr.sbin/ppp/auth.c
413
memset(authp, '\0', sizeof(struct authinfo));
usr.sbin/ppp/auth.c
424
auth_StartReq(struct authinfo *authp)
usr.sbin/ppp/auth.c
438
auth_StopTimer(struct authinfo *authp)
usr.sbin/ppp/auth.c
444
auth_ReadHeader(struct authinfo *authp, struct mbuf *bp)
usr.sbin/ppp/auth.c
467
auth_ReadName(struct authinfo *authp, struct mbuf *bp, size_t len)
usr.sbin/ppp/auth.h
33
struct authinfo;
usr.sbin/ppp/auth.h
34
typedef void (*auth_func)(struct authinfo *);
usr.sbin/ppp/auth.h
59
extern void auth_Init(struct authinfo *, struct physical *,
usr.sbin/ppp/auth.h
61
extern void auth_StopTimer(struct authinfo *);
usr.sbin/ppp/auth.h
62
extern void auth_StartReq(struct authinfo *);
usr.sbin/ppp/auth.h
67
extern struct mbuf *auth_ReadHeader(struct authinfo *, struct mbuf *);
usr.sbin/ppp/auth.h
68
extern struct mbuf *auth_ReadName(struct authinfo *, struct mbuf *, size_t);
usr.sbin/ppp/chap.c
487
chap_ChallengeInit(struct authinfo *authp)
usr.sbin/ppp/chap.c
524
chap_Challenge(struct authinfo *authp)
usr.sbin/ppp/chap.c
549
chap_Success(struct authinfo *authp)
usr.sbin/ppp/chap.c
589
chap_Failure(struct authinfo *authp)
usr.sbin/ppp/chap.h
49
struct authinfo auth;
usr.sbin/ppp/datalink.h
116
struct authinfo pap; /* Authentication using pap */
usr.sbin/ppp/pap.c
114
SendPapCode(struct authinfo *authp, int code, const char *message)
usr.sbin/ppp/pap.c
143
pap_Success(struct authinfo *authp)
usr.sbin/ppp/pap.c
167
pap_Failure(struct authinfo *authp)
usr.sbin/ppp/pap.c
174
pap_Init(struct authinfo *pap, struct physical *p)
usr.sbin/ppp/pap.c
183
struct authinfo *authp = &p->dl->pap;
usr.sbin/ppp/pap.c
83
pap_Req(struct authinfo *authp)
usr.sbin/ppp/pap.h
37
struct authinfo;
usr.sbin/ppp/pap.h
39
extern void pap_Init(struct authinfo *, struct physical *);
usr.sbin/ppp/radius.c
893
radius_Authenticate(struct radius *r, struct authinfo *authp, const char *name,
usr.sbin/ppp/radius.h
113
extern int radius_Authenticate(struct radius *, struct authinfo *,
usr.sbin/ppp/radius.h
46
struct authinfo *auth; /* Tell this about success/failure */