Symbol: auth
include/rpc/auth.h
128
#define AUTH_NEXTVERF(auth) \
include/rpc/auth.h
129
((*((auth)->ah_ops->ah_nextverf))(auth))
include/rpc/auth.h
130
#define auth_nextverf(auth) \
include/rpc/auth.h
131
((*((auth)->ah_ops->ah_nextverf))(auth))
include/rpc/auth.h
133
#define AUTH_MARSHALL(auth, xdrs) \
include/rpc/auth.h
134
((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
include/rpc/auth.h
135
#define auth_marshall(auth, xdrs) \
include/rpc/auth.h
136
((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
include/rpc/auth.h
138
#define AUTH_VALIDATE(auth, verfp) \
include/rpc/auth.h
139
((*((auth)->ah_ops->ah_validate))((auth), verfp))
include/rpc/auth.h
140
#define auth_validate(auth, verfp) \
include/rpc/auth.h
141
((*((auth)->ah_ops->ah_validate))((auth), verfp))
include/rpc/auth.h
143
#define AUTH_REFRESH(auth) \
include/rpc/auth.h
144
((*((auth)->ah_ops->ah_refresh))(auth))
include/rpc/auth.h
145
#define auth_refresh(auth) \
include/rpc/auth.h
146
((*((auth)->ah_ops->ah_refresh))(auth))
include/rpc/auth.h
148
#define AUTH_DESTROY(auth) \
include/rpc/auth.h
149
((*((auth)->ah_ops->ah_destroy))(auth))
include/rpc/auth.h
150
#define auth_destroy(auth) \
include/rpc/auth.h
151
((*((auth)->ah_ops->ah_destroy))(auth))
lib/libc/rpc/auth_unix.c
104
auth = (AUTH *)mem_alloc(sizeof(*auth));
lib/libc/rpc/auth_unix.c
106
if (auth == NULL)
lib/libc/rpc/auth_unix.c
112
free(auth);
lib/libc/rpc/auth_unix.c
116
auth->ah_ops = &auth_unix_ops;
lib/libc/rpc/auth_unix.c
117
auth->ah_private = (caddr_t)au;
lib/libc/rpc/auth_unix.c
118
auth->ah_verf = au->au_shcred = _null_auth;
lib/libc/rpc/auth_unix.c
151
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
152
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
153
return (auth);
lib/libc/rpc/auth_unix.c
158
free(auth);
lib/libc/rpc/auth_unix.c
211
authunix_nextverf(AUTH *auth)
lib/libc/rpc/auth_unix.c
217
authunix_marshal(AUTH *auth, XDR *xdrs)
lib/libc/rpc/auth_unix.c
219
struct audata *au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
225
authunix_validate(AUTH *auth, struct opaque_auth *verf)
lib/libc/rpc/auth_unix.c
231
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
240
auth->ah_cred = au->au_shcred;
lib/libc/rpc/auth_unix.c
245
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
247
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
253
authunix_refresh(AUTH *auth)
lib/libc/rpc/auth_unix.c
255
struct audata *au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
261
if (auth->ah_cred.oa_base == au->au_origcred.oa_base) {
lib/libc/rpc/auth_unix.c
284
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
285
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
295
authunix_destroy(AUTH *auth)
lib/libc/rpc/auth_unix.c
297
struct audata *au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
304
mem_free(auth->ah_private, sizeof(struct audata));
lib/libc/rpc/auth_unix.c
306
if (auth->ah_verf.oa_base != NULL)
lib/libc/rpc/auth_unix.c
307
mem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length);
lib/libc/rpc/auth_unix.c
309
mem_free((caddr_t)auth, sizeof(*auth));
lib/libc/rpc/auth_unix.c
317
marshal_new_auth(AUTH *auth)
lib/libc/rpc/auth_unix.c
321
struct audata *au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
324
if ((! xdr_opaque_auth(xdrs, &(auth->ah_cred))) ||
lib/libc/rpc/auth_unix.c
325
(! xdr_opaque_auth(xdrs, &(auth->ah_verf)))) {
lib/libc/rpc/auth_unix.c
82
#define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private)
lib/libc/rpc/auth_unix.c
84
static void marshal_new_auth(AUTH *auth);
lib/libc/rpc/auth_unix.c
98
AUTH *auth;
lib/libfido2/src/pin.c
670
const char *rpid, cbor_item_t **auth, cbor_item_t **opt, int *ms)
lib/libfido2/src/pin.c
686
if ((*auth = cbor_encode_pin_auth(dev, token, hmac_data)) == NULL ||
lib/libsndio/amsg.h
122
} auth;
lib/libsndio/aucat.c
475
if (!aucat_mkcookie(hdl->wmsg.u.auth.cookie))
libexec/ftpd/monitor.c
244
enum auth_ret auth;
libexec/ftpd/monitor.c
285
auth = pass(pw);
libexec/ftpd/monitor.c
288
switch (auth) {
libexec/login_radius/raddauth.c
349
auth_hdr_t auth;
libexec/login_radius/raddauth.c
358
memset(&auth, 0, sizeof(auth));
libexec/login_radius/raddauth.c
359
auth.code = PW_AUTHENTICATION_REQUEST;
libexec/login_radius/raddauth.c
360
auth.id = id;
libexec/login_radius/raddauth.c
361
memcpy(auth.vector, vector, AUTH_VECTOR_LEN);
libexec/login_radius/raddauth.c
363
ptr = auth.data;
libexec/login_radius/raddauth.c
399
memcpy(md5buf + secretlen, auth.vector, AUTH_VECTOR_LEN);
libexec/login_radius/raddauth.c
444
auth.length = htons(total_length);
libexec/login_radius/raddauth.c
447
if (HMAC(EVP_md5(), auth_secret, secretlen, (unsigned char *)&auth,
libexec/login_radius/raddauth.c
455
if (sendto(sockfd, &auth, total_length, 0, (struct sockaddr *)&sin,
libexec/login_radius/raddauth.c
466
auth_hdr_t auth;
libexec/login_radius/raddauth.c
476
total_length = recvfrom(sockfd, &auth, sizeof(auth), 0,
libexec/login_radius/raddauth.c
484
if (ntohs(auth.length) > total_length)
libexec/login_radius/raddauth.c
491
memcpy(recv_vector, auth.vector, AUTH_VECTOR_LEN);
libexec/login_radius/raddauth.c
492
memcpy(auth.vector, req_vector, AUTH_VECTOR_LEN);
libexec/login_radius/raddauth.c
494
MD5_Update(&context, (u_char *)&auth, ntohs(auth.length));
libexec/login_radius/raddauth.c
500
if (auth.code == PW_ACCESS_CHALLENGE)
libexec/login_radius/raddauth.c
501
parse_challenge(&auth, state, challenge);
libexec/login_radius/raddauth.c
503
return (auth.code);
sbin/ifconfig/ifconfig.c
5621
sppp_printproto(const char *name, struct sauthreq *auth)
sbin/ifconfig/ifconfig.c
5623
if (auth->proto == 0)
sbin/ifconfig/ifconfig.c
5626
switch (auth->proto) {
sbin/ifconfig/ifconfig.c
5634
printf("0x%04x ", auth->proto);
sbin/ifconfig/ifconfig.c
5637
if (auth->name[0])
sbin/ifconfig/ifconfig.c
5638
printf("%sname \"%s\" ", name, auth->name);
sbin/ifconfig/ifconfig.c
5639
if (auth->secret[0])
sbin/ifconfig/ifconfig.c
5640
printf("%skey \"%s\" ", name, auth->secret);
sbin/iked/eap.c
162
if ((auth = ibuf_reserve(e, sizeof(*auth))) == NULL)
sbin/iked/eap.c
164
auth->auth_method = sa->sa_localauth.id_type;
sbin/iked/eap.c
167
len = ibuf_size(sa->sa_localauth.id_buf) + sizeof(*auth);
sbin/iked/eap.c
93
struct ikev2_auth *auth;
sbin/iked/ikev2.c
1601
struct ikev2_auth *auth;
sbin/iked/ikev2.c
1696
if ((auth = ibuf_reserve(e, sizeof(*auth))) == NULL)
sbin/iked/ikev2.c
1698
auth->auth_method = sa->sa_localauth.id_type;
sbin/iked/ikev2.c
1701
len = ibuf_size(sa->sa_localauth.id_buf) + sizeof(*auth);
sbin/iked/ikev2.c
3915
struct ikev2_auth *auth;
sbin/iked/ikev2.c
4010
if ((auth = ibuf_reserve(e, sizeof(*auth))) == NULL)
sbin/iked/ikev2.c
4012
auth->auth_method = sa->sa_localauth.id_type;
sbin/iked/ikev2.c
4015
len = ibuf_size(sa->sa_localauth.id_buf) + sizeof(*auth);
sbin/iked/ikev2_msg.c
1004
struct iked_auth *auth, uint8_t *buf, size_t len, struct ibuf *authmsg)
sbin/iked/ikev2_msg.c
1018
if ((dsa = dsa_verify_new(auth->auth_method, sa->sa_prf)) == NULL) {
sbin/iked/ikev2_msg.c
1023
switch (auth->auth_method) {
sbin/iked/ikev2_msg.c
1025
if (!auth->auth_length) {
sbin/iked/ikev2_msg.c
1029
if ((keylen = ikev2_psk(sa, auth->auth_data,
sbin/iked/ikev2_msg.c
1030
auth->auth_length, &psk)) == -1) {
sbin/iked/ikev2_msg.c
1049
print_map(auth->auth_method, ikev2_auth_map), keylen,
sbin/iked/ikev2_msg.c
1077
struct iked_auth *auth, struct ibuf *authmsg)
sbin/iked/ikev2_msg.c
1093
if ((dsa = dsa_sign_new(auth->auth_method, prf)) == NULL) {
sbin/iked/ikev2_msg.c
1098
switch (auth->auth_method) {
sbin/iked/ikev2_msg.c
1100
if (!auth->auth_length) {
sbin/iked/ikev2_msg.c
1104
if ((keylen = ikev2_psk(sa, auth->auth_data,
sbin/iked/ikev2_msg.c
1105
auth->auth_length, &psk)) == -1) {
sbin/iked/ikev2_msg.c
1152
sa->sa_localauth.id_type = auth->auth_method;
sbin/iked/ikev2_pld.c
938
struct ikev2_auth *auth)
sbin/iked/ikev2_pld.c
942
if (left < sizeof(*auth)) {
sbin/iked/ikev2_pld.c
944
"(%zu < %zu)", __func__, left, sizeof(*auth));
sbin/iked/ikev2_pld.c
947
memcpy(auth, msgbuf + offset, sizeof(*auth));
sbin/iked/ikev2_pld.c
949
if (auth->auth_method == 0) {
sbin/iked/ikev2_pld.c
962
struct ikev2_auth auth;
sbin/iked/ikev2_pld.c
968
if (ikev2_validate_auth(msg, offset, left, &auth))
sbin/iked/ikev2_pld.c
970
offset += sizeof(auth);
sbin/iked/ikev2_pld.c
973
len = left - sizeof(auth);
sbin/iked/ikev2_pld.c
976
__func__, print_map(auth.auth_method, ikev2_auth_map), len);
sbin/iked/ikev2_pld.c
990
idp->id_type = auth.auth_method;
sbin/iked/parse.y
2172
parsekey(unsigned char *hexkey, size_t len, struct iked_auth *auth)
sbin/iked/parse.y
2176
bzero(auth, sizeof(*auth));
sbin/iked/parse.y
2177
if ((len / 2) > sizeof(auth->auth_data))
sbin/iked/parse.y
2179
auth->auth_length = len / 2;
sbin/iked/parse.y
2181
for (i = 0; i < auth->auth_length; i++)
sbin/iked/parse.y
2182
auth->auth_data[i] = x2i(hexkey + 2 * i);
sbin/iked/parse.y
2188
parsekeyfile(char *filename, struct iked_auth *auth)
sbin/iked/parse.y
2208
ret = parsekey(hex, sb.st_size, auth);
sbin/iked/parse.y
2727
unsigned int i, j, xfi, noauth, auth;
sbin/iked/parse.y
2899
noauth = auth = 0;
sbin/iked/parse.y
2904
auth++;
sbin/iked/parse.y
2914
auth++;
sbin/iked/parse.y
2931
if (!auth) {
sbin/iked/parse.y
3017
noauth = auth = 0;
sbin/iked/parse.y
3022
auth++;
sbin/iked/parse.y
3025
auth++;
sbin/iked/parse.y
3038
if (!auth) {
sbin/ipsecctl/ike.c
102
if (r->ikemode == IKE_DYNAMIC && r->auth->srcid == NULL) {
sbin/ipsecctl/ike.c
105
if ((r->auth->srcid = strdup(myname)) == NULL)
sbin/ipsecctl/ike.c
107
r->auth->srcid_type = ID_FQDN;
sbin/ipsecctl/ike.c
109
if (r->auth->srcid) {
sbin/ipsecctl/ike.c
111
r->auth->srcid);
sbin/ipsecctl/ike.c
112
fprintf(fd, SET "[id-%s]:ID-type=%s force\n", r->auth->srcid,
sbin/ipsecctl/ike.c
113
ike_id_types[r->auth->srcid_type]);
sbin/ipsecctl/ike.c
114
if (r->auth->srcid_type == ID_IPV4 ||
sbin/ipsecctl/ike.c
115
r->auth->srcid_type == ID_IPV6)
sbin/ipsecctl/ike.c
117
r->auth->srcid, r->auth->srcid);
sbin/ipsecctl/ike.c
120
r->auth->srcid, r->auth->srcid);
sbin/ipsecctl/ike.c
122
if (r->auth->dstid) {
sbin/ipsecctl/ike.c
124
r->auth->dstid);
sbin/ipsecctl/ike.c
125
fprintf(fd, SET "[id-%s]:ID-type=%s force\n", r->auth->dstid,
sbin/ipsecctl/ike.c
126
ike_id_types[r->auth->dstid_type]);
sbin/ipsecctl/ike.c
127
if (r->auth->dstid_type == ID_IPV4 ||
sbin/ipsecctl/ike.c
128
r->auth->dstid_type == ID_IPV6)
sbin/ipsecctl/ike.c
130
r->auth->dstid, r->auth->dstid);
sbin/ipsecctl/ike.c
133
r->auth->dstid, r->auth->dstid);
sbin/ipsecctl/ike.c
790
if (r->auth) {
sbin/ipsecctl/ike.c
791
if (r->auth->srcid)
sbin/ipsecctl/ike.c
792
fprintf(fd, DELETE "[%s-ID]\n", r->auth->srcid);
sbin/ipsecctl/ike.c
793
if (r->auth->dstid)
sbin/ipsecctl/ike.c
794
fprintf(fd, DELETE "[%s-ID]\n", r->auth->dstid);
sbin/ipsecctl/ike.c
99
if (r->auth == NULL)
sbin/ipsecctl/ipsecctl.c
226
if (rp->auth) {
sbin/ipsecctl/ipsecctl.c
227
free(rp->auth->srcid);
sbin/ipsecctl/ipsecctl.c
228
free(rp->auth->dstid);
sbin/ipsecctl/ipsecctl.c
229
free(rp->auth);
sbin/ipsecctl/ipsecctl.c
317
if ((r1->auth == NULL) && (r2->auth == NULL))
sbin/ipsecctl/ipsecctl.c
320
if ((r1->auth == NULL) || (r2->auth == NULL))
sbin/ipsecctl/ipsecctl.c
323
if (r1->auth->type != r2->auth->type)
sbin/ipsecctl/ipsecctl.c
326
if (r1->auth->srcid != NULL) {
sbin/ipsecctl/ipsecctl.c
327
if (r2->auth->srcid == NULL)
sbin/ipsecctl/ipsecctl.c
330
if (strcmp(r1->auth->srcid, r2->auth->srcid))
sbin/ipsecctl/ipsecctl.c
334
if (r1->auth->dstid) {
sbin/ipsecctl/ipsecctl.c
335
if (r2->auth->dstid == NULL)
sbin/ipsecctl/ipsecctl.c
338
if (strcmp(r1->auth->dstid, r2->auth->dstid))
sbin/ipsecctl/ipsecctl.c
494
if (r->auth) {
sbin/ipsecctl/ipsecctl.c
495
if (r->auth->srcid)
sbin/ipsecctl/ipsecctl.c
496
printf(" srcid %s", r->auth->srcid);
sbin/ipsecctl/ipsecctl.c
497
if (r->auth->dstid)
sbin/ipsecctl/ipsecctl.c
498
printf(" dstid %s", r->auth->dstid);
sbin/ipsecctl/ipsecctl.c
499
if (r->auth->type > 0)
sbin/ipsecctl/ipsecctl.c
500
printf(" %s", auth[r->auth->type]);
sbin/ipsecctl/ipsecctl.c
736
if (rp->auth) {
sbin/ipsecctl/ipsecctl.c
737
free(rp->auth->srcid);
sbin/ipsecctl/ipsecctl.c
738
free(rp->auth->dstid);
sbin/ipsecctl/ipsecctl.c
739
free(rp->auth);
sbin/ipsecctl/ipsecctl.c
84
static const char *auth[] = {"?", "psk", "rsa"};
sbin/ipsecctl/ipsecctl.h
191
struct ipsec_auth *auth;
sbin/ipsecctl/parse.y
2163
copyipsecauth(const struct ipsec_auth *auth)
sbin/ipsecctl/parse.y
2167
if (auth == NULL)
sbin/ipsecctl/parse.y
2172
if (auth->srcid &&
sbin/ipsecctl/parse.y
2173
asprintf(&newauth->srcid, "%s", auth->srcid) == -1)
sbin/ipsecctl/parse.y
2175
if (auth->dstid &&
sbin/ipsecctl/parse.y
2176
asprintf(&newauth->dstid, "%s", auth->dstid) == -1)
sbin/ipsecctl/parse.y
2179
newauth->srcid_type = auth->srcid_type;
sbin/ipsecctl/parse.y
2180
newauth->dstid_type = auth->dstid_type;
sbin/ipsecctl/parse.y
2181
newauth->type = auth->type;
sbin/ipsecctl/parse.y
2187
copyikeauth(const struct ike_auth *auth)
sbin/ipsecctl/parse.y
2191
if (auth == NULL)
sbin/ipsecctl/parse.y
2196
if (auth->string &&
sbin/ipsecctl/parse.y
2197
asprintf(&newauth->string, "%s", auth->string) == -1)
sbin/ipsecctl/parse.y
2200
newauth->type = auth->type;
sbin/ipsecctl/parse.y
2268
r->auth = copyipsecauth(rule->auth);
sbin/ipsecctl/parse.y
2608
r->auth = calloc(1, sizeof(struct ipsec_auth));
sbin/ipsecctl/parse.y
2609
if (r->auth == NULL)
sbin/ipsecctl/parse.y
2611
r->auth->srcid = srcid;
sbin/ipsecctl/parse.y
2612
r->auth->dstid = dstid;
sbin/ipsecctl/parse.y
2613
r->auth->srcid_type = get_id_type(srcid);
sbin/ipsecctl/parse.y
2614
r->auth->dstid_type = get_id_type(dstid);
sbin/ipsecctl/parse.y
2716
if ((pdr->auth->srcid == NULL &&
sbin/ipsecctl/parse.y
2717
r->auth->srcid != NULL) ||
sbin/ipsecctl/parse.y
2718
(pdr->auth->srcid != NULL &&
sbin/ipsecctl/parse.y
2719
r->auth->srcid == NULL) ||
sbin/ipsecctl/parse.y
2720
(pdr->auth->srcid != NULL &&
sbin/ipsecctl/parse.y
2721
r->auth->srcid != NULL &&
sbin/ipsecctl/parse.y
2722
strcmp(pdr->auth->srcid, r->auth->srcid)))
sbin/ipsecctl/parse.y
2724
if ((pdr->auth->dstid == NULL &&
sbin/ipsecctl/parse.y
2725
r->auth->dstid != NULL) ||
sbin/ipsecctl/parse.y
2726
(pdr->auth->dstid != NULL &&
sbin/ipsecctl/parse.y
2727
r->auth->dstid == NULL) ||
sbin/ipsecctl/parse.y
2728
(pdr->auth->dstid != NULL &&
sbin/ipsecctl/parse.y
2729
r->auth->dstid != NULL &&
sbin/ipsecctl/parse.y
2730
strcmp(pdr->auth->dstid, r->auth->dstid)))
sbin/ipsecctl/parse.y
2842
if (rule->auth) {
sbin/ipsecctl/parse.y
2843
reverse->auth = calloc(1, sizeof(struct ipsec_auth));
sbin/ipsecctl/parse.y
2844
if (reverse->auth == NULL)
sbin/ipsecctl/parse.y
2846
if (rule->auth->dstid && (reverse->auth->dstid =
sbin/ipsecctl/parse.y
2847
strdup(rule->auth->dstid)) == NULL)
sbin/ipsecctl/parse.y
2849
if (rule->auth->srcid && (reverse->auth->srcid =
sbin/ipsecctl/parse.y
2850
strdup(rule->auth->srcid)) == NULL)
sbin/ipsecctl/parse.y
2852
reverse->auth->srcid_type = rule->auth->srcid_type;
sbin/ipsecctl/parse.y
2853
reverse->auth->dstid_type = rule->auth->dstid_type;
sbin/ipsecctl/parse.y
2854
reverse->auth->type = rule->auth->type;
sbin/ipsecctl/parse.y
2910
r->auth = calloc(1, sizeof(struct ipsec_auth));
sbin/ipsecctl/parse.y
2911
if (r->auth == NULL)
sbin/ipsecctl/parse.y
2913
r->auth->srcid = srcid;
sbin/ipsecctl/parse.y
2914
r->auth->dstid = dstid;
sbin/ipsecctl/parse.y
2915
r->auth->srcid_type = get_id_type(srcid);
sbin/ipsecctl/parse.y
2916
r->auth->dstid_type = get_id_type(dstid);
sbin/ipsecctl/pfkey.c
1151
r->local, r->peer, r->auth, r->flowtype);
sbin/ipsecctl/pfkey.c
253
if (auth && auth->srcid) {
sbin/ipsecctl/pfkey.c
254
len = ROUNDUP(strlen(auth->srcid) + 1) + sizeof(*sa_srcid);
sbin/ipsecctl/pfkey.c
260
sa_srcid->sadb_ident_type = auth->srcid_type;
sbin/ipsecctl/pfkey.c
264
strlcpy((char *)(sa_srcid + 1), auth->srcid,
sbin/ipsecctl/pfkey.c
265
ROUNDUP(strlen(auth->srcid) + 1));
sbin/ipsecctl/pfkey.c
267
if (auth && auth->dstid) {
sbin/ipsecctl/pfkey.c
268
len = ROUNDUP(strlen(auth->dstid) + 1) + sizeof(*sa_dstid);
sbin/ipsecctl/pfkey.c
274
sa_dstid->sadb_ident_type = auth->dstid_type;
sbin/ipsecctl/pfkey.c
278
strlcpy((char *)(sa_dstid + 1), auth->dstid,
sbin/ipsecctl/pfkey.c
279
ROUNDUP(strlen(auth->dstid) + 1));
sbin/ipsecctl/pfkey.c
69
struct ipsec_auth *auth, u_int8_t flowtype)
sbin/ipsecctl/pfkey.c
905
if (rule->auth == NULL) {
sbin/ipsecctl/pfkey.c
906
rule->auth = calloc(1, sizeof(struct
sbin/ipsecctl/pfkey.c
908
if (rule->auth == NULL)
sbin/ipsecctl/pfkey.c
912
rule->auth->srcid = calloc(1, len);
sbin/ipsecctl/pfkey.c
913
if (rule->auth->srcid == NULL)
sbin/ipsecctl/pfkey.c
916
strlcpy(rule->auth->srcid, (char *)(sident + 1), len);
sbin/ipsecctl/pfkey.c
924
if (rule->auth == NULL) {
sbin/ipsecctl/pfkey.c
925
rule->auth = calloc(1, sizeof(struct
sbin/ipsecctl/pfkey.c
927
if (rule->auth == NULL)
sbin/ipsecctl/pfkey.c
931
rule->auth->dstid = calloc(1, len);
sbin/ipsecctl/pfkey.c
932
if (rule->auth->dstid == NULL)
sbin/ipsecctl/pfkey.c
935
strlcpy(rule->auth->dstid, (char *)(sident + 1), len);
sbin/isakmpd/conf.c
471
int enc, auth, hash, group, proto, mode, pfs;
sbin/isakmpd/conf.c
559
for (auth = 0; mm_auth[auth]; auth++)
sbin/isakmpd/conf.c
562
mm_hash[hash], mm_auth[auth],
sbin/isakmpd/conf.c
564
mm_auth_p[auth], dhgroup_p[group],
sbin/isakmpd/ike_quick_mode.c
1699
!((struct ipsec_proto *)proto->data)->auth) {
sbin/isakmpd/ipsec.c
1546
iproto->auth = decode_16(value);
sbin/isakmpd/ipsec.c
1899
switch (iproto->auth) {
sbin/isakmpd/ipsec.h
133
u_int16_t auth;
sbin/isakmpd/pf_key_v2.c
941
switch (iproto->auth) {
sbin/isakmpd/pf_key_v2.c
971
iproto->auth));
sbin/isakmpd/sa.c
593
switch (iproto->auth) {
sbin/isakmpd/sa.c
621
fprintf(fd, "unknown (%d)", iproto->auth);
sbin/mount_nfs/mount_nfs.c
139
long auth;
sbin/mount_nfs/mount_nfs.c
459
nfhret.auth = RPCAUTH_UNIX;
sbin/mount_nfs/mount_nfs.c
535
long auth, authcnt, authfnd = 0;
sbin/mount_nfs/mount_nfs.c
555
if (!xdr_long(xdrsp, &auth))
sbin/mount_nfs/mount_nfs.c
557
if (auth == np->auth)
sbin/mount_nfs/mount_nfs.c
564
if (!authfnd && (authcnt > 0 || np->auth != RPCAUTH_UNIX))
sbin/mountd/mountd.c
915
long ok = 0, len, auth;
sbin/mountd/mountd.c
928
auth = RPCAUTH_UNIX;
sbin/mountd/mountd.c
932
return (xdr_long(xdrsp, &auth));
sys/dev/ic/pgt.c
2534
uint32_t wep, exunencrypted, wepkey, dot1x, auth, mlme;
sys/dev/ic/pgt.c
2629
auth = PGT_AUTH_MODE_NONE;
sys/dev/ic/pgt.c
2632
auth = PGT_AUTH_MODE_OPEN;
sys/dev/ic/pgt.c
2635
auth = PGT_AUTH_MODE_SHARED;
sys/dev/ic/pgt.c
2659
auth = htole32(auth);
sys/dev/ic/pgt.c
2720
SETOID(PGT_OID_AUTH_MODE, &auth, sizeof(auth));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
195
if (hdcp->auth.trans_input.hdcp1.create_session != UNKNOWN) {
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
204
memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
208
if (hdcp->auth.trans_input.hdcp2.create_session == PASS) {
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
218
memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
223
memset(&hdcp->auth, 0, sizeof(struct mod_hdcp_authentication));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
548
exec_status = execution(hdcp, &event_ctx, &hdcp->auth.trans_input);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.c
550
hdcp, &event_ctx, &hdcp->auth.trans_input, output);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp.h
206
struct mod_hdcp_authentication auth;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
100
status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp >> 8)
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
104
status = DRM_HDCP_MAX_CASCADE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus >> 8)
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
115
status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.binfo_dp) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
119
status = DRM_HDCP_MAX_DEVICE_EXCEEDED(hdcp->auth.msg.hdcp1.bstatus) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
128
DRM_HDCP_NUM_DOWNSTREAM(hdcp->auth.msg.hdcp1.binfo_dp) :
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
129
DRM_HDCP_NUM_DOWNSTREAM(hdcp->auth.msg.hdcp1.bstatus);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
202
if (hdcp->auth.msg.hdcp1.ainfo) {
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
34
memcpy(bksv, hdcp->auth.msg.hdcp1.bksv, sizeof(hdcp->auth.msg.hdcp1.bksv));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
349
hdcp->auth.msg.hdcp1.ksvlist_size = device_count*5;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
48
return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_READY) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
51
return (hdcp->auth.msg.hdcp1.bcaps & DRM_HDCP_DDC_BCAPS_KSV_FIFO_READY) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
58
return (hdcp->auth.msg.hdcp1.bcaps & DP_BCAPS_HDCP_CAPABLE) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
68
status = (hdcp->auth.msg.hdcp1.bstatus &
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
81
return (hdcp->auth.msg.hdcp1.bstatus &
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp1_execution.c
90
return (hdcp->auth.msg.hdcp1.bstatus & DP_BSTATUS_REAUTH_REQ) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
115
status = HDCP_2_2_DP_RXSTATUS_H_PRIME(hdcp->auth.msg.hdcp2.rxstatus_dp) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
119
const uint16_t size = get_hdmi_rxstatus_msg_size(hdcp->auth.msg.hdcp2.rxstatus);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
120
status = (size == sizeof(hdcp->auth.msg.hdcp2.ake_h_prime)) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
137
status = HDCP_2_2_DP_RXSTATUS_PAIRING(hdcp->auth.msg.hdcp2.rxstatus_dp) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
141
const uint16_t size = get_hdmi_rxstatus_msg_size(hdcp->auth.msg.hdcp2.rxstatus);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
142
status = (size == sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info)) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
167
const uint16_t size = get_hdmi_rxstatus_msg_size(hdcp->auth.msg.hdcp2.rxstatus);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
168
status = (size == sizeof(hdcp->auth.msg.hdcp2.lc_l_prime)) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
187
const uint16_t size = get_hdmi_rxstatus_msg_size(hdcp->auth.msg.hdcp2.rxstatus);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
188
status = (size == sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_ready)) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
198
return HDCP_2_2_DEV_COUNT_LO(hdcp->auth.msg.hdcp2.rx_id_list[2]) +
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
199
(HDCP_2_2_DEV_COUNT_HI(hdcp->auth.msg.hdcp2.rx_id_list[1]) << 4);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
242
hdcp->auth.msg.hdcp2.rx_id_list_size =
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
243
sizeof(hdcp->auth.msg.hdcp2.rx_id_list);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
245
hdcp->auth.msg.hdcp2.rx_id_list_size =
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
246
get_hdmi_rxstatus_msg_size(hdcp->auth.msg.hdcp2.rxstatus);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
40
is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
42
is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[1]) &&
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
43
get_hdmi_rxstatus_msg_size(hdcp->auth.msg.hdcp2.rxstatus) != 0) ? 1 : 0;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
53
status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) &&
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
54
HDCP_2_2_DP_HDCP_CAPABLE(hdcp->auth.msg.hdcp2.rxcaps_dp[2]) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
58
status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
70
ret = HDCP_2_2_DP_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus_dp) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
74
ret = HDCP_2_2_HDMI_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus[1]) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
83
return HDCP_2_2_DP_RXSTATUS_LINK_FAILED(hdcp->auth.msg.hdcp2.rxstatus_dp) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
97
const uint16_t size = get_hdmi_rxstatus_msg_size(hdcp->auth.msg.hdcp2.rxstatus);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_execution.c
98
status = (size == sizeof(hdcp->auth.msg.hdcp2.ake_cert)) ?
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_transition.c
346
hdcp->auth.count.stream_management_retry_count++;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_transition.c
360
if (hdcp->auth.count.stream_management_retry_count > 10) {
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_transition.c
363
hdcp->auth.count.stream_management_retry_count++;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_transition.c
681
if (hdcp->auth.count.stream_management_retry_count > 10) {
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp2_transition.c
684
hdcp->auth.count.stream_management_retry_count++;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
275
hdcp->auth.msg.hdcp1.bksv,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
276
sizeof(hdcp->auth.msg.hdcp1.bksv));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
282
&hdcp->auth.msg.hdcp1.bcaps,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
283
sizeof(hdcp->auth.msg.hdcp1.bcaps));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
292
(uint8_t *)&hdcp->auth.msg.hdcp1.bstatus,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
296
(uint8_t *)&hdcp->auth.msg.hdcp1.bstatus,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
297
sizeof(hdcp->auth.msg.hdcp1.bstatus));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
304
(uint8_t *)&hdcp->auth.msg.hdcp1.r0p,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
305
sizeof(hdcp->auth.msg.hdcp1.r0p));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
315
hdcp->auth.msg.hdcp1.ksvlist,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
316
hdcp->auth.msg.hdcp1.ksvlist_size,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
320
(uint8_t *)&hdcp->auth.msg.hdcp1.ksvlist,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
321
hdcp->auth.msg.hdcp1.ksvlist_size);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
330
&hdcp->auth.msg.hdcp1.vp[0], 4);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
335
&hdcp->auth.msg.hdcp1.vp[4], 4);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
340
&hdcp->auth.msg.hdcp1.vp[8], 4);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
345
&hdcp->auth.msg.hdcp1.vp[12], 4);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
350
&hdcp->auth.msg.hdcp1.vp[16], 4);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
361
(uint8_t *)&hdcp->auth.msg.hdcp1.binfo_dp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
362
sizeof(hdcp->auth.msg.hdcp1.binfo_dp));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
372
hdcp->auth.msg.hdcp1.aksv,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
373
sizeof(hdcp->auth.msg.hdcp1.aksv));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
379
&hdcp->auth.msg.hdcp1.ainfo,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
380
sizeof(hdcp->auth.msg.hdcp1.ainfo));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
386
hdcp->auth.msg.hdcp1.an,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
387
sizeof(hdcp->auth.msg.hdcp1.an));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
398
&hdcp->auth.msg.hdcp2.hdcp2version_hdmi,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
399
sizeof(hdcp->auth.msg.hdcp2.hdcp2version_hdmi));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
412
hdcp->auth.msg.hdcp2.rxcaps_dp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
413
sizeof(hdcp->auth.msg.hdcp2.rxcaps_dp));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
424
&hdcp->auth.msg.hdcp2.rxstatus_dp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
428
(uint8_t *)&hdcp->auth.msg.hdcp2.rxstatus,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
429
sizeof(hdcp->auth.msg.hdcp2.rxstatus));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
439
hdcp->auth.msg.hdcp2.ake_cert[0] = HDCP_2_2_AKE_SEND_CERT;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
441
hdcp->auth.msg.hdcp2.ake_cert+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
442
sizeof(hdcp->auth.msg.hdcp2.ake_cert)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
446
hdcp->auth.msg.hdcp2.ake_cert,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
447
sizeof(hdcp->auth.msg.hdcp2.ake_cert));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
457
hdcp->auth.msg.hdcp2.ake_h_prime[0] = HDCP_2_2_AKE_SEND_HPRIME;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
459
hdcp->auth.msg.hdcp2.ake_h_prime+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
460
sizeof(hdcp->auth.msg.hdcp2.ake_h_prime)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
464
hdcp->auth.msg.hdcp2.ake_h_prime,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
465
sizeof(hdcp->auth.msg.hdcp2.ake_h_prime));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
475
hdcp->auth.msg.hdcp2.ake_pairing_info[0] = HDCP_2_2_AKE_SEND_PAIRING_INFO;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
477
hdcp->auth.msg.hdcp2.ake_pairing_info+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
478
sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
482
hdcp->auth.msg.hdcp2.ake_pairing_info,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
483
sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
493
hdcp->auth.msg.hdcp2.lc_l_prime[0] = HDCP_2_2_LC_SEND_LPRIME;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
495
hdcp->auth.msg.hdcp2.lc_l_prime+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
496
sizeof(hdcp->auth.msg.hdcp2.lc_l_prime)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
500
hdcp->auth.msg.hdcp2.lc_l_prime,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
501
sizeof(hdcp->auth.msg.hdcp2.lc_l_prime));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
515
hdcp->auth.msg.hdcp2.rx_id_list[0] = HDCP_2_2_REP_SEND_RECVID_LIST;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
517
hdcp->auth.msg.hdcp2.rx_id_list+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
521
device_count = HDCP_2_2_DEV_COUNT_LO(hdcp->auth.msg.hdcp2.rx_id_list[2]) +
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
522
(HDCP_2_2_DEV_COUNT_HI(hdcp->auth.msg.hdcp2.rx_id_list[1]) << 4);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
524
(sizeof(hdcp->auth.msg.hdcp2.rx_id_list) - 1));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
526
hdcp->auth.msg.hdcp2.rx_id_list + 1 + bytes_read,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
531
hdcp->auth.msg.hdcp2.rx_id_list,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
532
hdcp->auth.msg.hdcp2.rx_id_list_size);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
542
hdcp->auth.msg.hdcp2.repeater_auth_stream_ready[0] = HDCP_2_2_REP_STREAM_READY;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
544
hdcp->auth.msg.hdcp2.repeater_auth_stream_ready+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
545
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_ready)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
549
hdcp->auth.msg.hdcp2.repeater_auth_stream_ready,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
550
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_ready));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
561
hdcp->auth.msg.hdcp2.ake_init+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
562
sizeof(hdcp->auth.msg.hdcp2.ake_init)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
565
hdcp->auth.msg.hdcp2.ake_init,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
566
sizeof(hdcp->auth.msg.hdcp2.ake_init));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
576
hdcp->auth.msg.hdcp2.ake_no_stored_km+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
577
sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
580
hdcp->auth.msg.hdcp2.ake_no_stored_km,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
581
sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
591
hdcp->auth.msg.hdcp2.ake_stored_km+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
592
sizeof(hdcp->auth.msg.hdcp2.ake_stored_km)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
595
hdcp->auth.msg.hdcp2.ake_stored_km,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
596
sizeof(hdcp->auth.msg.hdcp2.ake_stored_km));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
606
hdcp->auth.msg.hdcp2.lc_init+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
607
sizeof(hdcp->auth.msg.hdcp2.lc_init)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
610
hdcp->auth.msg.hdcp2.lc_init,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
611
sizeof(hdcp->auth.msg.hdcp2.lc_init));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
622
hdcp->auth.msg.hdcp2.ske_eks+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
623
sizeof(hdcp->auth.msg.hdcp2.ske_eks)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
627
hdcp->auth.msg.hdcp2.ske_eks,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
628
sizeof(hdcp->auth.msg.hdcp2.ske_eks));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
638
hdcp->auth.msg.hdcp2.repeater_auth_ack+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
639
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_ack)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
642
hdcp->auth.msg.hdcp2.repeater_auth_ack,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
643
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_ack));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
654
hdcp->auth.msg.hdcp2.repeater_auth_stream_manage+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
655
hdcp->auth.msg.hdcp2.stream_manage_size-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
659
hdcp->auth.msg.hdcp2.repeater_auth_stream_manage,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
660
hdcp->auth.msg.hdcp2.stream_manage_size);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
670
hdcp->auth.msg.hdcp2.content_stream_type_dp+1,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
671
sizeof(hdcp->auth.msg.hdcp2.content_stream_type_dp)-1);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
694
struct mod_hdcp_message_hdcp2 *hdcp2 = &hdcp->auth.msg.hdcp2;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_ddc.c
722
struct mod_hdcp_message_hdcp2 *hdcp2 = &hdcp->auth.msg.hdcp2;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
100
sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
101
HDCP_DDC_WRITE_TRACE(hdcp, "LC Init", hdcp->auth.msg.hdcp2.lc_init,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
102
sizeof(hdcp->auth.msg.hdcp2.lc_init));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
103
HDCP_DDC_READ_TRACE(hdcp, "L'", hdcp->auth.msg.hdcp2.lc_l_prime,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
104
sizeof(hdcp->auth.msg.hdcp2.lc_l_prime));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
105
HDCP_DDC_WRITE_TRACE(hdcp, "Exchange KS", hdcp->auth.msg.hdcp2.ske_eks,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
106
sizeof(hdcp->auth.msg.hdcp2.ske_eks));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
108
(uint8_t *)&hdcp->auth.msg.hdcp2.rxstatus,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
109
sizeof(hdcp->auth.msg.hdcp2.rxstatus));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
111
hdcp->auth.msg.hdcp2.rx_id_list,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
112
hdcp->auth.msg.hdcp2.rx_id_list_size);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
114
hdcp->auth.msg.hdcp2.repeater_auth_ack,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
115
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_ack));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
117
hdcp->auth.msg.hdcp2.repeater_auth_stream_manage,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
118
hdcp->auth.msg.hdcp2.stream_manage_size);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
120
hdcp->auth.msg.hdcp2.repeater_auth_stream_ready,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
121
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_ready));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
123
hdcp->auth.msg.hdcp2.content_stream_type_dp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
124
sizeof(hdcp->auth.msg.hdcp2.content_stream_type_dp));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
57
HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
58
sizeof(hdcp->auth.msg.hdcp1.bksv));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
59
HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
60
sizeof(hdcp->auth.msg.hdcp1.bcaps));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
62
(uint8_t *)&hdcp->auth.msg.hdcp1.bstatus,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
63
sizeof(hdcp->auth.msg.hdcp1.bstatus));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
64
HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
65
sizeof(hdcp->auth.msg.hdcp1.an));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
66
HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
67
sizeof(hdcp->auth.msg.hdcp1.aksv));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
68
HDCP_DDC_WRITE_TRACE(hdcp, "AINFO", &hdcp->auth.msg.hdcp1.ainfo,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
69
sizeof(hdcp->auth.msg.hdcp1.ainfo));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
71
(uint8_t *)&hdcp->auth.msg.hdcp1.r0p,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
72
sizeof(hdcp->auth.msg.hdcp1.r0p));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
74
(uint8_t *)&hdcp->auth.msg.hdcp1.binfo_dp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
75
sizeof(hdcp->auth.msg.hdcp1.binfo_dp));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
76
HDCP_DDC_READ_TRACE(hdcp, "KSVLIST", hdcp->auth.msg.hdcp1.ksvlist,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
77
hdcp->auth.msg.hdcp1.ksvlist_size);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
78
HDCP_DDC_READ_TRACE(hdcp, "V'", hdcp->auth.msg.hdcp1.vp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
79
sizeof(hdcp->auth.msg.hdcp1.vp));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
82
&hdcp->auth.msg.hdcp2.hdcp2version_hdmi,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
83
sizeof(hdcp->auth.msg.hdcp2.hdcp2version_hdmi));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
84
HDCP_DDC_READ_TRACE(hdcp, "Rx Caps", hdcp->auth.msg.hdcp2.rxcaps_dp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
85
sizeof(hdcp->auth.msg.hdcp2.rxcaps_dp));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
86
HDCP_DDC_WRITE_TRACE(hdcp, "AKE Init", hdcp->auth.msg.hdcp2.ake_init,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
87
sizeof(hdcp->auth.msg.hdcp2.ake_init));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
88
HDCP_DDC_READ_TRACE(hdcp, "AKE Cert", hdcp->auth.msg.hdcp2.ake_cert,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
89
sizeof(hdcp->auth.msg.hdcp2.ake_cert));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
91
hdcp->auth.msg.hdcp2.ake_stored_km,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
92
sizeof(hdcp->auth.msg.hdcp2.ake_stored_km));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
94
hdcp->auth.msg.hdcp2.ake_no_stored_km,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
95
sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
96
HDCP_DDC_READ_TRACE(hdcp, "H'", hdcp->auth.msg.hdcp2.ake_h_prime,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
97
sizeof(hdcp->auth.msg.hdcp2.ake_h_prime));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_log.c
99
hdcp->auth.msg.hdcp2.ake_pairing_info,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
1015
msg_in->process.msg1_desc.msg_size = sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_ready);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
1017
memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.repeater_auth_stream_ready,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
1018
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_ready));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
276
hdcp->auth.id = hdcp_cmd->out_msg.hdcp1_create_session.session_handle;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
281
hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
282
memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
283
sizeof(hdcp->auth.msg.hdcp1.aksv));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
284
memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
285
sizeof(hdcp->auth.msg.hdcp1.an));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
304
hdcp_cmd->in_msg.hdcp1_destroy_session.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
336
hdcp_cmd->in_msg.hdcp1_first_part_authentication.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
338
memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
341
hdcp_cmd->in_msg.hdcp1_first_part_authentication.r0_prime_primary = hdcp->auth.msg.hdcp1.r0p;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
342
hdcp_cmd->in_msg.hdcp1_first_part_authentication.bcaps = hdcp->auth.msg.hdcp1.bcaps;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
37
in->session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
381
hdcp_cmd->in_msg.hdcp1_enable_encryption.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
407
hdcp_cmd->in_msg.hdcp1_second_part_authentication.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
409
hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list_size = hdcp->auth.msg.hdcp1.ksvlist_size;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
410
memcpy(hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list, hdcp->auth.msg.hdcp1.ksvlist,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
411
hdcp->auth.msg.hdcp1.ksvlist_size);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
413
memcpy(hdcp_cmd->in_msg.hdcp1_second_part_authentication.v_prime, hdcp->auth.msg.hdcp1.vp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
414
sizeof(hdcp->auth.msg.hdcp1.vp));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
417
is_dp_hdcp(hdcp) ? hdcp->auth.msg.hdcp1.binfo_dp : hdcp->auth.msg.hdcp1.bstatus;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
456
hdcp_cmd->in_msg.hdcp1_enable_dp_stream_encryption.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
486
hdcp_cmd->in_msg.hdcp1_get_encryption_status.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
542
hdcp->auth.id = hdcp_cmd->out_msg.hdcp2_create_session_v2.session_handle;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
559
hdcp_cmd->in_msg.hdcp2_destroy_session.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
606
memcpy(&hdcp->auth.msg.hdcp2.ake_init[0], &msg_out->prepare.transmitter_message[0],
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
607
sizeof(hdcp->auth.msg.hdcp2.ake_init));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
633
memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.ake_cert,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
634
sizeof(hdcp->auth.msg.hdcp2.ake_cert));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
646
memcpy(hdcp->auth.msg.hdcp2.ake_no_stored_km,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
648
sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
650
memcpy(hdcp->auth.msg.hdcp2.ake_stored_km,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
651
&msg_out->prepare.transmitter_message[sizeof(hdcp->auth.msg.hdcp2.ake_no_stored_km)],
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
652
sizeof(hdcp->auth.msg.hdcp2.ake_stored_km));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
693
memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.ake_h_prime,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
694
sizeof(hdcp->auth.msg.hdcp2.ake_h_prime));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
699
memcpy(&msg_in->process.receiver_message[sizeof(hdcp->auth.msg.hdcp2.ake_h_prime)],
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
700
hdcp->auth.msg.hdcp2.ake_pairing_info, sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
745
memcpy(hdcp->auth.msg.hdcp2.lc_init, &msg_out->prepare.transmitter_message[0],
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
746
sizeof(hdcp->auth.msg.hdcp2.lc_init));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
772
memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.lc_l_prime,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
773
sizeof(hdcp->auth.msg.hdcp2.lc_l_prime));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
815
memcpy(hdcp->auth.msg.hdcp2.ske_eks,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
817
sizeof(hdcp->auth.msg.hdcp2.ske_eks));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
819
sizeof(hdcp->auth.msg.hdcp2.ske_eks);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
822
memcpy(hdcp->auth.msg.hdcp2.content_stream_type_dp,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
823
&msg_out->prepare.transmitter_message[sizeof(hdcp->auth.msg.hdcp2.ske_eks)],
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
824
sizeof(hdcp->auth.msg.hdcp2.content_stream_type_dp));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
847
hdcp_cmd->in_msg.hdcp2_set_encryption.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
882
msg_in->process.msg1_desc.msg_size = sizeof(hdcp->auth.msg.hdcp2.rx_id_list);
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
883
memcpy(&msg_in->process.receiver_message[0], hdcp->auth.msg.hdcp2.rx_id_list,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
884
sizeof(hdcp->auth.msg.hdcp2.rx_id_list));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
895
memcpy(hdcp->auth.msg.hdcp2.repeater_auth_ack,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
897
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_ack));
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
938
hdcp_cmd->in_msg.hdcp2_enable_dp_stream_encryption.session_handle = hdcp->auth.id;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
986
hdcp->auth.msg.hdcp2.stream_manage_size = msg_out->prepare.msg1_desc.msg_size;
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
988
memcpy(hdcp->auth.msg.hdcp2.repeater_auth_stream_manage,
sys/dev/pci/drm/amd/display/modules/hdcp/hdcp_psp.c
990
sizeof(hdcp->auth.msg.hdcp2.repeater_auth_stream_manage));
sys/dev/pci/drm/drm_auth.c
100
struct drm_auth *auth = data;
sys/dev/pci/drm/drm_auth.c
110
auth->magic = file_priv->magic;
sys/dev/pci/drm/drm_auth.c
112
drm_dbg_core(dev, "%u\n", auth->magic);
sys/dev/pci/drm/drm_auth.c
120
struct drm_auth *auth = data;
sys/dev/pci/drm/drm_auth.c
123
drm_dbg_core(dev, "%u\n", auth->magic);
sys/dev/pci/drm/drm_auth.c
126
file = idr_find(&file_priv->master->magic_map, auth->magic);
sys/dev/pci/drm/drm_auth.c
129
idr_replace(&file_priv->master->magic_map, NULL, auth->magic);
sys/dev/pci/drm/drm_ioc32.c
168
int auth; /* Is client authenticated? */
sys/dev/pci/drm/drm_ioc32.c
195
c32.auth = client.auth;
sys/dev/pci/drm/drm_ioctl.c
204
client->auth = file_priv->authenticated;
sys/dev/pci/drm/include/uapi/drm/drm.h
241
int auth; /**< Is client authenticated? */
sys/dev/pci/drm/radeon/r100.c
1396
const unsigned *auth, unsigned n,
sys/dev/pci/drm/radeon/r100.c
1422
if (auth[j] & m) {
sys/dev/pci/drm/radeon/r100.c
1429
if (!(auth[j] & m)) {
sys/dev/pci/drm/radeon/radeon_asic.h
126
const unsigned *auth, unsigned n,
sys/dev/pci/if_iwi.c
1005
struct iwi_notif_authentication *auth =
sys/dev/pci/if_iwi.c
1008
DPRINTFN(2, ("Authentication (%u)\n", auth->state));
sys/dev/pci/if_iwi.c
1010
switch (auth->state) {
sys/dev/pci/if_iwi.c
1020
sc->sc_dev.dv_xname, auth->state);
sys/dev/pci/if_iwi.c
2148
ether_sprintf(assoc.bssid), assoc.chan, assoc.auth));
sys/dev/pci/if_iwireg.h
334
uint8_t auth;
sys/dev/usb/if_rsu.c
1000
struct r92s_fw_cmd_auth auth;
sys/dev/usb/if_rsu.c
1012
memset(&auth, 0, sizeof(auth));
sys/dev/usb/if_rsu.c
1014
auth.mode = R92S_AUTHMODE_WPA;
sys/dev/usb/if_rsu.c
1015
auth.dot1x = ieee80211_is_8021x_akm(ni->ni_rsnakms);
sys/dev/usb/if_rsu.c
1017
auth.mode = R92S_AUTHMODE_OPEN;
sys/dev/usb/if_rsu.c
1018
DPRINTF(("setting auth mode to %d\n", auth.mode));
sys/dev/usb/if_rsu.c
1019
error = rsu_fw_cmd(sc, R92S_CMD_SET_AUTH, &auth, sizeof(auth));
sys/lib/libsa/rpc.c
114
struct auth_info *auth;
sys/lib/libsa/rpc.c
142
send_head -= sizeof(*auth);
sys/lib/libsa/rpc.c
143
auth = (struct auth_info *)send_head;
sys/lib/libsa/rpc.c
144
auth->authtype = htonl(RPCAUTH_NULL);
sys/lib/libsa/rpc.c
145
auth->authlen = 0;
sys/lib/libsa/rpc.c
151
send_head -= sizeof(*auth);
sys/lib/libsa/rpc.c
152
auth = (struct auth_info *)send_head;
sys/lib/libsa/rpc.c
153
auth->authtype = htonl(RPCAUTH_UNIX);
sys/lib/libsa/rpc.c
154
auth->authlen = htonl(sizeof(struct auth_unix));
sys/lib/libsa/rpc.c
157
send_head -= sizeof(*auth);
sys/lib/libsa/rpc.c
158
auth = send_head;
sys/lib/libsa/rpc.c
159
auth->authtype = htonl(RPCAUTH_NULL);
sys/lib/libsa/rpc.c
160
auth->authlen = 0;
sys/lib/libsa/rpc.c
202
auth = &reply->rp_u.rpu_rok.rok_auth;
sys/lib/libsa/rpc.c
203
x = ntohl(auth->authlen);
sys/net/bfd.c
760
struct bfd_auth_header *auth;
sys/net/bfd.c
806
mp0 = m_pulldown(mp, 0, sizeof(*auth), &offp);
sys/net/bfd.c
809
auth = (struct bfd_auth_header *)(mp0->m_data + offp);
sys/net/bfd.c
811
if (bfd_process_auth(bfd, auth) != 0) {
sys/net/if_spppsubr.c
4587
struct sauth *auth;
sys/net/if_spppsubr.c
4590
auth = (cmd == SPPPIOGMAUTH) ? &sp->myauth : &sp->hisauth;
sys/net/if_spppsubr.c
4592
spa->proto = auth->proto;
sys/net/if_spppsubr.c
4593
spa->flags = auth->flags;
sys/net/if_spppsubr.c
4596
if (auth->name != NULL && suser(curproc) == 0)
sys/net/if_spppsubr.c
4597
strlcpy(spa->name, auth->name, sizeof(spa->name));
sys/net/if_spppsubr.c
4674
struct sauth *auth;
sys/net/if_spppsubr.c
4680
auth = (cmd == SPPPIOSMAUTH) ? &sp->myauth : &sp->hisauth;
sys/net/if_spppsubr.c
4695
if (auth->name != NULL)
sys/net/if_spppsubr.c
4696
free(auth->name, M_DEVBUF,
sys/net/if_spppsubr.c
4697
strlen(auth->name) + 1);
sys/net/if_spppsubr.c
4698
if (auth->secret != NULL)
sys/net/if_spppsubr.c
4699
free(auth->secret, M_DEVBUF,
sys/net/if_spppsubr.c
4700
strlen(auth->secret) + 1);
sys/net/if_spppsubr.c
4701
bzero(auth, sizeof *auth);
sys/net/if_spppsubr.c
4705
auth->proto = spa->proto;
sys/net/if_spppsubr.c
4706
auth->flags = spa->flags;
sys/net/if_spppsubr.c
4712
if (auth->name != NULL)
sys/net/if_spppsubr.c
4713
free(auth->name, M_DEVBUF,
sys/net/if_spppsubr.c
4714
strlen(auth->name) + 1);
sys/net/if_spppsubr.c
4715
auth->name = p;
sys/net/if_spppsubr.c
4722
if (auth->secret != NULL)
sys/net/if_spppsubr.c
4723
free(auth->secret, M_DEVBUF,
sys/net/if_spppsubr.c
4724
strlen(auth->secret) + 1);
sys/net/if_spppsubr.c
4725
auth->secret = p;
sys/net/if_spppsubr.c
4726
} else if (!auth->secret) {
sys/net/if_spppsubr.c
4729
auth->secret = p;
sys/net80211/ieee80211.h
906
#define IEEE80211_AUTH_ALGORITHM(auth) \
sys/net80211/ieee80211.h
907
((auth)[0] | ((auth)[1] << 8))
sys/net80211/ieee80211.h
908
#define IEEE80211_AUTH_TRANSACTION(auth) \
sys/net80211/ieee80211.h
909
((auth)[2] | ((auth)[3] << 8))
sys/net80211/ieee80211.h
910
#define IEEE80211_AUTH_STATUS(auth) \
sys/net80211/ieee80211.h
911
((auth)[4] | ((auth)[5] << 8))
sys/net80211/ieee80211_crypto_ccmp.c
139
la = aad - &auth[2]; /* fill l(a) */
sys/net80211/ieee80211_crypto_ccmp.c
140
auth[0] = la >> 8;
sys/net80211/ieee80211_crypto_ccmp.c
141
auth[1] = la & 0xff;
sys/net80211/ieee80211_crypto_ccmp.c
152
b[i] ^= auth[i];
sys/net80211/ieee80211_crypto_ccmp.c
155
b[i] ^= auth[16 + i];
sys/net80211/ieee80211_crypto_ccmp.c
84
u_int8_t auth[32], nonce[13];
sys/net80211/ieee80211_crypto_ccmp.c
90
aad = &auth[2]; /* skip l(a), will be filled later */
usr.bin/mandoc/mdoc.h
134
enum mdoc_auth auth; /* -split, etc. */
usr.bin/mandoc/mdoc_html.c
1014
if (n->norm->An.auth == AUTH_split) {
usr.bin/mandoc/mdoc_html.c
1019
if (n->norm->An.auth == AUTH_nosplit) {
usr.bin/mandoc/mdoc_man.c
917
switch (n->norm->An.auth) {
usr.bin/mandoc/mdoc_markdown.c
869
switch (n->norm->An.auth) {
usr.bin/mandoc/mdoc_term.c
1071
if (n->norm->An.auth == AUTH_split) {
usr.bin/mandoc/mdoc_term.c
1076
if (n->norm->An.auth == AUTH_nosplit) {
usr.bin/mandoc/mdoc_validate.c
1575
if (np->norm->An.auth == AUTH__NONE) {
usr.bin/mandoc/mdoc_validate.c
898
n->norm->An.auth = AUTH_split;
usr.bin/mandoc/mdoc_validate.c
900
n->norm->An.auth = AUTH_nosplit;
usr.bin/sndiod/sock.c
683
struct amsg_auth *p = &f->rmsg.u.auth;
usr.sbin/acme-client/main.c
135
if ((auth = domain->auth) == NULL) {
usr.sbin/acme-client/main.c
141
authority = authority_find(conf, auth);
usr.sbin/acme-client/main.c
143
errx(EXIT_FAILURE, "authority %s not found", auth);
usr.sbin/acme-client/main.c
44
char *chngdir = NULL, *auth = NULL;
usr.sbin/acme-client/netproc.c
560
dochngreq(struct conn *c, const char *auth, struct chng *chng)
usr.sbin/acme-client/netproc.c
566
dodbg("%s: %s", __func__, auth);
usr.sbin/acme-client/netproc.c
568
if ((lc = sreq(c, auth, 1, "", NULL)) < 0)
usr.sbin/acme-client/netproc.c
569
warnx("%s: bad comm", auth);
usr.sbin/acme-client/netproc.c
571
warnx("%s: bad HTTP: %ld", auth, lc);
usr.sbin/acme-client/netproc.c
573
warnx("%s: bad JSON object", auth);
usr.sbin/acme-client/netproc.c
575
warnx("%s: bad challenge", auth);
usr.sbin/acme-client/parse.h
62
char *auth;
usr.sbin/acme-client/parse.y
1141
if (d->auth != NULL)
usr.sbin/acme-client/parse.y
1142
printf("\tsign with \"%s\"\n", d->auth);
usr.sbin/acme-client/parse.y
192
if ((auth = conf_new_authority(conf, s)) == NULL) {
usr.sbin/acme-client/parse.y
198
if (auth->api == NULL) {
usr.sbin/acme-client/parse.y
200
auth->name);
usr.sbin/acme-client/parse.y
203
if (auth->account == NULL) {
usr.sbin/acme-client/parse.y
205
"specified", auth->name);
usr.sbin/acme-client/parse.y
208
auth = NULL;
usr.sbin/acme-client/parse.y
218
if (auth->api != NULL) {
usr.sbin/acme-client/parse.y
224
auth->api = s;
usr.sbin/acme-client/parse.y
228
if (auth->account != NULL) {
usr.sbin/acme-client/parse.y
234
auth->account = s;
usr.sbin/acme-client/parse.y
235
auth->keytype = $4;
usr.sbin/acme-client/parse.y
239
if (auth->contact != NULL) {
usr.sbin/acme-client/parse.y
245
auth->contact = s;
usr.sbin/acme-client/parse.y
248
auth->insecure = 1;
usr.sbin/acme-client/parse.y
405
if (domain->auth != NULL) {
usr.sbin/acme-client/parse.y
416
domain->auth = s;
usr.sbin/acme-client/parse.y
92
static struct authority_c *auth;
usr.sbin/amd/amd/misc_rpc.c
110
struct rpc_msg *mp, void *arg, xdrproc_t arg_xdr, AUTH *auth)
usr.sbin/amd/amd/misc_rpc.c
129
if (!AUTH_MARSHALL(auth, &msg_xdr))
usr.sbin/amd/amd/srvr_nfs.c
200
call_portmap(fserver *fs, AUTH *auth, unsigned long prog,
usr.sbin/amd/amd/srvr_nfs.c
215
&pmap_msg, &pmap, xdr_pmap, auth);
usr.sbin/amd/rpcx/mount_xdr.c
49
long auth, authcnt, authfnd = 0;
usr.sbin/amd/rpcx/mount_xdr.c
70
if (!xdr_long(xdrsp, &auth))
usr.sbin/amd/rpcx/mount_xdr.c
72
if (auth == objp->fhs_auth)
usr.sbin/bgpd/bgpd.c
1377
if (pfkey_establish(&ce->auth_state, &r->auth,
usr.sbin/bgpd/bgpd.c
1412
if (tcp_md5_set(ce->fd, &r->auth, &r->remote_addr) == -1)
usr.sbin/bgpd/bgpd.h
620
struct auth_config auth;
usr.sbin/bgpd/parse.y
735
if (merge_auth_conf(&currtr->auth, &$1) == 0)
usr.sbin/bgpd/pfkey.c
534
pfkey_md5sig_establish(struct auth_state *as, struct auth_config *auth,
usr.sbin/bgpd/pfkey.c
541
auth->md5key_len, auth->md5key, &spi_out) == -1)
usr.sbin/bgpd/pfkey.c
545
auth->md5key_len, auth->md5key, &spi_in) == -1)
usr.sbin/bgpd/pfkey.c
553
as->method = auth->method;
usr.sbin/bgpd/pfkey.c
610
pfkey_ipsec_establish(struct auth_state *as, struct auth_config *auth,
usr.sbin/bgpd/pfkey.c
619
switch (auth->method) {
usr.sbin/bgpd/pfkey.c
628
satype = auth->method == AUTH_IPSEC_MANUAL_ESP ?
usr.sbin/bgpd/pfkey.c
632
auth->spi_out,
usr.sbin/bgpd/pfkey.c
633
pfkey_auth_alg(auth->auth_alg_out),
usr.sbin/bgpd/pfkey.c
634
auth->auth_keylen_out,
usr.sbin/bgpd/pfkey.c
635
auth->auth_key_out,
usr.sbin/bgpd/pfkey.c
636
pfkey_enc_alg(auth->enc_alg_out),
usr.sbin/bgpd/pfkey.c
637
auth->enc_keylen_out,
usr.sbin/bgpd/pfkey.c
638
auth->enc_key_out,
usr.sbin/bgpd/pfkey.c
645
auth->spi_in,
usr.sbin/bgpd/pfkey.c
646
pfkey_auth_alg(auth->auth_alg_in),
usr.sbin/bgpd/pfkey.c
647
auth->auth_keylen_in,
usr.sbin/bgpd/pfkey.c
648
auth->auth_key_in,
usr.sbin/bgpd/pfkey.c
649
pfkey_enc_alg(auth->enc_alg_in),
usr.sbin/bgpd/pfkey.c
650
auth->enc_keylen_in,
usr.sbin/bgpd/pfkey.c
651
auth->enc_key_in,
usr.sbin/bgpd/pfkey.c
687
as->method = auth->method;
usr.sbin/bgpd/pfkey.c
690
as->spi_in = auth->spi_in;
usr.sbin/bgpd/pfkey.c
691
as->spi_out = auth->spi_out;
usr.sbin/bgpd/pfkey.c
772
pfkey_establish(struct auth_state *as, struct auth_config *auth,
usr.sbin/bgpd/pfkey.c
775
switch (auth->method) {
usr.sbin/bgpd/pfkey.c
779
return pfkey_md5sig_establish(as, auth, local_addr,
usr.sbin/bgpd/pfkey.c
782
return pfkey_ipsec_establish(as, auth, local_addr, remote_addr);
usr.sbin/bgpd/pfkey.c
817
pfkey_send_conf(struct imsgbuf *imsgbuf, uint32_t id, struct auth_config *auth)
usr.sbin/bgpd/pfkey.c
821
&auth->method, sizeof(auth->method));
usr.sbin/bgpd/pfkey.c
827
struct auth_config *auth = &p->auth_conf;
usr.sbin/bgpd/pfkey.c
829
return imsg_get_data(imsg, &auth->method, sizeof(auth->method));
usr.sbin/bgpd/pfkey.c
834
tcp_md5_check(int fd, struct auth_config *auth)
usr.sbin/bgpd/pfkey.c
839
if (auth->method == AUTH_MD5SIG) {
usr.sbin/bgpd/pfkey.c
858
tcp_md5_set(int fd, struct auth_config *auth, struct bgpd_addr *remote_addr)
usr.sbin/bgpd/pfkey.c
862
if (auth->method == AUTH_MD5SIG) {
usr.sbin/bgpd/printconf.c
708
print_auth(struct auth_config *auth, const char *c)
usr.sbin/bgpd/printconf.c
712
if (auth->method == AUTH_MD5SIG)
usr.sbin/bgpd/printconf.c
714
else if (auth->method == AUTH_IPSEC_MANUAL_ESP ||
usr.sbin/bgpd/printconf.c
715
auth->method == AUTH_IPSEC_MANUAL_AH) {
usr.sbin/bgpd/printconf.c
716
if (auth->method == AUTH_IPSEC_MANUAL_ESP)
usr.sbin/bgpd/printconf.c
722
auth->spi_in, print_auth_alg(auth->auth_alg_in));
usr.sbin/bgpd/printconf.c
723
if (auth->enc_alg_in)
usr.sbin/bgpd/printconf.c
724
printf(" %s XXXXXX", print_enc_alg(auth->enc_alg_in));
usr.sbin/bgpd/printconf.c
728
auth->spi_out, print_auth_alg(auth->auth_alg_out));
usr.sbin/bgpd/printconf.c
729
if (auth->enc_alg_out)
usr.sbin/bgpd/printconf.c
731
print_enc_alg(auth->enc_alg_out));
usr.sbin/bgpd/printconf.c
733
} else if (auth->method == AUTH_IPSEC_IKE_AH)
usr.sbin/bgpd/printconf.c
735
else if (auth->method == AUTH_IPSEC_IKE_ESP)
usr.sbin/bgpd/printconf.c
751
print_auth(&r->auth, "");
usr.sbin/httpd/config.c
104
while ((auth = TAILQ_FIRST(env->sc_auth)) != NULL) {
usr.sbin/httpd/config.c
105
auth_free(env->sc_auth, auth);
usr.sbin/httpd/config.c
106
free(auth);
usr.sbin/httpd/config.c
195
cfg->auth = NULL;
usr.sbin/httpd/config.c
488
if ((srv_conf->auth = auth_byid(env->sc_auth,
usr.sbin/httpd/config.c
579
srv_conf->auth = parent->auth;
usr.sbin/httpd/config.c
90
struct auth *auth;
usr.sbin/httpd/config.c
925
config_setauth(struct httpd *env, struct auth *auth)
usr.sbin/httpd/config.c
928
struct auth auth_payload; /* pointer-free payload */
usr.sbin/httpd/config.c
939
auth->auth_htpasswd, auth->auth_id, ps->ps_title[id]);
usr.sbin/httpd/config.c
943
memcpy(&auth_payload, auth, sizeof(*auth));
usr.sbin/httpd/config.c
960
struct auth auth;
usr.sbin/httpd/config.c
963
IMSG_SIZE_CHECK(imsg, &auth);
usr.sbin/httpd/config.c
964
memcpy(&auth, p, sizeof(auth));
usr.sbin/httpd/config.c
966
if (auth_add(env->sc_auth, &auth) == NULL) {
usr.sbin/httpd/config.c
968
__func__, auth.auth_htpasswd, auth.auth_id);
usr.sbin/httpd/config.c
974
auth.auth_htpasswd, auth.auth_id);
usr.sbin/httpd/httpd.c
1169
struct auth *
usr.sbin/httpd/httpd.c
1170
auth_add(struct serverauth *serverauth, struct auth *auth)
usr.sbin/httpd/httpd.c
1172
struct auth *entry;
usr.sbin/httpd/httpd.c
1175
if (strcmp(entry->auth_htpasswd, auth->auth_htpasswd) == 0)
usr.sbin/httpd/httpd.c
1182
memcpy(entry, auth, sizeof(*entry));
usr.sbin/httpd/httpd.c
1189
struct auth *
usr.sbin/httpd/httpd.c
1192
struct auth *auth;
usr.sbin/httpd/httpd.c
1194
TAILQ_FOREACH(auth, serverauth, auth_entry) {
usr.sbin/httpd/httpd.c
1195
if (auth->auth_id == id)
usr.sbin/httpd/httpd.c
1196
return (auth);
usr.sbin/httpd/httpd.c
1203
auth_free(struct serverauth *serverauth, struct auth *auth)
usr.sbin/httpd/httpd.c
1205
TAILQ_REMOVE(serverauth, auth, auth_entry);
usr.sbin/httpd/httpd.c
280
struct auth *auth;
usr.sbin/httpd/httpd.c
289
TAILQ_FOREACH(auth, env->sc_auth, auth_entry) {
usr.sbin/httpd/httpd.c
290
if (config_setauth(env, auth) == -1)
usr.sbin/httpd/httpd.h
455
TAILQ_ENTRY(auth) auth_entry;
usr.sbin/httpd/httpd.h
457
TAILQ_HEAD(serverauth, auth);
usr.sbin/httpd/httpd.h
532
const struct auth *auth;
usr.sbin/httpd/httpd.h
754
struct auth *auth_add(struct serverauth *, struct auth *);
usr.sbin/httpd/httpd.h
755
struct auth *auth_byid(struct serverauth *, uint32_t);
usr.sbin/httpd/httpd.h
756
void auth_free(struct serverauth *, struct auth *);
usr.sbin/httpd/httpd.h
810
int config_setauth(struct httpd *, struct auth *);
usr.sbin/httpd/parse.y
1022
struct auth *auth;
usr.sbin/httpd/parse.y
1024
if ((auth = auth_add(conf->sc_auth, &$2)) == NULL) {
usr.sbin/httpd/parse.y
1029
if (auth->auth_id == 0) {
usr.sbin/httpd/parse.y
1031
auth->auth_id = ++last_auth_id;
usr.sbin/httpd/parse.y
1034
auth_free(conf->sc_auth, auth);
usr.sbin/httpd/parse.y
1039
srv->srv_conf.auth_id = auth->auth_id;
usr.sbin/httpd/parse.y
131
struct auth auth;
usr.sbin/httpd/parse.y
153
%type <v.auth> authopts
usr.sbin/httpd/server.c
493
srv_conf->auth = NULL;
usr.sbin/httpd/server_http.c
129
const struct auth *auth = srv_conf->auth;
usr.sbin/httpd/server_http.c
159
if ((fp = fopen(auth->auth_htpasswd, "r")) == NULL)
usr.sbin/ldapd/auth.c
298
ldap_auth_simple(struct request *req, char *binddn, struct ber_element *auth)
usr.sbin/ldapd/auth.c
318
if (ober_scanf_elements(auth, "s", &password) != 0)
usr.sbin/ldapd/auth.c
406
struct ber_element *auth;
usr.sbin/ldapd/auth.c
410
if (ober_scanf_elements(req->op, "{ise", &ver, &binddn, &auth) != 0) {
usr.sbin/ldapd/auth.c
425
switch (auth->be_type) {
usr.sbin/ldapd/auth.c
427
if ((rc = ldap_auth_simple(req, binddn, auth)) < 0)
usr.sbin/ldapd/auth.c
431
if ((rc = ldap_auth_sasl(req, binddn, auth)) == LDAP_SUCCESS)
usr.sbin/ldpd/lde.c
543
struct ldp_auth *auth;
usr.sbin/ldpd/lde.c
545
auth = malloc(sizeof(*auth));
usr.sbin/ldpd/lde.c
546
if (auth == NULL)
usr.sbin/ldpd/lde.c
549
memcpy(auth, imsg.data, sizeof(*auth));
usr.sbin/ldpd/lde.c
551
LIST_INSERT_HEAD(&nconf->auth_list, auth, entry);
usr.sbin/ldpd/ldpd.c
1231
struct ldp_auth *auth;
usr.sbin/ldpd/ldpd.c
1233
LIST_FOREACH(auth, &conf->auth_list, entry) {
usr.sbin/ldpd/ldpd.c
1235
if (needle->md5key_len != auth->md5key_len)
usr.sbin/ldpd/ldpd.c
1237
if (needle->idlen != auth->idlen)
usr.sbin/ldpd/ldpd.c
1240
if (memcmp(needle->md5key, auth->md5key,
usr.sbin/ldpd/ldpd.c
1244
mask = prefixlen2mask(auth->idlen);
usr.sbin/ldpd/ldpd.c
1245
if ((needle->id.s_addr & mask) != (auth->id.s_addr & mask))
usr.sbin/ldpd/ldpd.c
1248
return (auth);
usr.sbin/ldpd/ldpd.c
1257
struct ldp_auth *auth, *nauth, *xauth;
usr.sbin/ldpd/ldpd.c
1260
LIST_FOREACH_SAFE(auth, &conf->auth_list, entry, nauth) {
usr.sbin/ldpd/ldpd.c
1261
xauth = auth_find(xconf, auth);
usr.sbin/ldpd/ldpd.c
1265
LIST_REMOVE(auth, entry);
usr.sbin/ldpd/ldpd.c
1267
free(auth);
usr.sbin/ldpd/ldpd.c
1274
auth = auth_find(conf, xauth);
usr.sbin/ldpd/ldpd.c
1275
if (auth == NULL) {
usr.sbin/ldpd/ldpd.c
702
struct ldp_auth *auth;
usr.sbin/ldpd/ldpd.c
708
LIST_FOREACH(auth, &xconf->auth_list, entry) {
usr.sbin/ldpd/ldpd.c
710
auth, sizeof(*auth)) == -1)
usr.sbin/ldpd/ldpe.c
452
struct ldp_auth *auth;
usr.sbin/ldpd/ldpe.c
454
auth = malloc(sizeof(*auth));
usr.sbin/ldpd/ldpe.c
455
if (auth == NULL)
usr.sbin/ldpd/ldpe.c
458
memcpy(auth, imsg.data, sizeof(*auth));
usr.sbin/ldpd/ldpe.c
460
LIST_INSERT_HEAD(&nconf->auth_list, auth, entry);
usr.sbin/ldpd/parse.y
161
%type <v.auth> auth tcpmd5 optnbrprefix
usr.sbin/ldpd/parse.y
294
| auth {
usr.sbin/ldpd/parse.y
512
auth : tcpmd5 optnbrprefix {
usr.sbin/ldpd/parse.y
84
struct ldp_auth *auth;
usr.sbin/ldpd/pfkey.c
370
pfkey_md5sig_establish(struct nbr *nbr, struct ldp_auth *auth)
usr.sbin/ldpd/pfkey.c
377
auth->md5key_len, auth->md5key, &nbr->auth_spi_out) == -1)
usr.sbin/ldpd/pfkey.c
381
auth->md5key_len, auth->md5key, &nbr->auth_spi_in) == -1)
usr.sbin/ldpd/pfkey.c
413
struct ldp_auth *auth, *match = NULL;
usr.sbin/ldpd/pfkey.c
415
LIST_FOREACH(auth, &conf->auth_list, entry) {
usr.sbin/ldpd/pfkey.c
416
in_addr_t mask = prefixlen2mask(auth->idlen);
usr.sbin/ldpd/pfkey.c
417
if ((auth->id.s_addr & mask) != (nbr->id.s_addr & mask))
usr.sbin/ldpd/pfkey.c
421
match->idlen < auth->idlen)
usr.sbin/ldpd/pfkey.c
422
match = auth;
usr.sbin/ldpd/pfkey.c
431
struct ldp_auth *auth = NULL;
usr.sbin/ldpd/pfkey.c
433
auth = pfkey_find_auth(conf, nbr);
usr.sbin/ldpd/pfkey.c
434
if (auth == NULL || /* no policy */
usr.sbin/ldpd/pfkey.c
435
auth->md5key_len == 0) /* "no tcpmd5 sig" */
usr.sbin/ldpd/pfkey.c
438
return (pfkey_md5sig_establish(nbr, auth));
usr.sbin/ldpd/printconf.c
190
struct ldp_auth *auth;
usr.sbin/ldpd/printconf.c
194
LIST_FOREACH(auth, &conf->auth_list, entry) {
usr.sbin/ldpd/printconf.c
195
if (auth->md5key_len)
usr.sbin/ldpd/printconf.c
199
if (auth->idlen) {
usr.sbin/ldpd/printconf.c
202
if (inet_net_ntop(AF_INET, &auth->id, auth->idlen,
usr.sbin/npppd/npppd/lcp.c
179
lcp_auth_string(int auth)
usr.sbin/npppd/npppd/lcp.c
181
switch (auth) {
usr.sbin/npppd/npppd/npppd.h
168
struct radconf auth;
usr.sbin/npppd/npppd/npppd_auth.c
178
struct authconf *auth;
usr.sbin/npppd/npppd/npppd_auth.c
180
TAILQ_FOREACH(auth, &base->npppd->conf.authconfs, entry) {
usr.sbin/npppd/npppd/npppd_auth.c
181
if (strcmp(auth->name, base->name) == 0)
usr.sbin/npppd/npppd/npppd_auth.c
184
if (auth == NULL)
usr.sbin/npppd/npppd/npppd_auth.c
188
if (auth->username_suffix != NULL)
usr.sbin/npppd/npppd/npppd_auth.c
189
strlcpy(base->pppsuffix, auth->username_suffix,
usr.sbin/npppd/npppd/npppd_auth.c
191
base->eap_capable = auth->eap_capable;
usr.sbin/npppd/npppd/npppd_auth.c
192
base->strip_nt_domain = auth->strip_nt_domain;
usr.sbin/npppd/npppd/npppd_auth.c
193
base->strip_atmark_realm = auth->strip_atmark_realm;
usr.sbin/npppd/npppd/npppd_auth.c
196
base->user_max_session = auth->user_max_session;
usr.sbin/npppd/npppd/npppd_auth.c
198
if (strlen(auth->users_file_path) > 0) {
usr.sbin/npppd/npppd/npppd_auth.c
199
strlcpy(base->users_file_path, auth->users_file_path,
usr.sbin/npppd/npppd/npppd_auth.c
213
if (npppd_auth_radius_reload(base, auth) != 0)
usr.sbin/npppd/npppd/npppd_auth.c
515
npppd_auth_radius_reload(npppd_auth_base *base, struct authconf *auth)
usr.sbin/npppd/npppd/npppd_auth.c
523
(auth->data.radius.auth.timeout == 0)
usr.sbin/npppd/npppd/npppd_auth.c
524
? DEFAULT_RADIUS_TIMEOUT : auth->data.radius.auth.timeout;
usr.sbin/npppd/npppd/npppd_auth.c
526
(auth->data.radius.acct.timeout == 0)
usr.sbin/npppd/npppd/npppd_auth.c
527
? DEFAULT_RADIUS_TIMEOUT : auth->data.radius.acct.timeout;
usr.sbin/npppd/npppd/npppd_auth.c
531
(auth->data.radius.auth.max_tries == 0)
usr.sbin/npppd/npppd/npppd_auth.c
532
? DEFAULT_RADIUS_MAX_TRIES : auth->data.radius.auth.max_tries;
usr.sbin/npppd/npppd/npppd_auth.c
534
(auth->data.radius.acct.max_tries == 0)
usr.sbin/npppd/npppd/npppd_auth.c
535
? DEFAULT_RADIUS_MAX_TRIES : auth->data.radius.acct.max_tries;
usr.sbin/npppd/npppd/npppd_auth.c
538
(auth->data.radius.auth.max_failovers == 0)
usr.sbin/npppd/npppd/npppd_auth.c
540
: auth->data.radius.auth.max_failovers;
usr.sbin/npppd/npppd/npppd_auth.c
542
(auth->data.radius.acct.max_failovers == 0)
usr.sbin/npppd/npppd/npppd_auth.c
544
: auth->data.radius.acct.max_failovers;
usr.sbin/npppd/npppd/npppd_auth.c
554
TAILQ_FOREACH(server, &auth->data.radius.auth.servers, entry) {
usr.sbin/npppd/npppd/npppd_auth.c
575
TAILQ_FOREACH(server, &auth->data.radius.acct.servers, entry) {
usr.sbin/npppd/npppd/npppd_config.c
230
struct authconf *auth;
usr.sbin/npppd/npppd/npppd_config.c
243
TAILQ_FOREACH(auth, &_this->conf.authconfs, entry) {
usr.sbin/npppd/npppd/npppd_config.c
245
if (auth->auth_type == NPPPD_AUTH_TYPE_RADIUS) {
usr.sbin/npppd/npppd/npppd_config.c
251
auth_base = realm_list_remove(&realms0, auth->name);
usr.sbin/npppd/npppd/npppd_config.c
253
npppd_auth_get_type(auth_base) != auth->auth_type) {
usr.sbin/npppd/npppd/npppd_config.c
264
if ((auth_base = npppd_auth_create(auth->auth_type,
usr.sbin/npppd/npppd/npppd_config.c
265
auth->name, _this)) == NULL) {
usr.sbin/npppd/npppd/parse.y
1023
n->authconf = auth;
usr.sbin/npppd/npppd/parse.y
1521
struct authconf *auth, *auth0;
usr.sbin/npppd/npppd/parse.y
1531
TAILQ_FOREACH_SAFE(auth, &xconf->authconfs, entry, auth0) {
usr.sbin/npppd/npppd/parse.y
1532
authconf_fini(auth);
usr.sbin/npppd/npppd/parse.y
1640
authconf_init(struct authconf *auth)
usr.sbin/npppd/npppd/parse.y
1642
memset(auth, 0, sizeof(struct authconf));
usr.sbin/npppd/npppd/parse.y
1643
auth->eap_capable = true;
usr.sbin/npppd/npppd/parse.y
1644
auth->strip_nt_domain = true;
usr.sbin/npppd/npppd/parse.y
1645
auth->strip_atmark_realm = false;
usr.sbin/npppd/npppd/parse.y
1649
authconf_fini(struct authconf *auth)
usr.sbin/npppd/npppd/parse.y
1651
if (auth->username_suffix != NULL)
usr.sbin/npppd/npppd/parse.y
1652
free(auth->username_suffix);
usr.sbin/npppd/npppd/parse.y
1653
auth->username_suffix = NULL;
usr.sbin/npppd/npppd/parse.y
1655
switch (auth->auth_type) {
usr.sbin/npppd/npppd/parse.y
1657
radconf_fini(&auth->data.radius.auth);
usr.sbin/npppd/npppd/parse.y
1658
radconf_fini(&auth->data.radius.acct);
usr.sbin/npppd/npppd/parse.y
1678
struct authconf *auth;
usr.sbin/npppd/npppd/parse.y
1680
TAILQ_FOREACH(auth, &conf->authconfs, entry) {
usr.sbin/npppd/npppd/parse.y
1681
if (strcmp(auth->name, name) == 0)
usr.sbin/npppd/npppd/parse.y
1682
return auth;
usr.sbin/npppd/npppd/parse.y
721
TAILQ_INIT(&n->data.radius.auth.servers);
usr.sbin/npppd/npppd/parse.y
763
curr_radconf = &curr_authconf->data.radius.auth;
usr.sbin/npppd/npppd/parse.y
981
struct authconf *auth;
usr.sbin/npppd/npppd/parse.y
993
if ((auth = authconf_find($7)) == NULL) {
usr.sbin/nsd/options.c
1823
tls_auth_options_insert(struct nsd_options* opt, struct tls_auth_options* auth)
usr.sbin/nsd/options.c
1825
if(!auth->name) return;
usr.sbin/nsd/options.c
1826
auth->node.key = auth->name;
usr.sbin/nsd/options.c
1827
(void)rbtree_insert(opt->tls_auths, &auth->node);
usr.sbin/nsd/options.h
555
void tls_auth_options_insert(struct nsd_options* opt, struct tls_auth_options* auth);
usr.sbin/ntpd/control.c
348
const char *auth = "";
usr.sbin/ntpd/control.c
357
auth = " (non-dnssec lookup)";
usr.sbin/ntpd/control.c
366
"%s %s%s%s", a, pool, addr_head_name, auth);
usr.sbin/pppd/auth.c
233
int auth;
usr.sbin/pppd/auth.c
262
auth = 0;
usr.sbin/pppd/auth.c
265
auth |= CHAP_PEER;
usr.sbin/pppd/auth.c
268
auth |= PAP_PEER;
usr.sbin/pppd/auth.c
272
auth |= CHAP_WITHPEER;
usr.sbin/pppd/auth.c
280
auth |= PAP_WITHPEER;
usr.sbin/pppd/auth.c
282
auth_pending[unit] = auth;
usr.sbin/pppd/auth.c
284
if (!auth)
usr.sbin/radiusd/parse.y
1017
radiusd_authentication_init(struct radiusd_authentication *auth)
usr.sbin/radiusd/parse.y
1019
free(auth->auth);
usr.sbin/radiusd/parse.y
1020
memset(auth, 0, sizeof(struct radiusd_authentication));
usr.sbin/radiusd/parse.y
1021
TAILQ_INIT(&auth->deco);
usr.sbin/radiusd/parse.y
391
struct radiusd_authentication *auth;
usr.sbin/radiusd/parse.y
393
auth = create_authen($4, $2.v, $5.c, $5.v);
usr.sbin/radiusd/parse.y
396
if (auth == NULL) {
usr.sbin/radiusd/parse.y
400
TAILQ_INSERT_TAIL(&conf->authen, auth, next);
usr.sbin/radiusd/parse.y
403
struct radiusd_authentication *auth;
usr.sbin/radiusd/parse.y
405
auth = create_authen($4, $2.v, $5.c, $5.v);
usr.sbin/radiusd/parse.y
408
if (auth == NULL) {
usr.sbin/radiusd/parse.y
412
auth->isfilter = true;
usr.sbin/radiusd/parse.y
413
TAILQ_INSERT_TAIL(&conf->authen, auth, next);
usr.sbin/radiusd/parse.y
424
if (authen.auth == NULL) {
usr.sbin/radiusd/parse.y
438
a->auth = authen.auth;
usr.sbin/radiusd/parse.y
439
authen.auth = NULL;
usr.sbin/radiusd/parse.y
458
if (authen.auth != NULL) {
usr.sbin/radiusd/parse.y
467
authen.auth = modref;
usr.sbin/radiusd/parse.y
942
struct radiusd_authentication *auth;
usr.sbin/radiusd/parse.y
945
if ((auth = calloc(1, sizeof(struct radiusd_authentication)))
usr.sbin/radiusd/parse.y
950
if ((auth->auth = create_module_ref(byname)) == NULL)
usr.sbin/radiusd/parse.y
953
auth->username = username;
usr.sbin/radiusd/parse.y
954
TAILQ_INIT(&auth->deco);
usr.sbin/radiusd/parse.y
958
TAILQ_INSERT_TAIL(&auth->deco, modref, next);
usr.sbin/radiusd/parse.y
960
return (auth);
usr.sbin/radiusd/parse.y
962
TAILQ_FOREACH_SAFE(modref, &auth->deco, next, modreft) {
usr.sbin/radiusd/parse.y
963
TAILQ_REMOVE(&auth->deco, modref, next);
usr.sbin/radiusd/parse.y
966
free(auth);
usr.sbin/radiusd/radiusd.c
1039
authen_secret = q0->authen->auth->module->secret;
usr.sbin/radiusd/radiusd.c
1041
q->authen->auth->module->secret;
usr.sbin/radiusd/radiusd.c
349
free(authen->auth);
usr.sbin/radiusd/radiusd.c
581
if (!MODULE_DO_USERPASS(authen->auth->module) &&
usr.sbin/radiusd/radiusd.c
582
!MODULE_DO_ACCSREQ(authen->auth->module)) {
usr.sbin/radiusd/radiusd.c
586
req_id, username, authen->auth->module->name);
usr.sbin/radiusd/radiusd.c
593
q->username, q->id, q->authen->auth->module->name);
usr.sbin/radiusd/radiusd.c
672
RADIUSD_ASSERT(authen->auth != NULL);
usr.sbin/radiusd/radiusd.c
673
if (MODULE_DO_ACCSREQ(authen->auth->module))
usr.sbin/radiusd/radiusd.c
674
radiusd_module_access_request(authen->auth->module, q);
usr.sbin/radiusd/radiusd.c
675
else if (MODULE_DO_USERPASS(authen->auth->module))
usr.sbin/radiusd/radiusd.c
676
radiusd_module_userpass(authen->auth->module, q);
usr.sbin/radiusd/radiusd.c
705
if (MODULE_DO_NEXTRES(q->prev->authen->auth->module)) {
usr.sbin/radiusd/radiusd.c
714
radiusd_module_next_response(q->authen->auth->module,
usr.sbin/radiusd/radiusd.c
835
q->authen->auth->module->name);
usr.sbin/radiusd/radiusd.c
854
q->authen->auth->module->name);
usr.sbin/radiusd/radiusd_local.h
99
struct radiusd_module_ref *auth;
usr.sbin/rpki-client/cert.c
2255
authcmp(struct auth *a, struct auth *b)
usr.sbin/rpki-client/cert.c
2264
RB_GENERATE_STATIC(auth_tree, auth, entry, authcmp);
usr.sbin/rpki-client/cert.c
2269
struct auth *auth, *tauth;
usr.sbin/rpki-client/cert.c
2274
RB_FOREACH_SAFE(auth, auth_tree, auths, tauth) {
usr.sbin/rpki-client/cert.c
2275
RB_REMOVE(auth_tree, auths, auth);
usr.sbin/rpki-client/cert.c
2276
cert_free(auth->cert);
usr.sbin/rpki-client/cert.c
2277
free(auth);
usr.sbin/rpki-client/cert.c
2285
struct auth *
usr.sbin/rpki-client/cert.c
2288
struct auth a, *f;
usr.sbin/rpki-client/cert.c
2303
struct auth *
usr.sbin/rpki-client/cert.c
2305
struct auth *issuer)
usr.sbin/rpki-client/cert.c
2307
struct auth *na;
usr.sbin/rpki-client/crl.c
322
crl_get(struct crl_tree *crls, const struct auth *a)
usr.sbin/rpki-client/extern.h
516
RB_ENTRY(auth) entry;
usr.sbin/rpki-client/extern.h
518
struct auth *issuer; /* pointer to issuer or NULL for TA cert */
usr.sbin/rpki-client/extern.h
525
RB_HEAD(auth_tree, auth);
usr.sbin/rpki-client/extern.h
527
struct auth *auth_find(struct auth_tree *, int);
usr.sbin/rpki-client/extern.h
528
struct auth *auth_insert(const char *, struct auth_tree *, struct cert *,
usr.sbin/rpki-client/extern.h
529
struct auth *);
usr.sbin/rpki-client/extern.h
778
struct crl *crl_get(struct crl_tree *, const struct auth *);
usr.sbin/rpki-client/extern.h
785
int valid_cert(const char *, struct auth *, const struct cert *);
usr.sbin/rpki-client/extern.h
792
int valid_x509(char *, X509_STORE_CTX *, X509 *, struct auth *,
usr.sbin/rpki-client/extern.h
966
time_t x509_find_expires(time_t, struct auth *, struct crl_tree *);
usr.sbin/rpki-client/filemode.c
181
static struct auth *
usr.sbin/rpki-client/filemode.c
188
struct auth *a;
usr.sbin/rpki-client/filemode.c
312
print_signature_path(const char *crl, const char *aia, const struct auth *a)
usr.sbin/rpki-client/filemode.c
432
struct auth *a = NULL;
usr.sbin/rpki-client/parser.c
116
static struct auth *
usr.sbin/rpki-client/parser.c
119
struct auth *a;
usr.sbin/rpki-client/parser.c
190
struct auth *a;
usr.sbin/rpki-client/parser.c
231
struct auth *a;
usr.sbin/rpki-client/parser.c
373
struct auth *a;
usr.sbin/rpki-client/parser.c
583
struct auth *a;
usr.sbin/rpki-client/parser.c
746
struct auth *a;
usr.sbin/rpki-client/parser.c
787
struct auth *a;
usr.sbin/rpki-client/validate.c
301
build_chain(const struct auth *a, STACK_OF(X509) **intermediates,
usr.sbin/rpki-client/validate.c
36
valid_as(struct auth *a, uint32_t min, uint32_t max)
usr.sbin/rpki-client/validate.c
374
valid_x509(char *file, X509_STORE_CTX *store_ctx, X509 *x509, struct auth *a,
usr.sbin/rpki-client/validate.c
61
valid_ip(struct auth *a, enum afi afi,
usr.sbin/rpki-client/validate.c
87
valid_cert(const char *fn, struct auth *a, const struct cert *cert)
usr.sbin/rpki-client/x509.c
617
x509_find_expires(time_t notafter, struct auth *a, struct crl_tree *crls)
usr.sbin/smtpd/lka_filter.c
1125
if (!filter->config->auth)
usr.sbin/smtpd/mta.c
1811
key.authtable = dispatcher->u.remote.auth;
usr.sbin/smtpd/mta.c
715
if (relayh.flags & RELAY_AUTH && dispatcher->u.remote.auth == NULL) {
usr.sbin/smtpd/parse.y
131
uint16_t auth;
usr.sbin/smtpd/parse.y
1653
filter_config->auth = 1;
usr.sbin/smtpd/parse.y
2400
listen_opts.auth = F_AUTH|F_AUTH_REQUIRE;
usr.sbin/smtpd/parse.y
2408
listen_opts.auth = F_AUTH;
usr.sbin/smtpd/parse.y
2417
listen_opts.auth = F_AUTH|F_AUTH_REQUIRE;
usr.sbin/smtpd/parse.y
2426
listen_opts.auth = F_AUTH;
usr.sbin/smtpd/parse.y
3288
if (lo->auth != 0 && !lo->ssl)
usr.sbin/smtpd/parse.y
3299
lo->flags = lo->ssl|lo->auth|flags;
usr.sbin/smtpd/parse.y
3305
lo->flags = F_SMTPS|lo->auth|flags;
usr.sbin/smtpd/parse.y
3310
lo->flags = lo->auth|flags;
usr.sbin/smtpd/parse.y
915
if (dsp->u.remote.auth) {
usr.sbin/smtpd/parse.y
926
dsp->u.remote.auth = strdup(t->t_name);
usr.sbin/smtpd/smtpd.h
1104
int8_t auth;
usr.sbin/smtpd/smtpd.h
1193
char *auth;
usr.sbin/snmpd/parse.y
1144
| AUTH auth {
usr.sbin/snmpd/parse.y
1155
auth : STRING {
usr.sbin/snmpd/parse.y
164
enum usmauth auth;
usr.sbin/snmpd/parse.y
196
%type <v.auth> auth
usr.sbin/tcpdump/print-ospf.c
559
struct ospf_md5_authdata auth;
usr.sbin/tcpdump/print-ospf.c
560
memcpy(&auth, op->ospf_authdata, sizeof(auth));
usr.sbin/tcpdump/print-ospf.c
562
printf(" auth MD5 key-id %u", auth.auth_keyid);
usr.sbin/tcpdump/print-ospf.c
564
printf(" seq %u", ntohl(auth.auth_seq));
usr.sbin/tcpdump/print-ospf.c
567
ntohs(auth.auth_md5_offset),
usr.sbin/tcpdump/print-ospf.c
568
auth.auth_len);
usr.sbin/tcpdump/radius.h
110
u_char auth[16];