Symbol: auth
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2231
u_int auth, u_int enc, u_int32_t flags)
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
2248
p->sadb_sa_auth = auth;
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3156
ipsecdoi_checkalgtypes(int proto_id, int enc, int auth, int comp)
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3166
TMPALGTYPE2STR(auth),
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3172
if (enc != 0 || auth == 0 || comp != 0) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3177
TMPALGTYPE2STR(auth),
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3183
if (enc != 0 || auth != 0 || comp == 0) {
crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
3188
TMPALGTYPE2STR(auth),
include/rpc/auth.h
125
#define AUTH_NEXTVERF(auth) \
include/rpc/auth.h
126
((*((auth)->ah_ops->ah_nextverf))(auth))
include/rpc/auth.h
127
#define auth_nextverf(auth) \
include/rpc/auth.h
128
((*((auth)->ah_ops->ah_nextverf))(auth))
include/rpc/auth.h
130
#define AUTH_MARSHALL(auth, xdrs) \
include/rpc/auth.h
131
((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
include/rpc/auth.h
132
#define auth_marshall(auth, xdrs) \
include/rpc/auth.h
133
((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
include/rpc/auth.h
135
#define AUTH_VALIDATE(auth, verfp) \
include/rpc/auth.h
136
((*((auth)->ah_ops->ah_validate))((auth), verfp))
include/rpc/auth.h
137
#define auth_validate(auth, verfp) \
include/rpc/auth.h
138
((*((auth)->ah_ops->ah_validate))((auth), verfp))
include/rpc/auth.h
140
#define AUTH_REFRESH(auth) \
include/rpc/auth.h
141
((*((auth)->ah_ops->ah_refresh))(auth))
include/rpc/auth.h
142
#define auth_refresh(auth) \
include/rpc/auth.h
143
((*((auth)->ah_ops->ah_refresh))(auth))
include/rpc/auth.h
145
#define AUTH_DESTROY(auth) \
include/rpc/auth.h
146
((*((auth)->ah_ops->ah_destroy))(auth))
include/rpc/auth.h
147
#define auth_destroy(auth) \
include/rpc/auth.h
148
((*((auth)->ah_ops->ah_destroy))(auth))
lib/libc/rpc/auth_none.c
140
authnone_validate(AUTH *client, struct opaque_auth *auth)
lib/libc/rpc/auth_unix.c
100
#define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private)
lib/libc/rpc/auth_unix.c
113
AUTH *auth;
lib/libc/rpc/auth_unix.c
120
auth = mem_alloc(sizeof(*auth));
lib/libc/rpc/auth_unix.c
122
if (auth == NULL) {
lib/libc/rpc/auth_unix.c
134
auth->ah_ops = authunix_ops();
lib/libc/rpc/auth_unix.c
135
auth->ah_private = au;
lib/libc/rpc/auth_unix.c
136
auth->ah_verf = au->au_shcred = _null_auth;
lib/libc/rpc/auth_unix.c
172
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
173
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
174
return (auth);
lib/libc/rpc/auth_unix.c
177
if (auth)
lib/libc/rpc/auth_unix.c
178
mem_free(auth, sizeof(*auth));
lib/libc/rpc/auth_unix.c
235
authunix_nextverf(AUTH *auth)
lib/libc/rpc/auth_unix.c
241
authunix_marshal(AUTH *auth, XDR *xdrs)
lib/libc/rpc/auth_unix.c
245
_DIAGASSERT(auth != NULL);
lib/libc/rpc/auth_unix.c
248
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
253
authunix_validate(AUTH *auth, struct opaque_auth *verf)
lib/libc/rpc/auth_unix.c
258
_DIAGASSERT(auth != NULL);
lib/libc/rpc/auth_unix.c
262
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
272
auth->ah_cred = au->au_shcred;
lib/libc/rpc/auth_unix.c
277
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
279
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
285
authunix_refresh(AUTH *auth)
lib/libc/rpc/auth_unix.c
287
struct audata *au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
293
_DIAGASSERT(auth != NULL);
lib/libc/rpc/auth_unix.c
295
if (auth->ah_cred.oa_base == au->au_origcred.oa_base) {
lib/libc/rpc/auth_unix.c
318
auth->ah_cred = au->au_origcred;
lib/libc/rpc/auth_unix.c
319
marshal_new_auth(auth);
lib/libc/rpc/auth_unix.c
329
authunix_destroy(AUTH *auth)
lib/libc/rpc/auth_unix.c
333
_DIAGASSERT(auth != NULL);
lib/libc/rpc/auth_unix.c
335
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
341
mem_free(auth->ah_private, sizeof(struct audata));
lib/libc/rpc/auth_unix.c
343
if (auth->ah_verf.oa_base != NULL)
lib/libc/rpc/auth_unix.c
344
mem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length);
lib/libc/rpc/auth_unix.c
346
mem_free(auth, sizeof(*auth));
lib/libc/rpc/auth_unix.c
354
marshal_new_auth(AUTH *auth)
lib/libc/rpc/auth_unix.c
360
_DIAGASSERT(auth != NULL);
lib/libc/rpc/auth_unix.c
362
au = AUTH_PRIVATE(auth);
lib/libc/rpc/auth_unix.c
364
if ((! xdr_opaque_auth(xdrs, &(auth->ah_cred))) ||
lib/libc/rpc/auth_unix.c
365
(! xdr_opaque_auth(xdrs, &(auth->ah_verf))))
lib/libpam/modules/pam_group/pam_group.c
119
if (!auth) {
lib/libpam/modules/pam_group/pam_group.c
129
if (auth)
lib/libpam/modules/pam_group/pam_group.c
75
int pam_err, auth;
lib/libpam/modules/pam_group/pam_group.c
96
auth = openpam_get_option(pamh, "authenticate") != NULL;
lib/libpam/modules/pam_ssh/pam_ssh.c
70
#define ssh_add_identity(auth, key, comment) \
lib/libpam/modules/pam_ssh/pam_ssh.c
71
ssh_add_identity_constrained(auth, key, comment, 0, 0, NULL, NULL, 0)
lib/librumpuser/rumpuser_sp.c
1075
uint32_t auth[AUTHLEN];
lib/librumpuser/rumpuser_sp.c
1112
rumpuser_getrandom(auth, sizeof(auth), 0, &randlen);
lib/librumpuser/rumpuser_sp.c
1113
memcpy(pf->pf_auth, auth, sizeof(pf->pf_auth));
lib/librumpuser/rumpuser_sp.c
1124
send_prefork_resp(spc, reqno, auth);
lib/librumpuser/rumpuser_sp.c
363
send_prefork_resp(struct spclient *spc, uint64_t reqno, uint32_t *auth)
lib/librumpuser/rumpuser_sp.c
369
rhdr.rsp_len = sizeof(rhdr) + AUTHLEN*sizeof(*auth);
lib/librumpuser/rumpuser_sp.c
376
IOVPUT_WITHSIZE(iov[1], auth, AUTHLEN*sizeof(*auth));
lib/libtelnet/kerberos5.c
239
RemoteHostName, &cksum_data, ccache, &auth);
lib/libtelnet/kerberos5.c
254
if (!Data(ap, KRB_AUTH, auth.data, auth.length)) {
lib/libtelnet/kerberos5.c
279
auth.data = (char *) data;
lib/libtelnet/kerberos5.c
280
auth.length = cnt;
lib/libtelnet/kerberos5.c
315
ret = krb5_rd_req(telnet_context, &auth_context, &auth,
lib/libtelnet/kerberos5.c
92
static krb5_data auth;
sbin/efi/devpath3.c
1102
const char *auth, *datdgst, *hdrdgst, *proto;
sbin/efi/devpath3.c
1115
auth = auth_name(p->LoginOptions);
sbin/efi/devpath3.c
1122
htobe64(p->LUN), hdrdgst, datdgst, auth, proto);
sbin/iscsictl/iscsic_daemonif.c
105
auth.list_kind = kind;
sbin/iscsictl/iscsic_daemonif.c
106
auth.target_id.id = tid;
sbin/iscsictl/iscsic_daemonif.c
107
send_request(ISCSID_SET_TARGET_AUTHENTICATION, sizeof(auth), &auth);
sbin/iscsictl/iscsic_daemonif.c
48
iscsid_set_target_authentication_req_t auth;
sbin/iscsictl/iscsic_daemonif.c
64
auths = cl_get_auth_opts(&auth, argc, argv);
sbin/iscsictl/iscsic_daemonif.c
805
iscsid_set_target_authentication_req_t auth;
sbin/iscsictl/iscsic_daemonif.c
813
auths = cl_get_auth_opts(&auth, argc, argv);
sbin/iscsictl/iscsic_daemonif.c
873
auth.target_id = loginp->portal_id;
sbin/iscsictl/iscsic_daemonif.c
874
auth.list_kind = TARGET_LIST;
sbin/iscsictl/iscsic_daemonif.c
875
send_request(ISCSID_SET_TARGET_AUTHENTICATION, sizeof(auth), &auth);
sbin/iscsictl/iscsic_parse.c
352
cl_get_auth_opts(iscsid_set_target_authentication_req_t *auth,
sbin/iscsictl/iscsic_parse.c
359
memset(auth, 0, sizeof(*auth));
sbin/iscsictl/iscsic_parse.c
375
auth->auth_info.auth_type[n] = ISCSI_AUTH_None;
sbin/iscsictl/iscsic_parse.c
378
auth->auth_info.auth_type[n] = ISCSI_AUTH_CHAP;
sbin/iscsictl/iscsic_parse.c
381
auth->auth_info.auth_type[n] = ISCSI_AUTH_CHAP;
sbin/iscsictl/iscsic_parse.c
382
auth->auth_info.mutual_auth = 1;
sbin/iscsictl/iscsic_parse.c
390
auth->auth_info.auth_number = n;
sbin/iscsictl/iscsic_parse.c
394
get_str((char *)auth->user_name, sp, argv[i], "User name");
sbin/iscsictl/iscsic_parse.c
398
get_str((char *)auth->password, sp, argv[i], "Secret");
sbin/iscsictl/iscsic_parse.c
402
get_str((char *)auth->target_password, sp, argv[i], "Target secret");
sbin/iscsid/iscsid_driverif.c
387
if (target->auth.auth_info.auth_number) {
sbin/iscsid/iscsid_driverif.c
389
loginp.auth_info = target->auth.auth_info;
sbin/iscsid/iscsid_driverif.c
390
if (target->auth.password[0]) {
sbin/iscsid/iscsid_driverif.c
392
loginp.password = target->auth.password;
sbin/iscsid/iscsid_driverif.c
394
if (target->auth.target_password[0]) {
sbin/iscsid/iscsid_driverif.c
396
loginp.target_password = target->auth.target_password;
sbin/iscsid/iscsid_driverif.c
398
if (target->auth.user_name[0]) {
sbin/iscsid/iscsid_driverif.c
400
loginp.user_name = target->auth.user_name;
sbin/iscsid/iscsid_driverif.c
463
conn->target.auth = target->auth;
sbin/iscsid/iscsid_globals.h
247
iscsid_set_target_authentication_req_t auth; /* authentication options */
sbin/iscsid/iscsid_globals.h
280
iscsid_set_target_authentication_req_t auth; /* authentication options */
sbin/iscsid/iscsid_globals.h
298
iscsid_set_target_authentication_req_t auth; /* authentication options */
sbin/iscsid/iscsid_targets.c
501
target->auth = *par;
sbin/mount_nfs/getnfsargs.c
217
nfhret.auth = RPCAUTH_UNIX;
sbin/mount_nfs/getnfsargs.c
314
long auth, authcnt, authfnd = 0;
sbin/mount_nfs/getnfsargs.c
334
if (!xdr_long(xdrsp, &auth))
sbin/mount_nfs/getnfsargs.c
336
if (auth == np->auth)
sbin/mount_nfs/getnfsargs.c
343
if (!authfnd && (authcnt > 0 || np->auth != RPCAUTH_UNIX))
sbin/mount_nfs/getnfsargs.c
89
long auth;
sbin/routed/defs.h
407
struct auth parm_auth[MAX_AUTH_KEYS];
sbin/routed/defs.h
515
extern void clr_ws_buf(struct ws_buf *, struct auth *);
sbin/routed/defs.h
641
extern struct auth *find_auth(struct interface *);
sbin/routed/defs.h
642
extern void end_md5_auth(struct ws_buf *, struct auth *);
sbin/routed/input.c
154
struct auth *ap;
sbin/routed/input.c
945
struct auth *ap;
sbin/routed/output.c
228
struct auth *
sbin/routed/output.c
231
struct auth *ap, *res;
sbin/routed/output.c
266
struct auth *ap)
sbin/routed/output.c
300
struct auth *ap)
sbin/routed/output.c
60
struct auth *a;
sbin/routed/parms.c
498
struct auth k, *ap, *ap2;
share/examples/refuse/ian/libfetch/http.c
627
char *upw, *auth;
share/examples/refuse/ian/libfetch/http.c
634
auth = _http_base64(upw);
share/examples/refuse/ian/libfetch/http.c
636
if (auth == NULL)
share/examples/refuse/ian/libfetch/http.c
638
r = _http_cmd(conn, "%s: Basic %s", hdr, auth);
share/examples/refuse/ian/libfetch/http.c
639
free(auth);
sys/compat/netbsd32/netbsd32_drm.c
275
int auth; /**< Is client authenticated? */
sys/compat/netbsd32/netbsd32_drm.c
286
c64->auth = c32->auth;
sys/compat/netbsd32/netbsd32_drm.c
296
c32->auth = c64->auth;
sys/crypto/aes/aes_bear.c
602
size_t nbytes, uint8_t auth[static 16], uint32_t nrounds)
sys/crypto/aes/aes_bear.c
617
q[2*0] = le32dec(auth + 4*0);
sys/crypto/aes/aes_bear.c
618
q[2*1] = le32dec(auth + 4*1);
sys/crypto/aes/aes_bear.c
619
q[2*2] = le32dec(auth + 4*2);
sys/crypto/aes/aes_bear.c
620
q[2*3] = le32dec(auth + 4*3);
sys/crypto/aes/aes_bear.c
636
le32enc(auth + 4*0, q[2*0]);
sys/crypto/aes/aes_bear.c
637
le32enc(auth + 4*1, q[2*1]);
sys/crypto/aes/aes_bear.c
638
le32enc(auth + 4*2, q[2*2]);
sys/crypto/aes/aes_bear.c
639
le32enc(auth + 4*3, q[2*3]);
sys/crypto/aes/aes_bear64.c
663
size_t nbytes, uint8_t auth[static 16], uint32_t nrounds)
sys/crypto/aes/aes_bear64.c
680
w[0] = le32dec(auth + 4*0);
sys/crypto/aes/aes_bear64.c
681
w[1] = le32dec(auth + 4*1);
sys/crypto/aes/aes_bear64.c
682
w[2] = le32dec(auth + 4*2);
sys/crypto/aes/aes_bear64.c
683
w[3] = le32dec(auth + 4*3);
sys/crypto/aes/aes_bear64.c
702
le32enc(auth + 4*0, w[0]);
sys/crypto/aes/aes_bear64.c
703
le32enc(auth + 4*1, w[1]);
sys/crypto/aes/aes_bear64.c
704
le32enc(auth + 4*2, w[2]);
sys/crypto/aes/aes_bear64.c
705
le32enc(auth + 4*3, w[3]);
sys/crypto/aes/aes_ccm.c
109
auth[0] = __SHIFTIN(adlen == 0 ? 0 : 1, CCM_AFLAGS_ADATA);
sys/crypto/aes/aes_ccm.c
110
auth[0] |= __SHIFTIN((M - 2)/2, CCM_AFLAGS_M);
sys/crypto/aes/aes_ccm.c
111
auth[0] |= __SHIFTIN(L - 1, CCM_AFLAGS_L);
sys/crypto/aes/aes_ccm.c
112
memcpy(auth + 1, nonce, noncelen);
sys/crypto/aes/aes_ccm.c
115
auth[16 - i - 1] = mlen & 0xff;
sys/crypto/aes/aes_ccm.c
117
aes_enc(enc, auth, auth, C->nr);
sys/crypto/aes/aes_ccm.c
123
auth[0] ^= adlen >> 8;
sys/crypto/aes/aes_ccm.c
124
auth[1] ^= adlen;
sys/crypto/aes/aes_ccm.c
127
auth[0] ^= 0xff;
sys/crypto/aes/aes_ccm.c
128
auth[1] ^= 0xfe;
sys/crypto/aes/aes_ccm.c
129
auth[2] ^= adlen >> 24;
sys/crypto/aes/aes_ccm.c
130
auth[3] ^= adlen >> 16;
sys/crypto/aes/aes_ccm.c
131
auth[4] ^= adlen >> 8;
sys/crypto/aes/aes_ccm.c
132
auth[5] ^= adlen;
sys/crypto/aes/aes_ccm.c
137
auth[0] ^= 0xff;
sys/crypto/aes/aes_ccm.c
138
auth[1] ^= 0xff;
sys/crypto/aes/aes_ccm.c
139
auth[2] ^= adlen >> 56;
sys/crypto/aes/aes_ccm.c
140
auth[3] ^= adlen >> 48;
sys/crypto/aes/aes_ccm.c
141
auth[4] ^= adlen >> 40;
sys/crypto/aes/aes_ccm.c
142
auth[5] ^= adlen >> 32;
sys/crypto/aes/aes_ccm.c
143
auth[6] ^= adlen >> 24;
sys/crypto/aes/aes_ccm.c
144
auth[7] ^= adlen >> 16;
sys/crypto/aes/aes_ccm.c
145
auth[8] ^= adlen >> 8;
sys/crypto/aes/aes_ccm.c
146
auth[9] ^= adlen;
sys/crypto/aes/aes_ccm.c
152
xor(auth + i, auth + i, adp, MIN(adlen, 16 - i));
sys/crypto/aes/aes_ccm.c
155
aes_enc(enc, auth, auth, C->nr);
sys/crypto/aes/aes_ccm.c
160
auth, C->nr);
sys/crypto/aes/aes_ccm.c
169
xor(auth, auth, adp, adlen);
sys/crypto/aes/aes_ccm.c
170
aes_enc(enc, auth, auth, C->nr);
sys/crypto/aes/aes_ccm.c
186
uint8_t *auth = C->authctr;
sys/crypto/aes/aes_ccm.c
202
xor(auth + C->i, auth + C->i, p, m);
sys/crypto/aes/aes_ccm.c
211
aes_enc(C->enc, auth, auth, C->nr);
sys/crypto/aes/aes_ccm.c
222
aes_ccm_enc1(C->enc, p, q, nbytes - (nbytes % 16), auth,
sys/crypto/aes/aes_ccm.c
232
xor(auth, auth, p, nbytes);
sys/crypto/aes/aes_ccm.c
246
uint8_t *auth = C->authctr;
sys/crypto/aes/aes_ccm.c
263
xor(auth + C->i, auth + C->i, q, m);
sys/crypto/aes/aes_ccm.c
271
aes_enc(C->enc, auth, auth, C->nr);
sys/crypto/aes/aes_ccm.c
282
aes_ccm_dec1(C->enc, p, q, nbytes - (nbytes % 16), auth,
sys/crypto/aes/aes_ccm.c
297
xor(auth, auth, q, nbytes);
sys/crypto/aes/aes_ccm.c
309
uint8_t *auth = C->authctr;
sys/crypto/aes/aes_ccm.c
318
aes_enc(C->enc, auth, auth, C->nr);
sys/crypto/aes/aes_ccm.c
325
xor(out, C->out, auth, C->M);
sys/crypto/aes/aes_ccm.c
92
uint8_t *auth = C->authctr;
sys/crypto/aes/aes_impl.c
316
size_t nbytes, uint8_t auth[static 16], uint32_t nrounds)
sys/crypto/aes/aes_impl.c
323
aes_impl->ai_cbcmac_update1(enc, in, nbytes, auth, nrounds);
sys/crypto/aes/aes_selftest.c
431
uint8_t auth[16];
sys/crypto/aes/aes_selftest.c
434
memset(auth, 0, sizeof auth);
sys/crypto/aes/aes_selftest.c
437
impl->ai_cbcmac_update1(&enc, m, 16, auth, nr);
sys/crypto/aes/aes_selftest.c
438
if (memcmp(auth, auth16, 16))
sys/crypto/aes/aes_selftest.c
439
return aes_selftest_fail(impl, auth, auth16, 16,
sys/crypto/aes/aes_selftest.c
441
impl->ai_cbcmac_update1(&enc, m + 16, 32, auth, nr);
sys/crypto/aes/aes_selftest.c
442
if (memcmp(auth, auth48, 16))
sys/crypto/aes/aes_selftest.c
443
return aes_selftest_fail(impl, auth, auth48, 16,
sys/crypto/aes/arch/arm/aes_armv8.c
211
const uint8_t in[static 16], size_t nbytes, uint8_t auth[static 16],
sys/crypto/aes/arch/arm/aes_armv8.c
219
aesarmv8_cbcmac_update1(enc, in, nbytes, auth, nrounds);
sys/crypto/aes/arch/arm/aes_neon_impl.c
149
const uint8_t in[static 16], size_t nbytes, uint8_t auth[static 16],
sys/crypto/aes/arch/arm/aes_neon_impl.c
154
aes_neon_cbcmac_update1(enc, in, nbytes, auth, nrounds);
sys/crypto/aes/arch/arm/aes_neon_subr.c
279
uint8x16_t auth;
sys/crypto/aes/arch/arm/aes_neon_subr.c
284
auth = loadblock(auth0);
sys/crypto/aes/arch/arm/aes_neon_subr.c
286
auth = aes_neon_enc1(enc, auth ^ loadblock(in), nrounds);
sys/crypto/aes/arch/arm/aes_neon_subr.c
287
storeblock(auth0, auth);
sys/crypto/aes/arch/arm/aes_neon_subr.c
297
uint8x16_t auth, ptxt, ctr_be;
sys/crypto/aes/arch/arm/aes_neon_subr.c
303
auth = loadblock(authctr);
sys/crypto/aes/arch/arm/aes_neon_subr.c
312
b2.val[0] = auth ^ ptxt;
sys/crypto/aes/arch/arm/aes_neon_subr.c
315
auth = b2.val[0];
sys/crypto/aes/arch/arm/aes_neon_subr.c
318
storeblock(authctr, auth);
sys/crypto/aes/arch/arm/aes_neon_subr.c
329
uint8x16_t auth, ctr_be, ptxt, pad;
sys/crypto/aes/arch/arm/aes_neon_subr.c
340
auth = loadblock(authctr);
sys/crypto/aes/arch/arm/aes_neon_subr.c
345
auth ^= ptxt;
sys/crypto/aes/arch/arm/aes_neon_subr.c
353
b2.val[0] = auth;
sys/crypto/aes/arch/arm/aes_neon_subr.c
356
auth = b2.val[0];
sys/crypto/aes/arch/arm/aes_neon_subr.c
359
auth = aes_neon_enc1(enc, auth, nrounds);
sys/crypto/aes/arch/arm/aes_neon_subr.c
360
storeblock(authctr, auth);
sys/crypto/aes/arch/x86/aes_ni.c
209
const uint8_t in[static 16], size_t nbytes, uint8_t auth[static 16],
sys/crypto/aes/arch/x86/aes_ni.c
217
aesni_cbcmac_update1(enc, in, nbytes, auth, nrounds);
sys/crypto/aes/arch/x86/aes_sse2_4x32_impl.c
150
const uint8_t in[static 16], size_t nbytes, uint8_t auth[static 16],
sys/crypto/aes/arch/x86/aes_sse2_4x32_impl.c
155
aes_sse2_4x32_cbcmac_update1(enc, in, nbytes, auth, nrounds);
sys/crypto/aes/arch/x86/aes_sse2_4x32_subr.c
557
uint8_t auth[static 16], uint32_t nrounds)
sys/crypto/aes/arch/x86/aes_sse2_4x32_subr.c
572
q[0] = _mm_loadu_epi8(auth);
sys/crypto/aes/arch/x86/aes_sse2_4x32_subr.c
587
_mm_storeu_epi8(auth, q[0]);
sys/crypto/aes/arch/x86/aes_ssse3_impl.c
141
const uint8_t in[static 16], size_t nbytes, uint8_t auth[static 16],
sys/crypto/aes/arch/x86/aes_ssse3_impl.c
146
aes_ssse3_cbcmac_update1(enc, in, nbytes, auth, nrounds);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
215
__m128i auth;
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
220
auth = loadblock(auth0);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
222
auth = aes_ssse3_enc1(enc, auth ^ loadblock(in), nrounds);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
223
storeblock(auth0, auth);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
234
__m128i auth, ctr_be, ctr, ptxt;
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
239
auth = loadblock(authctr);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
244
auth = aes_ssse3_enc1(enc, auth ^ ptxt, nrounds);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
249
storeblock(authctr, auth);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
261
__m128i auth, ctr_be, ctr, ptxt;
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
266
auth = loadblock(authctr);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
274
auth = aes_ssse3_enc1(enc, auth ^ ptxt, nrounds);
sys/crypto/aes/arch/x86/aes_ssse3_subr.c
276
storeblock(authctr, auth);
sys/crypto/aes/arch/x86/aes_via.c
698
uint8_t *auth = auth0;
sys/crypto/aes/arch/x86/aes_via.c
705
auth = authbuf;
sys/crypto/aes/arch/x86/aes_via.c
714
xor128(auth, auth, in);
sys/crypto/aes/arch/x86/aes_via.c
715
aesvia_encN(enc, auth, auth, 1, cw0);
sys/dev/pci/if_iwi.c
1244
struct iwi_notif_authentication *auth;
sys/dev/pci/if_iwi.c
1284
auth = (struct iwi_notif_authentication *)(notif + 1);
sys/dev/pci/if_iwi.c
1286
DPRINTFN(2, ("Authentication (%u)\n", auth->state));
sys/dev/pci/if_iwi.c
1288
switch (auth->state) {
sys/dev/pci/if_iwi.c
1309
"unknown authentication state %u\n", auth->state);
sys/dev/pci/if_iwi.c
2667
assoc.auth = (ic->ic_crypto.cs_def_txkey << 4) | IWI_AUTH_SHARED;
sys/dev/pci/if_iwi.c
2707
assoc.chan, le16toh(assoc.policy), assoc.auth,
sys/dev/pci/if_iwireg.h
373
uint8_t auth; /* type and key */
sys/dev/pci/qat/qat_hw17.c
363
union hw_auth_algo_blk *auth, uint32_t cd_blk_offset,
sys/dev/pci/qat/qat_hw17.c
371
auth->max.inner_setup.auth_config.config =
sys/dev/pci/qat/qat_hw17.c
373
auth->max.inner_setup.auth_counter.counter =
sys/dev/pci/qat/qat_hw17.c
390
state1 = auth->max.state1;
sys/dev/pci/qat/qat_hw17.c
391
state2 = auth->max.state1 + auth_cd_ctrl->inner_state1_sz;
sys/dev/pci/qat/qat_hw17.c
424
union hw_auth_algo_blk *auth;
sys/dev/pci/qat/qat_hw17.c
450
auth = (union hw_auth_algo_blk *)(cd_blk_ptr +
sys/dev/pci/qat/qat_hw17.c
453
qs, desc, cria, auth, cd_blk_offset, req_tmpl,
sys/fs/nfs/common/nfs_commonkrpc.c
1010
AUTH_DESTROY(auth);
sys/fs/nfs/common/nfs_commonkrpc.c
1020
AUTH_DESTROY(auth);
sys/fs/nfs/common/nfs_commonkrpc.c
400
AUTH *auth;
sys/fs/nfs/common/nfs_commonkrpc.c
418
auth = rpc_gss_secfind_call(nrp->nr_client, cred,
sys/fs/nfs/common/nfs_commonkrpc.c
421
auth = rpc_gss_seccreate_call(nrp->nr_client, cred,
sys/fs/nfs/common/nfs_commonkrpc.c
424
return (auth);
sys/fs/nfs/common/nfs_commonkrpc.c
426
if (auth != NULL)
sys/fs/nfs/common/nfs_commonkrpc.c
427
return (auth);
sys/fs/nfs/common/nfs_commonkrpc.c
494
AUTH *auth;
sys/fs/nfs/common/nfs_commonkrpc.c
615
auth = authnone_create();
sys/fs/nfs/common/nfs_commonkrpc.c
627
auth = nrp->nr_auth;
sys/fs/nfs/common/nfs_commonkrpc.c
629
auth = nfs_getauth(nrp, secflavour, NULL,
sys/fs/nfs/common/nfs_commonkrpc.c
632
if (auth == NULL) {
sys/fs/nfs/common/nfs_commonkrpc.c
639
ext.rc_auth = auth;
sys/fs/nfs/common/nfs_commonkrpc.c
789
AUTH_DESTROY(auth);
sys/fs/nfs/nlm/nlm_advlock.c
214
AUTH *auth;
sys/fs/nfs/nlm/nlm_advlock.c
258
auth = authunix_create(cred);
sys/fs/nfs/nlm/nlm_advlock.c
263
ext.rc_auth = auth;
sys/fs/nfs/nlm/nlm_advlock.c
383
AUTH_DESTROY(auth);
sys/kern/kern_ktrace.c
469
ktrderefall(struct ktr_desc *ktd, int auth)
sys/kern/kern_ktrace.c
482
if (!auth || ktrcanset(curl, p))
sys/lib/libsa/rpc.c
120
struct auth_info *auth;
sys/lib/libsa/rpc.c
148
send_head -= sizeof(*auth);
sys/lib/libsa/rpc.c
149
auth = (struct auth_info *)send_head;
sys/lib/libsa/rpc.c
150
auth->authtype = htonl(RPCAUTH_NULL);
sys/lib/libsa/rpc.c
151
auth->authlen = 0;
sys/lib/libsa/rpc.c
157
send_head -= sizeof(*auth);
sys/lib/libsa/rpc.c
158
auth = (struct auth_info *)send_head;
sys/lib/libsa/rpc.c
159
auth->authtype = htonl(RPCAUTH_UNIX);
sys/lib/libsa/rpc.c
160
auth->authlen = htonl(sizeof(struct auth_unix));
sys/lib/libsa/rpc.c
163
send_head -= sizeof(*auth);
sys/lib/libsa/rpc.c
164
auth = send_head;
sys/lib/libsa/rpc.c
165
auth->authtype = htonl(RPCAUTH_NULL);
sys/lib/libsa/rpc.c
166
auth->authlen = 0;
sys/lib/libsa/rpc.c
208
auth = &reply->rp_u.rpu_rok.rok_auth;
sys/lib/libsa/rpc.c
209
x = ntohl(auth->authlen);
sys/net/if_wg.c
1272
const uint8_t auth[], size_t authlen)
sys/net/if_wg.c
1281
plainsize, auth, authlen, NULL, nonce, key);
sys/net/if_wg.c
1291
const uint8_t auth[], size_t authlen)
sys/net/if_wg.c
1300
encrypted, encryptedsize, auth, authlen, nonce, key);
sys/net/if_wg.c
1310
const uint8_t auth[], size_t authlen,
sys/net/if_wg.c
1318
plain, plainsize, auth, authlen, NULL, nonce, key);
sys/net/if_wg.c
1327
const uint8_t auth[], size_t authlen,
sys/net/if_wg.c
1334
encrypted, encryptedsize, auth, authlen, nonce, key);
sys/net80211/ieee80211.h
613
#define IEEE80211_AUTH_ALGORITHM(auth) \
sys/net80211/ieee80211.h
614
((auth)[0] | ((auth)[1] << 8))
sys/net80211/ieee80211.h
615
#define IEEE80211_AUTH_TRANSACTION(auth) \
sys/net80211/ieee80211.h
616
((auth)[2] | ((auth)[3] << 8))
sys/net80211/ieee80211.h
617
#define IEEE80211_AUTH_STATUS(auth) \
sys/net80211/ieee80211.h
618
((auth)[4] | ((auth)[5] << 8))
sys/net80211/ieee80211_ioctl.c
2053
const struct ieee80211_authenticator *auth;
sys/net80211/ieee80211_ioctl.c
2136
auth = ieee80211_authenticator_get(ireq->i_val);
sys/net80211/ieee80211_ioctl.c
2137
if (auth == NULL)
sys/net80211/ieee80211_ioctl.c
2166
ic->ic_auth = auth;
sys/net80211/ieee80211_proto.c
198
ieee80211_authenticator_get(int auth)
sys/net80211/ieee80211_proto.c
205
if (auth >= IEEE80211_AUTH_MAX)
sys/net80211/ieee80211_proto.c
207
if (authenticators[auth] == NULL)
sys/net80211/ieee80211_proto.c
208
ieee80211_load_module(auth_modnames[auth]);
sys/net80211/ieee80211_proto.c
209
return authenticators[auth];
sys/net80211/ieee80211_proto.c
214
const struct ieee80211_authenticator *auth)
sys/net80211/ieee80211_proto.c
218
authenticators[type] = auth;
sys/net80211/ieee80211_proto.h
157
const struct ieee80211_authenticator *ieee80211_authenticator_get(int auth);
tests/rump/rumpkern/h_client/h_forkcli.c
121
uint32_t *auth;
tests/rump/rumpkern/h_client/h_forkcli.c
128
auth = (void *)rf;
tests/rump/rumpkern/h_client/h_forkcli.c
129
*(auth+3) = *(auth+3) ^ 0x1;
usr.bin/ftp/fetch.c
1075
struct authinfo *pauth, char **auth, const char *message,
usr.bin/ftp/fetch.c
1086
if (verbose || aauth.auth == NULL ||
usr.bin/ftp/fetch.c
1089
if (EMPTYSTRING(*auth)) {
usr.bin/ftp/fetch.c
1094
if (aauth.auth != NULL) {
usr.bin/ftp/fetch.c
1108
if (auth_url(*auth, &response, &aauth) == 0) {
usr.bin/ftp/fetch.c
1110
hcode == 401 ? pauth->auth : response,
usr.bin/ftp/fetch.c
1111
hcode == 401 ? response : wauth->auth,
usr.bin/ftp/fetch.c
1123
char **auth, struct urlinfo *ui)
usr.bin/ftp/fetch.c
1130
*auth = message = location = NULL;
usr.bin/ftp/fetch.c
1207
FREEPTR(*auth);
usr.bin/ftp/fetch.c
1208
*auth = ftp_strdup(token);
usr.bin/ftp/fetch.c
1245
pauth->auth, wauth->auth, ui);
usr.bin/ftp/fetch.c
1257
do_auth(hcode, url, penv, wauth, pauth, auth, message, rval,
usr.bin/ftp/fetch.c
1288
struct authinfo *pauth, char **auth, int *hasleading, volatile int *rval)
usr.bin/ftp/fetch.c
1299
*hasleading = print_proxy(fin, *hasleading, NULL, pauth->auth);
usr.bin/ftp/fetch.c
1343
FREEPTR(*auth);
usr.bin/ftp/fetch.c
1344
*auth = ftp_strdup(token);
usr.bin/ftp/fetch.c
1355
do_auth(hcode, url, penv, wauth, pauth, auth, message, rval,
usr.bin/ftp/fetch.c
1411
char *volatile auth;
usr.bin/ftp/fetch.c
1435
auth = location = message = NULL;
usr.bin/ftp/fetch.c
1599
&wauth, &pauth, __UNVOLATILE(&auth), &hasleading,
usr.bin/ftp/fetch.c
1619
hasleading = print_proxy(fin, hasleading, wauth.auth,
usr.bin/ftp/fetch.c
1620
auth ? NULL : pauth.auth);
usr.bin/ftp/fetch.c
1637
__UNVOLATILE(&auth), &ui)) {
usr.bin/ftp/fetch.c
1907
FREEPTR(auth);
usr.bin/ftp/fetch.c
1963
struct authinfo auth;
usr.bin/ftp/fetch.c
1972
initauthinfo(&auth, NULL);
usr.bin/ftp/fetch.c
1975
if ((parse_url(url, "URL", &ui, &auth, NULL) == -1) ||
usr.bin/ftp/fetch.c
1976
(auth.user != NULL && *auth.user == '\0') ||
usr.bin/ftp/fetch.c
2010
auth.user = ui.host;
usr.bin/ftp/fetch.c
2068
STRorNULL(auth.user), STRorNULL(auth.pass),
usr.bin/ftp/fetch.c
2102
(connected == 1 && !ftp_login(ui.host, auth.user, auth.pass))) {
usr.bin/ftp/fetch.c
214
initauthinfo(struct authinfo *ai, char *auth)
usr.bin/ftp/fetch.c
216
ai->auth = auth;
usr.bin/ftp/fetch.c
2276
freeauthinfo(&auth);
usr.bin/ftp/fetch.c
262
auth_url(const char *challenge, char **response, const struct authinfo *auth)
usr.bin/ftp/fetch.c
306
if (auth->user != NULL) {
usr.bin/ftp/fetch.c
307
(void)strlcpy(uuser, auth->user, sizeof(uuser));
usr.bin/ftp/fetch.c
316
if (auth->pass != NULL)
usr.bin/ftp/fetch.c
317
upass = auth->pass;
usr.bin/ftp/fetch.c
475
struct authinfo *auth, struct urlinfo *rui)
usr.bin/ftp/fetch.c
481
if (url == NULL || desc == NULL || ui == NULL || auth == NULL)
usr.bin/ftp/fetch.c
509
freeauthinfo(auth);
usr.bin/ftp/fetch.c
535
auth->user = thost;
usr.bin/ftp/fetch.c
538
cp = strchr(auth->user, ':');
usr.bin/ftp/fetch.c
541
auth->pass = ftp_strdup(cp + 1);
usr.bin/ftp/fetch.c
543
url_decode(auth->user);
usr.bin/ftp/fetch.c
544
if (auth->pass)
usr.bin/ftp/fetch.c
545
url_decode(auth->pass);
usr.bin/ftp/fetch.c
610
STRorNULL(auth->user), STRorNULL(auth->pass),
usr.bin/ftp/fetch.c
620
ftp_socket(const struct urlinfo *ui, void **ssl, struct authinfo *auth)
usr.bin/ftp/fetch.c
700
if (fuser != NULL && auth->user == NULL)
usr.bin/ftp/fetch.c
701
auth->user = ftp_strdup(fuser);
usr.bin/ftp/fetch.c
702
if (pass != NULL && auth->pass == NULL)
usr.bin/ftp/fetch.c
703
auth->pass = ftp_strdup(pass);
usr.bin/ftp/fetch.c
84
char *auth;
usr.sbin/ldpd/ldp_command.c
137
csockets[i].auth = 0;
usr.sbin/ldpd/ldp_command.c
213
csockets[i].auth = 0;
usr.sbin/ldpd/ldp_command.c
234
if (cs->auth) {
usr.sbin/ldpd/ldp_command.c
246
if (!cs->auth) {
usr.sbin/ldpd/ldp_command.c
249
cs->auth = 1;
usr.sbin/ldpd/ldp_command.c
275
csockets[i].auth = 0;
usr.sbin/ldpd/ldp_command.h
40
int auth; /* 1 if socket is authenticated */
usr.sbin/mountd/mountd.c
772
long ok = 0, len, auth;
usr.sbin/mountd/mountd.c
786
auth = RPCAUTH_KERB4;
usr.sbin/mountd/mountd.c
788
auth = RPCAUTH_UNIX;
usr.sbin/mountd/mountd.c
792
return (xdr_long(xdrsp, &auth));
usr.sbin/rpcbind/rpcb_svc_com.c
624
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
867
if (!AUTH_MARSHALL(auth, &outxdr)) {
usr.sbin/rpcbind/rpcb_svc_com.c
870
AUTH_DESTROY(auth);
usr.sbin/rpcbind/rpcb_svc_com.c
876
AUTH_DESTROY(auth);