Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 25 of 244) sorted by relevance

12345678910

/openbsd-src/include/rpc/
H A Dauth.h128 #define AUTH_NEXTVERF(auth) \ argument
129 ((*((auth)->ah_ops->ah_nextverf))(auth))
130 #define auth_nextverf(auth) \ argument
131 ((*((auth)->ah_ops->ah_nextverf))(auth))
133 #define AUTH_MARSHALL(auth, xdrs) \ argument
134 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
135 #define auth_marshall(auth, xdrs) \ argument
136 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs))
138 #define AUTH_VALIDATE(auth, verfp) \ argument
139 ((*((auth)->ah_ops->ah_validate))((auth), verfp))
[all …]
/openbsd-src/sys/dev/pci/drm/amd/display/modules/hdcp/
H A Dhdcp_log.c57 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_log_ddc_trace()
58 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_log_ddc_trace()
59 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_log_ddc_trace()
60 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_log_ddc_trace()
62 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_log_ddc_trace()
63 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_log_ddc_trace()
64 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, in mod_hdcp_log_ddc_trace()
65 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_log_ddc_trace()
66 HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv, in mod_hdcp_log_ddc_trace()
67 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_log_ddc_trace()
[all …]
H A Dhdcp_ddc.c279 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bstatus()
280 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_read_bstatus()
286 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_r0p()
287 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_read_r0p()
296 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_ksvlist()
300 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_ksvlist()
301 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_read_ksvlist()
308 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p,
309 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_read_vp()
319 hdcp->auth in mod_hdcp_read_vp()
[all...]
H A Dhdcp_psp.c37 in->session_handle = hdcp->auth.id; in hdcp2_message_init()
273 hdcp->auth.id = hdcp_cmd->out_msg.hdcp1_create_session.session_handle; in mod_hdcp_hdcp1_create_session()
278 hdcp->auth.msg.hdcp1.ainfo = hdcp_cmd->out_msg.hdcp1_create_session.ainfo_primary; in mod_hdcp_hdcp1_create_session()
279 memcpy(hdcp->auth.msg.hdcp1.aksv, hdcp_cmd->out_msg.hdcp1_create_session.aksv_primary, in mod_hdcp_hdcp1_create_session()
280 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session()
281 memcpy(hdcp->auth.msg.hdcp1.an, hdcp_cmd->out_msg.hdcp1_create_session.an_primary, in mod_hdcp_hdcp1_create_session()
282 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session()
301 hdcp_cmd->in_msg.hdcp1_destroy_session.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_destroy_session()
333 hdcp_cmd->in_msg.hdcp1_first_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_rx()
335 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_hdcp1_validate_rx()
[all …]
H A Dhdcp2_execution.c35 is_ready = HDCP_2_2_DP_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus_dp) ? 1 : 0; in check_receiver_id_list_ready()
37 is_ready = (HDCP_2_2_HDMI_RXSTATUS_READY(hdcp->auth.msg.hdcp2.rxstatus[1]) && in check_receiver_id_list_ready()
38 (HDCP_2_2_HDMI_RXSTATUS_MSG_SZ_HI(hdcp->auth.msg.hdcp2.rxstatus[1]) << 8 | in check_receiver_id_list_ready()
39 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0; in check_receiver_id_list_ready()
49 status = (hdcp->auth.msg.hdcp2.rxcaps_dp[0] == HDCP_2_2_RX_CAPS_VERSION_VAL) && in check_hdcp2_capable()
50 HDCP_2_2_DP_HDCP_CAPABLE(hdcp->auth.msg.hdcp2.rxcaps_dp[2]) ? in check_hdcp2_capable()
54 status = (hdcp->auth.msg.hdcp2.hdcp2version_hdmi & HDCP_2_2_HDMI_SUPPORT_MASK) ? in check_hdcp2_capable()
66 ret = HDCP_2_2_DP_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_reauthentication_request()
70 ret = HDCP_2_2_HDMI_RXSTATUS_REAUTH_REQ(hdcp->auth.msg.hdcp2.rxstatus[1]) ? in check_reauthentication_request()
79 return HDCP_2_2_DP_RXSTATUS_LINK_FAILED(hdcp->auth.msg.hdcp2.rxstatus_dp) ? in check_link_integrity_failure_dp()
[all …]
/openbsd-src/lib/libc/rpc/
H A Dauth_unix.c82 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) argument
84 static void marshal_new_auth(AUTH *auth);
98 AUTH *auth; in authunix_create() local
104 auth = (AUTH *)mem_alloc(sizeof(*auth)); in authunix_create()
106 if (auth == NULL) in authunix_create()
112 free(auth); in authunix_create()
116 auth->ah_ops = &auth_unix_ops; in authunix_create()
117 auth->ah_private = (caddr_t)au; in authunix_create()
118 auth->ah_verf = au->au_shcred = _null_auth; in authunix_create()
151 auth->ah_cred = au->au_origcred; in authunix_create()
[all …]
/openbsd-src/regress/usr.sbin/snmpd/
H A Dsnmpd.conf18 user auth_md5 authkey testpass auth hmac-md5
19 user auth_sha1 authkey testpass auth hmac-sha1
20 user auth_sha224 authkey testpass auth hmac-sha224
21 user auth_sha256 authkey testpass auth hmac-sha256
22 user auth_sha384 authkey testpass auth hmac-sha384
23 user auth_sha512 authkey testpass auth hmac-sha512
24 user authpriv_md5_des authkey testpass auth hmac-md5 enckey testpass enc des
25 user authpriv_md5_aes authkey testpass auth hmac-md5 enckey testpass enc aes
26 user authpriv_sha1_des authkey testpass auth hmac-sha1 enckey testpass enc des
27 user authpriv_sha1_aes authkey testpass auth hmac-sha1 enckey testpass enc aes
[all …]
/openbsd-src/regress/sbin/ipsecctl/
H A Dsa5.ok1 ah tunnel from 1.1.1.1 to 2.2.2.2 spi 0x1eadbeef auth hmac-sha2-256 \
3 ah tunnel from 2.2.2.2 to 1.1.1.1 spi 0xbeef1ead auth hmac-sha2-256 \
5 ah tunnel from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-md5 \
7 ah tunnel from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-md5 \
9 ah tunnel from 1.1.1.3 to 2.2.2.2 spi 0x3eadbeef auth hmac-ripemd160 \
11 ah tunnel from 2.2.2.2 to 1.1.1.3 spi 0xbeef3ead auth hmac-ripemd160 \
13 ah tunnel from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef auth hmac-sha1 \
15 ah tunnel from 2.2.2.2 to 1.1.1.4 spi 0xbeef4ead auth hmac-sha1 \
17 ah tunnel from 1.1.1.5 to 2.2.2.2 spi 0x5eadbeef auth hmac-sha2-256 \
19 ah tunnel from 2.2.2.2 to 1.1.1.5 spi 0xbeef5ead auth hmac-sha2-256 \
[all …]
H A Dsa12.ok1 ah transport from 1.1.1.1 to 2.2.2.2 spi 0x1eadbeef auth hmac-sha2-256 \
3 ah transport from 2.2.2.2 to 1.1.1.1 spi 0xbeef1ead auth hmac-sha2-256 \
5 ah transport from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-md5 \
7 ah transport from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-md5 \
9 ah transport from 1.1.1.3 to 2.2.2.2 spi 0x3eadbeef auth hmac-ripemd160 \
11 ah transport from 2.2.2.2 to 1.1.1.3 spi 0xbeef3ead auth hmac-ripemd160 \
13 ah transport from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef auth hmac-sha1 \
15 ah transport from 2.2.2.2 to 1.1.1.4 spi 0xbeef4ead auth hmac-sha1 \
17 ah transport from 1.1.1.5 to 2.2.2.2 spi 0x5eadbeef auth hmac-sha2-256 \
19 ah transport from 2.2.2.2 to 1.1.1.5 spi 0xbeef5ead auth hmac-sha2-256 \
[all …]
H A Dsa17.ok1 ah tunnel from 3ffe::1 to 3ffe::8 spi 0x1eadbeef auth hmac-sha2-256 \
3 ah tunnel from 3ffe::8 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256 \
5 ah tunnel from 3ffe::2 to 3ffe::8 spi 0x2eadbeef auth hmac-md5 \
7 ah tunnel from 3ffe::8 to 3ffe::2 spi 0xbeef2ead auth hmac-md5 \
9 ah tunnel from 3ffe::3 to 3ffe::8 spi 0x3eadbeef auth hmac-ripemd160 \
11 ah tunnel from 3ffe::8 to 3ffe::3 spi 0xbeef3ead auth hmac-ripemd160 \
13 ah tunnel from 3ffe::4 to 3ffe::8 spi 0x4eadbeef auth hmac-sha1 \
15 ah tunnel from 3ffe::8 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1 \
17 ah tunnel from 3ffe::5 to 3ffe::8 spi 0x5eadbeef auth hmac-sha2-256 \
19 ah tunnel from 3ffe::8 to 3ffe::5 spi 0xbeef5ead auth hmac-sha2-256 \
[all …]
H A Dsa24.ok1 ah transport from 3ffe::1 to 3ffe::8 spi 0x1eadbeef auth hmac-sha2-256 \
3 ah transport from 3ffe::8 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256 \
5 ah transport from 3ffe::2 to 3ffe::8 spi 0x2eadbeef auth hmac-md5 \
7 ah transport from 3ffe::8 to 3ffe::2 spi 0xbeef2ead auth hmac-md5 \
9 ah transport from 3ffe::3 to 3ffe::8 spi 0x3eadbeef auth hmac-ripemd160 \
11 ah transport from 3ffe::8 to 3ffe::3 spi 0xbeef3ead auth hmac-ripemd160 \
13 ah transport from 3ffe::4 to 3ffe::8 spi 0x4eadbeef auth hmac-sha1 \
15 ah transport from 3ffe::8 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1 \
17 ah transport from 3ffe::5 to 3ffe::8 spi 0x5eadbeef auth hmac-sha2-256 \
19 ah transport from 3ffe::8 to 3ffe::5 spi 0xbeef5ead auth hmac-sha2-256 \
[all …]
H A Dsa9.ok1 esp tunnel from 1.1.1.1 to 2.2.2.2 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp tunnel from 2.2.2.2 to 1.1.1.1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp tunnel from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp tunnel from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp tunnel from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp tunnel from 2.2.2.2 to 1.1.1.4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp tunnel from 1.1.1.6 to 2.2.2.2 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp tunnel from 2.2.2.2 to 1.1.1.6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp tunnel from 1.1.1.7 to 2.2.2.2 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp tunnel from 2.2.2.2 to 1.1.1.7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
H A Dsa11.ok1 esp transport from 1.1.1.1 to 2.2.2.2 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp transport from 2.2.2.2 to 1.1.1.1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp transport from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp transport from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp transport from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp transport from 2.2.2.2 to 1.1.1.4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp transport from 1.1.1.6 to 2.2.2.2 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp transport from 2.2.2.2 to 1.1.1.6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp transport from 1.1.1.7 to 2.2.2.2 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp transport from 2.2.2.2 to 1.1.1.7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
H A Dsa6.ok1 esp tunnel from 1.1.1.1 to 2.2.2.2 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp tunnel from 2.2.2.2 to 1.1.1.1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp tunnel from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp tunnel from 2.2.2.2 to 1.1.1.2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp tunnel from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp tunnel from 2.2.2.2 to 1.1.1.4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp tunnel from 1.1.1.6 to 2.2.2.2 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp tunnel from 2.2.2.2 to 1.1.1.6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp tunnel from 1.1.1.7 to 2.2.2.2 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp tunnel from 2.2.2.2 to 1.1.1.7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
H A Dsa21.ok1 esp tunnel from 3ffe::1 to 3ffe::10 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp tunnel from 3ffe::10 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp tunnel from 3ffe::2 to 3ffe::10 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp tunnel from 3ffe::10 to 3ffe::2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp tunnel from 3ffe::4 to 3ffe::10 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp tunnel from 3ffe::10 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp tunnel from 3ffe::6 to 3ffe::10 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp tunnel from 3ffe::10 to 3ffe::6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp tunnel from 3ffe::7 to 3ffe::10 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp tunnel from 3ffe::10 to 3ffe::7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
H A Dsa23.ok1 esp transport from 3ffe::1 to 3ffe::10 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp transport from 3ffe::10 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp transport from 3ffe::2 to 3ffe::10 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp transport from 3ffe::10 to 3ffe::2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp transport from 3ffe::4 to 3ffe::10 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp transport from 3ffe::10 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp transport from 3ffe::6 to 3ffe::10 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp transport from 3ffe::10 to 3ffe::6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp transport from 3ffe::7 to 3ffe::10 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp transport from 3ffe::10 to 3ffe::7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
H A Dsa18.ok1 esp tunnel from 3ffe::1 to 3ffe::10 spi 0x1eadbeef auth hmac-sha2-256 enc aes \
4 esp tunnel from 3ffe::10 to 3ffe::1 spi 0xbeef1ead auth hmac-sha2-256 enc aes \
7 esp tunnel from 3ffe::2 to 3ffe::10 spi 0x2eadbeef auth hmac-sha1 enc 3des-cbc \
10 esp tunnel from 3ffe::10 to 3ffe::2 spi 0xbeef2ead auth hmac-sha1 enc 3des-cbc \
13 esp tunnel from 3ffe::4 to 3ffe::10 spi 0x4eadbeef auth hmac-sha1 enc aes \
16 esp tunnel from 3ffe::10 to 3ffe::4 spi 0xbeef4ead auth hmac-sha1 enc aes \
19 esp tunnel from 3ffe::6 to 3ffe::10 spi 0x6eadbeef auth hmac-sha1 enc blowfish \
22 esp tunnel from 3ffe::10 to 3ffe::6 spi 0xbeef6ead auth hmac-sha1 enc blowfish \
25 esp tunnel from 3ffe::7 to 3ffe::10 spi 0x7eadbeef auth hmac-sha1 enc cast128 \
28 esp tunnel from 3ffe::10 to 3ffe::7 spi 0xbeef7ead auth hmac-sha1 enc cast128 \
[all …]
H A Dsa25.ok1 esp transport from 1.1.1.1 to 2.2.2.2 spi 0x1a000000 auth hmac-sha2-256 enc aes \
4 esp transport from 2.2.2.2 to 1.1.1.1 spi 0x1b000000 auth hmac-sha2-256 enc aes \
7 ah transport from 1.1.1.1 to 2.2.2.2 spi 0x2a000000 auth hmac-sha2-256 \
10 ah transport from 2.2.2.2 to 1.1.1.1 spi 0x2b000000 auth hmac-sha2-256 \
13 ah transport from 3.3.3.3 to 2.2.2.2 spi 0x3a000000 auth hmac-sha2-256 \
15 ah transport from 2.2.2.2 to 3.3.3.3 spi 0x3b000000 auth hmac-sha2-256 \
17 ah transport from 1.1.1.1 to 3.3.3.3 spi 0x4a000000 auth hmac-sha2-256 \
19 ah transport from 3.3.3.3 to 1.1.1.1 spi 0x4b000000 auth hmac-sha2-256 \
/openbsd-src/usr.sbin/bgpd/
H A Dpfkey.c372 /* auth key */ in pfkey_send()
532 pfkey_md5sig_establish(struct auth_state *as, struct auth_config *auth, in pfkey_sa_remove()
539 auth->md5key_len, auth->md5key, &spi_out) == -1) in pfkey_sa_remove()
543 auth->md5key_len, auth->md5key, &spi_in) == -1) in pfkey_md5sig_establish()
551 as->method = auth->method; in pfkey_md5sig_establish()
608 pfkey_ipsec_establish(struct auth_state *as, struct auth_config *auth,
617 switch (auth->method) { in pfkey_enc_alg()
626 satype = auth in pfkey_ipsec_establish()
[all...]
/openbsd-src/usr.sbin/npppd/npppd/
H A Dnpppd_auth.c178 struct authconf *auth; in npppd_auth_reload() local
180 TAILQ_FOREACH(auth, &base->npppd->conf.authconfs, entry) { in npppd_auth_reload()
181 if (strcmp(auth->name, base->name) == 0) in npppd_auth_reload()
184 if (auth == NULL) in npppd_auth_reload()
188 if (auth->username_suffix != NULL) in npppd_auth_reload()
189 strlcpy(base->pppsuffix, auth->username_suffix, in npppd_auth_reload()
191 base->eap_capable = auth->eap_capable; in npppd_auth_reload()
192 base->strip_nt_domain = auth->strip_nt_domain; in npppd_auth_reload()
193 base->strip_atmark_realm = auth->strip_atmark_realm; in npppd_auth_reload()
196 base->user_max_session = auth->user_max_session; in npppd_auth_reload()
[all …]
/openbsd-src/libexec/login_radius/
H A Draddauth.c349 auth_hdr_t auth; in rad_request()
358 memset(&auth, 0, sizeof(auth)); in rad_request()
359 auth.code = PW_AUTHENTICATION_REQUEST; in rad_request()
360 auth.id = id; in rad_request()
361 memcpy(auth.vector, vector, AUTH_VECTOR_LEN); in rad_request()
363 ptr = auth.data; in rad_request()
399 memcpy(md5buf + secretlen, auth.vector, AUTH_VECTOR_LEN); in rad_request()
444 auth.length = htons(total_length);
447 if (HMAC(EVP_md5(), auth_secret, secretlen, (unsigned char *)&auth, in rad_recv()
346 auth_hdr_t auth; rad_request() local
449 auth_hdr_t auth; rad_recv() local
[all...]
/openbsd-src/sys/lib/libsa/
H A Drpc.c114 struct auth_info *auth; in rpc_call() local
142 send_head -= sizeof(*auth); in rpc_call()
143 auth = (struct auth_info *)send_head; in rpc_call()
144 auth->authtype = htonl(RPCAUTH_NULL); in rpc_call()
145 auth->authlen = 0; in rpc_call()
151 send_head -= sizeof(*auth); in rpc_call()
152 auth = (struct auth_info *)send_head; in rpc_call()
153 auth->authtype = htonl(RPCAUTH_UNIX); in rpc_call()
154 auth->authlen = htonl(sizeof(struct auth_unix)); in rpc_call()
157 send_head -= sizeof(*auth); in rpc_call()
[all …]
/openbsd-src/sbin/ipsecctl/
H A Dipsecctl.c84 static const char *auth[] = {"?", "psk", "rsa"}; variable
226 if (rp->auth) { in ipsecctl_free_rule()
227 free(rp->auth->srcid); in ipsecctl_free_rule()
228 free(rp->auth->dstid); in ipsecctl_free_rule()
229 free(rp->auth); in ipsecctl_free_rule()
317 if ((r1->auth == NULL) && (r2->auth == NULL)) in ipsecctl_cmp_ident()
320 if ((r1->auth == NULL) || (r2->auth == NULL)) in ipsecctl_cmp_ident()
323 if (r1->auth->type != r2->auth->type) in ipsecctl_cmp_ident()
326 if (r1->auth->srcid != NULL) { in ipsecctl_cmp_ident()
327 if (r2->auth->srcid == NULL) in ipsecctl_cmp_ident()
[all …]
/openbsd-src/etc/examples/
H A Dripd.conf9 auth-type crypt
10 auth-md-keyid 1
11 auth-md 1 test
16 auth-type simple
17 auth-key secret
/openbsd-src/usr.sbin/radiusd/
H A Dparse.y391 struct radiusd_authentication *auth; variable
393 auth = create_authen($4, $2.v, $5.c, $5.v);
396 if (auth == NULL) {
400 TAILQ_INSERT_TAIL(&conf->authen, auth, next);
403 struct radiusd_authentication *auth; variable
405 auth = create_authen($4, $2.v, $5.c, $5.v);
408 if (auth == NULL) {
412 auth->isfilter = true;
413 TAILQ_INSERT_TAIL(&conf->authen, auth, next);
424 if (authen.auth
941 struct radiusd_authentication *auth; create_authen() local
1016 radiusd_authentication_init(struct radiusd_authentication * auth) radiusd_authentication_init() argument
[all...]

12345678910