/freebsd/crypto/krb5/src/include/gssrpc/ |
H A D | auth.h | 132 #define AUTH_NEXTVERF(auth) \ argument 134 #define auth_nextverf(auth) \ argument 137 #define AUTH_MARSHALL(auth, xdrs) \ argument 139 #define auth_marshall(auth, xdrs) \ argument 142 #define AUTH_VALIDATE(auth, verfp) \ argument 144 #define auth_validate(auth, verfp) \ argument 147 #define AUTH_REFRESH(auth, msg) \ argument 149 #define auth_refresh(auth, msg) \ argument 152 #define AUTH_WRAP(auth, xdrs, xfunc, xwhere) \ argument 155 #define auth_wrap(auth, xdrs, xfunc, xwhere) \ argument [all …]
|
H A D | svc_auth.h | 79 #define SVCAUTH_WRAP(auth, xdrs, xfunc, xwhere) \ argument 81 #define SVCAUTH_UNWRAP(auth, xdrs, xfunc, xwhere) \ argument 83 #define SVCAUTH_DESTROY(auth) \ argument
|
/freebsd/lib/libc/rpc/ |
H A D | auth_unix.c | 82 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) argument 95 AUTH *auth; in authunix_create() local 177 AUTH *auth; in authunix_create_default() local 211 authunix_nextverf(AUTH *auth) in authunix_nextverf() 217 authunix_marshal(AUTH *auth, XDR *xdrs) in authunix_marshal() 229 authunix_validate(AUTH *auth, struct opaque_auth *verf) in authunix_validate() 261 authunix_refresh(AUTH *auth, void *dummy) in authunix_refresh() 305 authunix_destroy(AUTH *auth) in authunix_destroy() 330 marshal_new_auth(AUTH *auth) in marshal_new_auth()
|
H A D | auth_des.c | 60 #define AUTH_PRIVATE(auth) (struct ad_private *) auth->ah_private argument 151 AUTH *auth; in authdes_pk_seccreate() local 267 authdes_marshal(AUTH *auth, XDR *xdrs) in authdes_marshal() 359 authdes_validate(AUTH *auth, struct opaque_auth *rverf) in authdes_validate() 418 authdes_refresh(AUTH *auth, void *dummy __unused) in authdes_refresh() 458 authdes_destroy(AUTH *auth) in authdes_destroy()
|
H A D | rpcsec_gss_stub.c | 33 __rpc_gss_wrap_stub(AUTH *auth, void *header, size_t headerlen, XDR* xdrs, in __rpc_gss_wrap_stub() 41 __rpc_gss_unwrap_stub(AUTH *auth, XDR* xdrs, xdrproc_t xdr_args, void *args_ptr) in __rpc_gss_unwrap_stub()
|
/freebsd/crypto/krb5/src/lib/rpc/ |
H A D | auth_unix.c | 88 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) argument 109 AUTH *auth; in authunix_create() local 203 authunix_nextverf(AUTH *auth) in authunix_nextverf() 209 authunix_marshal(AUTH *auth, XDR *xdrs) in authunix_marshal() 217 authunix_validate(AUTH *auth, struct opaque_auth *verf) in authunix_validate() 245 authunix_refresh(AUTH *auth, struct rpc_msg *msg) in authunix_refresh() 287 authunix_destroy(AUTH *auth) in authunix_destroy() 309 marshal_new_auth(AUTH *auth) in marshal_new_auth() 326 authunix_wrap(AUTH *auth, XDR *xdrs, xdrproc_t xfunc, caddr_t xwhere) in authunix_wrap()
|
H A D | auth_gss.c | 156 #define AUTH_PRIVATE(auth) ((struct rpc_gss_data *)auth->ah_private) argument 163 AUTH *auth, *save_auth; in authgss_create() local 221 AUTH *auth; in authgss_create_default() local 252 authgss_get_private_data(AUTH *auth, struct authgss_private_data *pd) in authgss_get_private_data() 274 authgss_nextverf(AUTH *auth) in authgss_nextverf() 281 authgss_marshal(AUTH *auth, XDR *xdrs) in authgss_marshal() 343 authgss_validate(AUTH *auth, struct opaque_auth *verf) in authgss_validate() 395 authgss_refresh(AUTH *auth, struct rpc_msg *msg) in authgss_refresh() 528 authgss_service(AUTH *auth, int svc) in authgss_service() 545 authgss_destroy_context(AUTH *auth) in authgss_destroy_context() [all …]
|
H A D | auth_gssapi.c | 73 #define AUTH_PRIVATE(auth) ((struct auth_gssapi_data *)auth->ah_private) argument 85 AUTH *auth; in auth_gssapi_create_default() local 140 AUTH *auth, *save_auth; in auth_gssapi_create() local 493 AUTH *auth, in marshall_new_creds() 542 static void auth_gssapi_nextverf(AUTH *auth) in auth_gssapi_nextverf() 570 AUTH *auth, in auth_gssapi_marshall() 621 AUTH *auth, in auth_gssapi_validate() 678 AUTH *auth, in auth_gssapi_refresh() 703 static void auth_gssapi_destroy(AUTH *auth) in auth_gssapi_destroy() 761 AUTH *auth, in auth_gssapi_wrap() [all …]
|
H A D | auth_none.c | 117 authnone_verf(AUTH *auth) in authnone_verf() 123 authnone_validate(AUTH *auth, struct opaque_auth *verf) in authnone_validate() 131 authnone_refresh(AUTH *auth, struct rpc_msg *msg) in authnone_refresh() 139 authnone_destroy(AUTH *auth) in authnone_destroy() 144 authnone_wrap(AUTH *auth, XDR *xdrs, xdrproc_t xfunc, caddr_t xwhere) in authnone_wrap()
|
H A D | svc_auth_none.c | 55 svcauth_none_destroy(SVCAUTH *auth) in svcauth_none_destroy() 61 svcauth_none_wrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, in svcauth_none_wrap()
|
H A D | svc_auth_gss.c | 106 #define SVCAUTH_PRIVATE(auth) \ argument 388 SVCAUTH *auth; in gssrpc__svcauth_gss() local 553 svcauth_gss_destroy(SVCAUTH *auth) in svcauth_gss_destroy() 577 svcauth_gss_wrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr) in svcauth_gss_wrap() 594 svcauth_gss_unwrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr) in svcauth_gss_unwrap() 611 svcauth_gss_get_principal(SVCAUTH *auth) in svcauth_gss_get_principal()
|
/freebsd/lib/librpcsec_gss/ |
H A D | rpcsec_gss.c | 115 #define AUTH_PRIVATE(auth) ((struct rpc_gss_data *)auth->ah_private) argument 124 AUTH *auth, *save_auth; in rpc_gss_seccreate() local 228 rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, const char *qop) in rpc_gss_set_defaults() 253 rpc_gss_nextverf(__unused AUTH *auth) in rpc_gss_nextverf() 260 rpc_gss_marshal(__unused AUTH *auth, __unused XDR *xdrs) in rpc_gss_marshal() 268 rpc_gss_validate(AUTH *auth, struct opaque_auth *verf) in rpc_gss_validate() 321 rpc_gss_init(AUTH *auth, rpc_gss_options_ret_t *options_ret) in rpc_gss_init() 488 rpc_gss_refresh(AUTH *auth, void *msg) in rpc_gss_refresh() 511 rpc_gss_destroy_context(AUTH *auth, bool_t send_destroy) in rpc_gss_destroy_context() 542 rpc_gss_destroy(AUTH *auth) in rpc_gss_destroy() [all …]
|
/freebsd/sys/rpc/ |
H A D | auth_unix.c | 97 #define AUTH_PRIVATE(auth) ((struct audata *)auth->ah_private) argument 129 AUTH *auth; in authunix_create() local 240 authunix_nextverf(AUTH *auth) in authunix_nextverf() 246 authunix_marshal(AUTH *auth, uint32_t xid, XDR *xdrs, struct mbuf *args) in authunix_marshal() 258 authunix_validate(AUTH *auth, uint32_t xid, struct opaque_auth *verf, in authunix_validate() 292 authunix_refresh(AUTH *auth, void *dummy) in authunix_refresh() 331 authunix_destroy(AUTH *auth) in authunix_destroy() 358 marshal_new_auth(AUTH *auth) in marshal_new_auth()
|
H A D | svc_auth.c | 123 svcauth_null_wrap(SVCAUTH *auth, struct mbuf **mp) in svcauth_null_wrap() 130 svcauth_null_unwrap(SVCAUTH *auth, struct mbuf **mp) in svcauth_null_unwrap() 137 svcauth_null_release(SVCAUTH *auth) in svcauth_null_release()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | dpp_supplicant.c | 78 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_qr_code() local 196 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_auth_resp_retry_timeout() local 217 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_auth_resp_retry() local 305 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_conn_status_result_timeout() local 381 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_send_conn_status_result() local 443 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_connected_timeout() local 453 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_connected() local 472 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_drv_wait_timeout() local 489 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_neg_freq_timeout() local 508 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_tx_status() local [all …]
|
/freebsd/include/rpc/ |
H A D | auth.h | 204 #define AUTH_NEXTVERF(auth) \ argument 206 #define auth_nextverf(auth) \ argument 209 #define AUTH_MARSHALL(auth, xdrs) \ argument 211 #define auth_marshall(auth, xdrs) \ argument 214 #define AUTH_VALIDATE(auth, verfp) \ argument 216 #define auth_validate(auth, verfp) \ argument 219 #define AUTH_REFRESH(auth, msg) \ argument 221 #define auth_refresh(auth, msg) \ argument 224 #define AUTH_DESTROY(auth) \ argument 226 #define auth_destroy(auth) \ argument
|
/freebsd/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss.c | 146 #define AUTH_PRIVATE(auth) ((struct rpc_gss_data *)auth->ah_private) argument 196 AUTH *auth; in rpc_gss_secfind() local 335 rpc_gss_refresh_auth(AUTH *auth) in rpc_gss_refresh_auth() 359 AUTH *auth; in rpc_gss_seccreate_int() local 443 rpc_gss_set_defaults(AUTH *auth, rpc_gss_service_t service, const char *qop) in rpc_gss_set_defaults() 503 rpc_gss_nextverf(__unused AUTH *auth) in rpc_gss_nextverf() 510 rpc_gss_marshal(AUTH *auth, uint32_t xid, XDR *xdrs, struct mbuf *args) in rpc_gss_marshal() 612 rpc_gss_validate(AUTH *auth, uint32_t xid, struct opaque_auth *verf, in rpc_gss_validate() 734 rpc_gss_init(AUTH *auth, rpc_gss_options_ret_t *options_ret) in rpc_gss_init() 1013 rpc_gss_refresh(AUTH *auth, void *msg) in rpc_gss_refresh() [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | dpp_auth.c | 42 static void dpp_auth_success(struct dpp_authentication *auth) in dpp_auth_success() 59 static struct wpabuf * dpp_auth_build_req(struct dpp_authentication *auth, in dpp_auth_build_req() 233 static struct wpabuf * dpp_auth_build_resp(struct dpp_authentication *auth, in dpp_auth_build_resp() 418 static int dpp_auth_build_resp_ok(struct dpp_authentication *auth) in dpp_auth_build_resp_ok() 602 static int dpp_auth_build_resp_status(struct dpp_authentication *auth, in dpp_auth_build_resp_status() 684 struct dpp_authentication *auth = NULL; in dpp_auth_req_rx() local 936 int dpp_notify_new_qr_code(struct dpp_authentication *auth, in dpp_notify_new_qr_code() 956 static struct wpabuf * dpp_auth_build_conf(struct dpp_authentication *auth, in dpp_auth_build_conf() 1134 static int dpp_autogen_bootstrap_key(struct dpp_authentication *auth) in dpp_autogen_bootstrap_key() 1169 struct dpp_authentication *auth; in dpp_auth_init() local [all …]
|
H A D | dpp_tcp.c | 29 struct dpp_authentication *auth; member 228 struct dpp_authentication *auth = conn->auth; in dpp_controller_gas_done() local 345 struct dpp_authentication *auth = conn->auth; in dpp_controller_start_gas_client() local 368 struct dpp_authentication *auth = conn->auth; in dpp_controller_auth_success() local 807 struct dpp_authentication *auth = conn->auth; in dpp_controller_rx_auth_resp() local 837 struct dpp_authentication *auth = conn->auth; in dpp_controller_rx_auth_conf() local 877 struct dpp_authentication *auth = conn->auth; in dpp_controller_rx_conf_result() local 920 struct dpp_authentication *auth = conn->auth; in dpp_controller_rx_conn_status_result() local 955 struct dpp_authentication *auth; in dpp_controller_rx_presence_announcement() local 1004 struct dpp_authentication *auth; in dpp_controller_rx_reconfig_announcement() local [all …]
|
H A D | dpp_reconfig.c | 130 static struct wpabuf * dpp_reconfig_build_req(struct dpp_authentication *auth) in dpp_reconfig_build_req() 243 struct dpp_authentication *auth; in dpp_reconfig_init() local 328 static int dpp_reconfig_build_resp(struct dpp_authentication *auth, in dpp_reconfig_build_resp() 445 struct dpp_authentication *auth = NULL; in dpp_reconfig_auth_req_rx() local 573 dpp_reconfig_build_conf(struct dpp_authentication *auth) in dpp_reconfig_build_conf() 664 dpp_reconfig_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, in dpp_reconfig_auth_resp_rx() 849 int dpp_reconfig_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, in dpp_reconfig_auth_conf_rx()
|
H A D | dpp.c | 42 void dpp_auth_fail(struct dpp_authentication *auth, const char *txt) in dpp_auth_fail() 580 static int dpp_channel_intersect(struct dpp_authentication *auth, in dpp_channel_intersect() 604 static int dpp_channel_local_list(struct dpp_authentication *auth, in dpp_channel_local_list() 644 int dpp_prepare_channel_list(struct dpp_authentication *auth, in dpp_prepare_channel_list() 771 struct dpp_authentication *auth; in dpp_alloc_auth() local 783 static struct wpabuf * dpp_build_conf_req_attr(struct dpp_authentication *auth, in dpp_build_conf_req_attr() 942 struct wpabuf * dpp_build_conf_req(struct dpp_authentication *auth, in dpp_build_conf_req() 969 struct wpabuf * dpp_build_conf_req_helper(struct dpp_authentication *auth, in dpp_build_conf_req_helper() 1161 static int dpp_configuration_parse_helper(struct dpp_authentication *auth, in dpp_configuration_parse_helper() 1333 static int dpp_configuration_parse(struct dpp_authentication *auth, in dpp_configuration_parse() [all …]
|
H A D | dpp_backup.c | 151 static struct wpabuf * dpp_build_key_pkg(struct dpp_authentication *auth) in dpp_build_key_pkg() 264 dpp_build_pw_recipient_info(struct dpp_authentication *auth, size_t hash_len, in dpp_build_pw_recipient_info() 348 dpp_build_recipient_info(struct dpp_authentication *auth, size_t hash_len, in dpp_build_recipient_info() 370 dpp_build_enc_cont_info(struct dpp_authentication *auth, size_t hash_len, in dpp_build_enc_cont_info() 450 struct wpabuf * dpp_build_enveloped_data(struct dpp_authentication *auth) in dpp_build_enveloped_data() 1132 int dpp_conf_resp_env_data(struct dpp_authentication *auth, in dpp_conf_resp_env_data()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | dpp_hostapd.c | 59 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_qr_code() local 174 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_auth_resp_retry_timeout() local 193 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_auth_resp_retry() local 308 struct dpp_authentication *auth; in hostapd_dpp_pkex_done() local 494 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_tx_status() local 610 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_reply_wait_timeout() local 683 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_auth_conf_wait_timeout() local 699 struct dpp_authentication *auth) in hostapd_dpp_set_testing_options() 729 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_auth_init_next() local 818 struct dpp_authentication *auth) in hostapd_dpp_process_conf_obj() [all …]
|
/freebsd/crypto/krb5/src/lib/krad/ |
H A D | attr.c | 130 const unsigned char *auth, const krb5_data *in, in user_password_encode() 182 const unsigned char *auth, const krb5_data *in, in user_password_decode() 249 const unsigned char *auth, krad_attr type, in kr_attr_encode() 272 kr_attr_decode(krb5_context ctx, const char *secret, const unsigned char *auth, in kr_attr_decode()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | aes-ccm.c | 117 static void aes_ccm_encr_auth(void *aes, size_t M, u8 *x, u8 *a, u8 *auth) in aes_ccm_encr_auth() 132 static void aes_ccm_decr_auth(void *aes, size_t M, u8 *a, const u8 *auth, u8 *t) in aes_ccm_decr_auth() 150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) in aes_ccm_ae() 180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) in aes_ccm_ad()
|