/openbsd/include/rpc/ |
H A D | auth.h | 129 ((*((auth)->ah_ops->ah_nextverf))(auth)) 131 ((*((auth)->ah_ops->ah_nextverf))(auth)) 134 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) 136 ((*((auth)->ah_ops->ah_marshal))(auth, xdrs)) 139 ((*((auth)->ah_ops->ah_validate))((auth), verfp)) 141 ((*((auth)->ah_ops->ah_validate))((auth), verfp)) 143 #define AUTH_REFRESH(auth) \ argument 144 ((*((auth)->ah_ops->ah_refresh))(auth)) 146 ((*((auth)->ah_ops->ah_refresh))(auth)) 149 ((*((auth)->ah_ops->ah_destroy))(auth)) [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/modules/hdcp/ |
H A D | hdcp_log.c | 58 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_log_ddc_trace() 60 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_log_ddc_trace() 65 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_log_ddc_trace() 67 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_log_ddc_trace() 69 sizeof(hdcp->auth.msg.hdcp1.ainfo)); in mod_hdcp_log_ddc_trace() 71 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_log_ddc_trace() 72 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_log_ddc_trace() 77 hdcp->auth.msg.hdcp1.ksvlist_size); in mod_hdcp_log_ddc_trace() 79 sizeof(hdcp->auth.msg.hdcp1.vp)); in mod_hdcp_log_ddc_trace() 91 hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_log_ddc_trace() [all …]
|
H A D | hdcp_ddc.c | 251 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv() 258 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps() 291 hdcp->auth.msg.hdcp1.ksvlist, in mod_hdcp_read_ksvlist() 306 &hdcp->auth.msg.hdcp1.vp[0], 4); in mod_hdcp_read_vp() 311 &hdcp->auth.msg.hdcp1.vp[4], 4); in mod_hdcp_read_vp() 316 &hdcp->auth.msg.hdcp1.vp[8], 4); in mod_hdcp_read_vp() 348 hdcp->auth.msg.hdcp1.aksv, in mod_hdcp_write_aksv() 355 &hdcp->auth.msg.hdcp1.ainfo, in mod_hdcp_write_ainfo() 362 hdcp->auth.msg.hdcp1.an, in mod_hdcp_write_an() 586 hdcp->auth.msg.hdcp2.lc_init, in mod_hdcp_write_lc_init() [all …]
|
H A D | hdcp_psp.c | 37 in->session_handle = hdcp->auth.id; in hdcp2_message_init() 280 sizeof(hdcp->auth.msg.hdcp1.aksv)); in mod_hdcp_hdcp1_create_session() 282 sizeof(hdcp->auth.msg.hdcp1.an)); in mod_hdcp_hdcp1_create_session() 405 hdcp->auth.msg.hdcp1.ksvlist_size); in mod_hdcp_hdcp1_validate_ksvlist_vp() 408 sizeof(hdcp->auth.msg.hdcp1.vp)); in mod_hdcp_hdcp1_validate_ksvlist_vp() 411 is_dp_hdcp(hdcp) ? hdcp->auth.msg.hdcp1.binfo_dp : hdcp->auth.msg.hdcp1.bstatus; in mod_hdcp_hdcp1_validate_ksvlist_vp() 631 sizeof(hdcp->auth.msg.hdcp2.ake_cert)); in mod_hdcp_hdcp2_validate_ake_cert() 647 memcpy(hdcp->auth.msg.hdcp2.ake_stored_km, in mod_hdcp_hdcp2_validate_ake_cert() 697 hdcp->auth.msg.hdcp2.ake_pairing_info, sizeof(hdcp->auth.msg.hdcp2.ake_pairing_info)); in mod_hdcp_hdcp2_validate_h_prime() 812 memcpy(hdcp->auth.msg.hdcp2.ske_eks, in mod_hdcp_hdcp2_prepare_eks() [all …]
|
H A D | hdcp2_execution.c | 39 hdcp->auth.msg.hdcp2.rxstatus[0])) ? 1 : 0; in check_receiver_id_list_ready() 95 hdcp->auth.msg.hdcp2.rxstatus[0]; in check_ake_cert_available() 96 status = (size == sizeof(hdcp->auth.msg.hdcp2.ake_cert)) ? in check_ake_cert_available() 119 hdcp->auth.msg.hdcp2.rxstatus[0]; in check_h_prime_available() 143 hdcp->auth.msg.hdcp2.rxstatus[0]; in check_pairing_info_available() 171 hdcp->auth.msg.hdcp2.rxstatus[0]; in poll_l_prime_available() 193 hdcp->auth.msg.hdcp2.rxstatus[0]; in check_stream_ready_available() 249 hdcp->auth.msg.hdcp2.rx_id_list_size = in process_rxstatus() 250 sizeof(hdcp->auth.msg.hdcp2.rx_id_list); in process_rxstatus() 252 hdcp->auth.msg.hdcp2.rx_id_list_size = in process_rxstatus() [all …]
|
/openbsd/lib/libc/rpc/ |
H A D | auth_unix.c | 82 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) argument 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() 152 marshal_new_auth(auth); in authunix_create() 153 return (auth); in authunix_create() 158 free(auth); in authunix_create() 285 marshal_new_auth(auth); in authunix_refresh() 307 mem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length); in authunix_destroy() [all …]
|
/openbsd/regress/usr.sbin/snmpd/ |
H A D | snmpd.conf | 18 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/regress/sbin/ipsecctl/ |
H A D | sa12.ok | 1 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 D | sa5.ok | 1 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 D | sa24.ok | 1 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 D | sa17.ok | 1 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 D | sa9.ok | 1 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 \ 25 esp tunnel from 1.1.1.7 to 2.2.2.2 spi 0x7eadbeef auth hmac-sha1 enc cast128 \ 31 esp tunnel from 1.1.1.8 to 2.2.2.2 spi 0x8eadbeef auth hmac-sha1 enc null \ 33 esp tunnel from 2.2.2.2 to 1.1.1.8 spi 0xbeef8ead auth hmac-sha1 enc null \ 35 esp tunnel from 1.1.1.10 to 2.2.2.2 spi 0xaeadbeef auth hmac-sha1 enc null \ [all …]
|
H A D | sa11.ok | 1 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 \ 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 \ 31 esp transport from 1.1.1.8 to 2.2.2.2 spi 0x8eadbeef auth hmac-sha1 enc null \ [all …]
|
H A D | sa6.ok | 1 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 \ 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 \ 31 esp tunnel from 1.1.1.8 to 2.2.2.2 spi 0x8eadbeef auth hmac-sha1 enc null \ [all …]
|
H A D | sa18.ok | 1 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 \ 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 \ 31 esp tunnel from 3ffe::8 to 3ffe::10 spi 0x8eadbeef auth hmac-sha1 enc null \ [all …]
|
H A D | sa21.ok | 1 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 \ 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 \ 31 esp tunnel from 3ffe::8 to 3ffe::10 spi 0x8eadbeef auth hmac-sha1 enc null \ [all …]
|
H A D | sa23.ok | 1 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 \ 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 \ 31 esp transport from 3ffe::8 to 3ffe::10 spi 0x8eadbeef auth hmac-sha1 enc null \ [all …]
|
H A D | sa25.ok | 1 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 \
|
H A D | sa5.in | 3 ah from 1.1.1.2 to 2.2.2.2 spi 0x2eadbeef:0xbeef2ead auth hmac-md5 \ 5 ah from 1.1.1.3 to 2.2.2.2 spi 0x3eadbeef:0xbeef3ead auth hmac-ripemd160 \ 7 ah from 1.1.1.4 to 2.2.2.2 spi 0x4eadbeef:0xbeef4ead auth hmac-sha1 \ 9 ah from 1.1.1.5 to 2.2.2.2 spi 0x5eadbeef:0xbeef5ead auth hmac-sha2-256 \ 11 ah from 1.1.1.6 to 2.2.2.2 spi 0x6eadbeef:0xbeef6ead auth hmac-sha2-384 \ 13 ah from 1.1.1.7 to 2.2.2.2 spi 0x7eadbeef:0xbeef7ead auth hmac-sha2-512 \
|
/openbsd/usr.sbin/bgpd/ |
H A D | pfkey.c | 549 p->conf.auth.md5key_len, p->conf.auth.md5key, in pfkey_md5sig_establish() 554 p->conf.auth.md5key_len, p->conf.auth.md5key, in pfkey_md5sig_establish() 577 if (p->auth.spi_out) in pfkey_md5sig_remove() 581 if (p->auth.spi_in) in pfkey_md5sig_remove() 587 p->auth.spi_out = 0; in pfkey_md5sig_remove() 588 p->auth.spi_in = 0; in pfkey_md5sig_remove() 701 p->auth.spi_in = p->conf.auth.spi_in; in pfkey_ipsec_establish() 702 p->auth.spi_out = p->conf.auth.spi_out; in pfkey_ipsec_establish() 775 p->auth.spi_out = 0; in pfkey_ipsec_remove() 776 p->auth.spi_in = 0; in pfkey_ipsec_remove() [all …]
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd_auth.c | 178 struct authconf *auth; in npppd_auth_reload() local 184 if (auth == NULL) in npppd_auth_reload() 188 if (auth->username_suffix != NULL) in npppd_auth_reload() 191 base->eap_capable = auth->eap_capable; in npppd_auth_reload() 523 (auth->data.radius.auth.timeout == 0) in npppd_auth_radius_reload() 524 ? DEFAULT_RADIUS_TIMEOUT : auth->data.radius.auth.timeout; in npppd_auth_radius_reload() 531 (auth->data.radius.auth.max_tries == 0) in npppd_auth_radius_reload() 532 ? DEFAULT_RADIUS_MAX_TRIES : auth->data.radius.auth.max_tries; in npppd_auth_radius_reload() 538 (auth->data.radius.auth.max_failovers == 0) in npppd_auth_radius_reload() 540 : auth->data.radius.auth.max_failovers; in npppd_auth_radius_reload() [all …]
|
/openbsd/libexec/login_radius/ |
H A D | raddauth.c | 346 auth_hdr_t auth; in rad_request() local 355 memset(&auth, 0, sizeof(auth)); in rad_request() 356 auth.code = PW_AUTHENTICATION_REQUEST; in rad_request() 357 auth.id = id; in rad_request() 360 ptr = auth.data; in rad_request() 432 auth.length = htons(total_length); in rad_request() 449 auth_hdr_t auth; in rad_recv() local 459 total_length = recvfrom(sockfd, &auth, sizeof(auth), 0, in rad_recv() 477 MD5Update(&context, (u_char *)&auth, ntohs(auth.length)); in rad_recv() 483 if (auth.code == PW_ACCESS_CHALLENGE) in rad_recv() [all …]
|
/openbsd/sys/lib/libsa/ |
H A D | rpc.c | 114 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() 157 send_head -= sizeof(*auth); in rpc_call() 158 auth = send_head; in rpc_call() 160 auth->authlen = 0; in rpc_call() [all …]
|
/openbsd/sbin/ipsecctl/ |
H A D | ipsecctl.c | 226 if (rp->auth) { 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() 330 if (strcmp(r1->auth->srcid, r2->auth->srcid)) in ipsecctl_cmp_ident() 338 if (strcmp(r1->auth->dstid, r2->auth->dstid)) in ipsecctl_cmp_ident() 494 if (r->auth) { in ipsecctl_print_flow() 500 printf(" %s", auth[r->auth->type]); in ipsecctl_print_flow() 736 if (rp->auth) { in ipsecctl_show() [all …]
|
/openbsd/etc/examples/ |
H A D | ripd.conf | 9 auth-type crypt 10 auth-md-keyid 1 11 auth-md 1 test 16 auth-type simple 17 auth-key secret
|