/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_auth.c | 42 static void dpp_auth_success(struct dpp_authentication *auth) in dpp_auth_success() argument 46 os_memset(auth->Mx, 0, sizeof(auth->Mx)); in dpp_auth_success() 47 auth->Mx_len = 0; in dpp_auth_success() 48 os_memset(auth->Nx, 0, sizeof(auth->Nx)); in dpp_auth_success() 49 auth->Nx_len = 0; in dpp_auth_success() 50 os_memset(auth->Lx, 0, sizeof(auth->Lx)); in dpp_auth_success() 51 auth in dpp_auth_success() 59 dpp_auth_build_req(struct dpp_authentication *auth, const struct wpabuf *pi, size_t nonce_len, const u8 *r_pubkey_hash, const u8 *i_pubkey_hash, unsigned int neg_freq) dpp_auth_build_req() argument 233 dpp_auth_build_resp(struct dpp_authentication *auth, enum dpp_status_error status, const struct wpabuf *pr, size_t nonce_len, const u8 *r_pubkey_hash, const u8 *i_pubkey_hash, const u8 *r_nonce, const u8 *i_nonce, const u8 *wrapped_r_auth, size_t wrapped_r_auth_len, const u8 *siv_key) dpp_auth_build_resp() argument 418 dpp_auth_build_resp_ok(struct dpp_authentication *auth) dpp_auth_build_resp_ok() argument 602 dpp_auth_build_resp_status(struct dpp_authentication *auth, enum dpp_status_error status) dpp_auth_build_resp_status() argument 684 struct dpp_authentication *auth = NULL; dpp_auth_req_rx() local 936 dpp_notify_new_qr_code(struct dpp_authentication *auth, struct dpp_bootstrap_info *peer_bi) dpp_notify_new_qr_code() argument 956 dpp_auth_build_conf(struct dpp_authentication *auth, enum dpp_status_error status) dpp_auth_build_conf() argument 1134 dpp_autogen_bootstrap_key(struct dpp_authentication *auth) dpp_autogen_bootstrap_key() argument 1169 struct dpp_authentication *auth; dpp_auth_init() local 1305 dpp_auth_resp_rx_status(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, const u8 *wrapped_data, u16 wrapped_data_len, enum dpp_status_error status) dpp_auth_resp_rx_status() argument 1403 dpp_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_auth_resp_rx() argument 1743 dpp_auth_conf_rx_failure(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, const u8 *wrapped_data, u16 wrapped_data_len, enum dpp_status_error status) dpp_auth_conf_rx_failure() argument 1814 dpp_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_auth_conf_rx() argument [all...] |
H A D | dpp_reconfig.c | 130 static struct wpabuf * dpp_reconfig_build_req(struct dpp_authentication *auth) in dpp_reconfig_build_req() argument 136 attr_len = 4 + 1 + 4 + 1 + 4 + os_strlen(auth->conf->connector) + in dpp_reconfig_build_req() 137 4 + auth->curve->nonce_len; in dpp_reconfig_build_req() 145 wpabuf_put_u8(msg, auth->transaction_id); in dpp_reconfig_build_req() 154 wpabuf_put_le16(msg, os_strlen(auth->conf->connector)); in dpp_reconfig_build_req() 155 wpabuf_put_str(msg, auth->conf->connector); in dpp_reconfig_build_req() 159 wpabuf_put_le16(msg, auth->curve->nonce_len); in dpp_reconfig_build_req() 160 wpabuf_put_data(msg, auth->c_nonce, auth->curve->nonce_len); in dpp_reconfig_build_req() 227 struct dpp_authentication *auth; in dpp_reconfig_init() local 312 dpp_reconfig_build_resp(struct dpp_authentication *auth, const char *own_connector, struct wpabuf *conn_status) dpp_reconfig_build_resp() argument 429 struct dpp_authentication *auth = NULL; dpp_reconfig_auth_req_rx() local 557 dpp_reconfig_build_conf(struct dpp_authentication *auth) dpp_reconfig_build_conf() argument 648 dpp_reconfig_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_reconfig_auth_resp_rx() argument 833 dpp_reconfig_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_reconfig_auth_conf_rx() argument [all...] |
H A D | dpp.c | 42 void dpp_auth_fail(struct dpp_authentication *auth, const char *txt) in dpp_auth_fail() argument 44 wpa_msg(auth->msg_ctx, MSG_INFO, DPP_EVENT_FAIL "%s", txt); in dpp_auth_fail() 491 static int dpp_channel_intersect(struct dpp_authentication *auth, in dpp_channel_intersect() argument 495 struct dpp_bootstrap_info *peer_bi = auth->peer_bi; in dpp_channel_intersect() 500 if (freq_included(auth->freq, auth->num_freq, freq)) in dpp_channel_intersect() 503 auth->freq[auth->num_freq++] = freq; in dpp_channel_intersect() 505 if (!auth->num_freq) { in dpp_channel_intersect() 510 auth in dpp_channel_intersect() 515 dpp_channel_local_list(struct dpp_authentication *auth, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_channel_local_list() argument 555 dpp_prepare_channel_list(struct dpp_authentication *auth, unsigned int neg_freq, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_prepare_channel_list() argument 645 struct dpp_authentication *auth; dpp_alloc_auth() local 657 dpp_build_conf_req_attr(struct dpp_authentication *auth, const char *json) dpp_build_conf_req_attr() argument 784 dpp_build_conf_req(struct dpp_authentication *auth, const char *json) dpp_build_conf_req() argument 811 dpp_build_conf_req_helper(struct dpp_authentication *auth, const char *name, enum dpp_netrole netrole, const char *mud_url, int *opclasses) dpp_build_conf_req_helper() argument 994 dpp_configuration_parse_helper(struct dpp_authentication *auth, const char *cmd, int idx) dpp_configuration_parse_helper() argument 1137 dpp_configuration_parse(struct dpp_authentication *auth, const char *cmd) dpp_configuration_parse() argument 1189 dpp_set_configurator(struct dpp_authentication *auth, const char *cmd) dpp_set_configurator() argument 1248 dpp_auth_deinit(struct dpp_authentication *auth) dpp_auth_deinit() argument 1303 dpp_build_conf_start(struct dpp_authentication *auth, struct dpp_configuration *conf, size_t tailroom) dpp_build_conf_start() argument 1419 dpp_build_conf_obj_dpp(struct dpp_authentication *auth, struct dpp_configuration *conf) dpp_build_conf_obj_dpp() argument 1612 dpp_build_conf_obj_legacy(struct dpp_authentication *auth, struct dpp_configuration *conf) dpp_build_conf_obj_legacy() argument 1641 dpp_build_conf_obj(struct dpp_authentication *auth, enum dpp_netrole netrole, int idx, bool cert_req) dpp_build_conf_obj() argument 1695 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, u16 e_nonce_len, enum dpp_netrole netrole, bool cert_req) dpp_build_conf_resp() argument 1886 dpp_conf_req_rx(struct dpp_authentication *auth, const u8 *attr_start, size_t attr_len) dpp_conf_req_rx() argument 2308 dpp_parse_connector(struct dpp_authentication *auth, struct dpp_config_obj *conf, const unsigned char *payload, u16 payload_len) dpp_parse_connector() argument 2433 dpp_copy_netaccesskey(struct dpp_authentication *auth, struct dpp_config_obj *conf) dpp_copy_netaccesskey() argument 2455 dpp_parse_cred_dpp(struct dpp_authentication *auth, struct dpp_config_obj *conf, struct json_token *cred) dpp_parse_cred_dpp() argument 2550 dpp_parse_cred_dot1x(struct dpp_authentication *auth, struct dpp_config_obj *conf, struct json_token *cred) dpp_parse_cred_dot1x() argument 2708 dpp_parse_conf_obj(struct dpp_authentication *auth, const u8 *conf_obj, u16 conf_obj_len) dpp_parse_conf_obj() argument 2856 dpp_conf_resp_rx(struct dpp_authentication *auth, const struct wpabuf *resp) dpp_conf_resp_rx() argument 3005 dpp_conf_result_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_conf_result_rx() argument 3087 dpp_build_conf_result(struct dpp_authentication *auth, enum dpp_status_error status) dpp_build_conf_result() argument 3156 dpp_conn_status_result_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, u8 *ssid, size_t *ssid_len, char **channel_list) dpp_conn_status_result_rx() argument 3303 dpp_build_conn_status_result(struct dpp_authentication *auth, enum dpp_status_error result, const u8 *ssid, size_t ssid_len, const char *channel_list) dpp_build_conn_status_result() argument 3475 dpp_configurator_own_config(struct dpp_authentication *auth, const char *curve, int ap) dpp_configurator_own_config() argument [all...] |
H A D | dpp_tcp.c | 27 struct dpp_authentication *auth; member 30 int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth); 76 int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth); 104 dpp_auth_deinit(conn->auth); in dpp_connection_free() 179 struct dpp_authentication *auth = conn->auth; in dpp_controller_gas_done() local 181 if (auth->waiting_csr) { in dpp_controller_gas_done() 187 if (auth->peer_version >= 2 && in dpp_controller_gas_done() 188 auth->conf_resp_status == DPP_STATUS_OK) { in dpp_controller_gas_done() 190 auth in dpp_controller_gas_done() 283 struct dpp_authentication *auth = conn->auth; dpp_controller_start_gas_client() local 304 struct dpp_authentication *auth = conn->auth; dpp_controller_auth_success() local 684 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_auth_resp() local 714 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_auth_conf() local 754 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_conf_result() local 794 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_conn_status_result() local 833 struct dpp_authentication *auth; dpp_controller_rx_presence_announcement() local 882 struct dpp_authentication *auth; dpp_controller_rx_reconfig_announcement() local 940 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_reconfig_auth_resp() local 1115 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_gas_req() local 1172 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_gas_comeback_req() local 1212 struct dpp_authentication *auth = conn->auth; dpp_tcp_build_csr() local 1232 struct dpp_authentication *auth = conn->auth; dpp_tcp_rx_gas_resp() local 1282 struct dpp_authentication *auth = conn->auth; dpp_tcp_gas_query_comeback() local 1566 dpp_tcp_init(struct dpp_global *dpp, struct dpp_authentication *auth, const struct hostapd_ip_addr *addr, int port, const char *name, enum dpp_netrole netrole, void *msg_ctx, void *cb_ctx, int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth)) dpp_tcp_init() argument 1733 dpp_tcp_peer_id_match(struct dpp_authentication *auth, unsigned int id) dpp_tcp_peer_id_match() argument 1784 struct dpp_authentication *auth = conn->auth; dpp_controller_new_qr_code() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_ddc.c | 249 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv() 250 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_read_bksv() 256 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps() 257 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_read_bcaps() 266 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 270 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 271 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_read_bstatus() 278 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_read_r0p() 279 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_read_r0p() 289 hdcp->auth in mod_hdcp_read_ksvlist() [all...] |
H A D | hdcp_log.h | 111 HDCP_DDC_READ_TRACE(hdcp, "BKSV", hdcp->auth.msg.hdcp1.bksv, \ 112 sizeof(hdcp->auth.msg.hdcp1.bksv)); \ 113 HDCP_DDC_READ_TRACE(hdcp, "BCAPS", &hdcp->auth.msg.hdcp1.bcaps, \ 114 sizeof(hdcp->auth.msg.hdcp1.bcaps)); \ 116 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, \ 117 sizeof(hdcp->auth.msg.hdcp1.bstatus)); \ 118 HDCP_DDC_WRITE_TRACE(hdcp, "AN", hdcp->auth.msg.hdcp1.an, \ 119 sizeof(hdcp->auth.msg.hdcp1.an)); \ 120 HDCP_DDC_WRITE_TRACE(hdcp, "AKSV", hdcp->auth.msg.hdcp1.aksv, \ 121 sizeof(hdcp->auth [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_ddc.c | 249 hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_read_bksv() 250 sizeof(hdcp->auth.msg.hdcp1.bksv)); in mod_hdcp_read_bksv() 256 &hdcp->auth.msg.hdcp1.bcaps, in mod_hdcp_read_bcaps() 257 sizeof(hdcp->auth.msg.hdcp1.bcaps)); in mod_hdcp_read_bcaps() 266 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 270 (uint8_t *)&hdcp->auth.msg.hdcp1.bstatus, in mod_hdcp_read_bstatus() 271 sizeof(hdcp->auth.msg.hdcp1.bstatus)); in mod_hdcp_read_bstatus() 278 (uint8_t *)&hdcp->auth.msg.hdcp1.r0p, in mod_hdcp_read_r0p() 279 sizeof(hdcp->auth.msg.hdcp1.r0p)); in mod_hdcp_read_r0p() 289 hdcp->auth in mod_hdcp_read_ksvlist() [all...] |
H A D | hdcp_log.c | 57 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 in mod_hdcp_log_ddc_trace() [all...] |
/kernel/linux/common_modules/qos_auth/auth_ctl/ |
H A D | auth_ctrl.c | 57 * change auth's status to SYSTEM and enable all feature access 59 static void change_to_super(struct auth_struct *auth) in change_to_super() argument 62 auth->rtg_auth_flag = AF_RTG_ALL; in change_to_super() 65 auth->qos_auth_flag = AF_QOS_ALL; in change_to_super() 67 auth->status = AUTH_STATUS_SYSTEM_SERVER; in change_to_super() 70 static void init_authority_record(struct auth_struct *auth) in init_authority_record() argument 77 auth->rtg_auth_flag = 0; in init_authority_record() 80 auth->qos_auth_flag = 0; in init_authority_record() 82 auth->status = AUTH_STATUS_DISABLED; in init_authority_record() 83 mutex_init(&auth in init_authority_record() 93 get_auth_struct(struct auth_struct *auth) get_auth_struct() argument 98 __put_auth_struct(struct auth_struct *auth) __put_auth_struct() argument 111 put_auth_struct(struct auth_struct *auth) put_auth_struct() argument 155 struct auth_struct *auth = (struct auth_struct *)p; authority_remove_handler() local 323 struct auth_struct *auth; auth_switch() local 507 auth_flag(struct auth_struct *auth, unsigned int type) auth_flag() argument 527 struct auth_struct *auth; check_authorized() local 586 struct auth_struct *auth; get_authority() local [all...] |
H A D | qos_ctrl.c | 36 void remove_qos_tasks(struct auth_struct *auth) in remove_qos_tasks() argument 42 mutex_lock(&auth->mutex); in remove_qos_tasks() 44 list_for_each_entry_safe(tmp, next, &auth->tasks[i], qos_list) { in remove_qos_tasks() 53 mutex_unlock(&auth->mutex); in remove_qos_tasks() 114 * Lock auth before calling this function 116 void qos_switch(struct auth_struct *auth, int target_status) in qos_switch() argument 123 if (!auth) { in qos_switch() 124 pr_err("[QOS_CTRL] auth no exist, qos switch failed\n"); in qos_switch() 128 lockdep_assert_held(&auth->mutex); in qos_switch() 130 if (auth in qos_switch() 191 struct auth_struct *auth; can_change_qos() local 205 struct auth_struct *auth; qos_apply() local 298 struct auth_struct *auth; qos_leave() local 421 struct auth_struct *auth; sched_exit_qos_list() local [all...] |
H A D | auth_qos_debug.c | 42 const struct auth_struct *auth) in print_auth_info() 44 seq_printf_auth(file, "AUTH_STATUS :%d\n", auth->status); in print_auth_info() 46 seq_printf_auth(file, "RTG_FLAG :%04x\n", auth->rtg_auth_flag); in print_auth_info() 49 seq_printf_auth(file, "QOS_FLAG :%04x\n", auth->qos_auth_flag); in print_auth_info() 54 const struct auth_struct *auth) in print_qos_count() 59 seq_printf_auth(file, "QOS level %d thread nr :%d\n", i, auth->num[i]); in print_qos_count() 63 const struct auth_struct *auth) in print_qos_thread() 71 list_for_each_entry_safe(tmp, next, &auth->tasks[i], qos_list) { in print_qos_thread() 80 static inline void print_auth_struct(struct seq_file *file, struct auth_struct *auth) in print_auth_struct() argument 82 print_auth_info(file, auth); in print_auth_struct() 41 print_auth_info(struct seq_file *file, const struct auth_struct *auth) print_auth_info() argument 53 print_qos_count(struct seq_file *file, const struct auth_struct *auth) print_qos_count() argument 62 print_qos_thread(struct seq_file *file, const struct auth_struct *auth) print_qos_thread() argument 95 struct auth_struct *auth = (struct auth_struct *)p; authority_printf_handler() local [all...] |
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_manager.c | 64 AuthManager *auth = (AuthManager *)SoftBusCalloc(sizeof(AuthManager)); in NewAuthManager() local 65 if (auth == NULL) { in NewAuthManager() 69 auth->authId = authSeq; in NewAuthManager() 70 auth->isServer = info->isServer; in NewAuthManager() 71 auth->connId[info->connInfo.type] = info->connId; in NewAuthManager() 72 auth->connInfo[info->connInfo.type] = info->connInfo; in NewAuthManager() 73 if (strcpy_s(auth->udid, sizeof(auth->udid), info->udid) != EOK || in NewAuthManager() 74 strcpy_s(auth->uuid, sizeof(auth in NewAuthManager() 95 DupAuthManager(const AuthManager *auth) DupAuthManager() argument 112 DelDupAuthManager(AuthManager *auth) DelDupAuthManager() argument 119 DelAuthManager(AuthManager *auth, int32_t type) DelAuthManager() argument 253 SetAuthConnId(AuthManager *auth, const AuthManager *inAuth, AuthLinkType type) SetAuthConnId() argument 259 SetAuthP2pMac(AuthManager *auth, const AuthManager *inAuth, AuthLinkType type) SetAuthP2pMac() argument 276 AuthManager *auth = FindAuthManagerByAuthId(authId); UpdateAuthManagerByAuthId() local 296 AuthManager *auth = FindAuthManagerByAuthId(authId); RemoveAuthSessionKeyByIndex() local 322 AuthManager *auth = FindAuthManagerByAuthId(authHandle.authId); RemoveAuthManagerByAuthId() local 337 AuthManager *auth = FindAuthManagerByConnInfo(connInfo, isServer); RemoveAuthManagerByConnInfo() local 349 HasAuthPassed(AuthManager *auth) HasAuthPassed() argument 396 AuthManager *auth = FindAuthManagerByUuid(uuid, type, false); GetAuthConnInfoByUuid() local 420 AuthManager *auth = FindAuthManagerByUuid(uuid, type, false); GetAvailableAuthConnInfoByUuid() local 489 AuthManager *auth = FindAuthManagerByConnId(connId, isServer); GetAuthIdByConnId() local 511 const AuthManager *auth[2] = { NULL, NULL }; /* 2: client + server */ GetLatestIdByConnInfo() local 535 AuthManager *auth = FindAuthManagerByConnInfo(connInfo, isServer); GetAuthIdByConnInfo() local 554 AuthManager *auth[2] = { NULL, NULL }; /* 2: client + server */ GetActiveAuthIdByConnInfo() local 621 AuthManager *auth = FindNormalizedKeyAuthManagerByUdid(info->udid, info->isServer); GetExistAuthManager() local 646 AuthManager *auth = FindAuthManagerByConnInfo(&info->connInfo, info->isServer); GetDeviceAuthManager() local 685 AuthManager *auth = FindAuthManagerByUdid(info->udid, AUTH_LINK_TYPE_BLE, isServer); ProcessEmptySessionKey() local 713 AuthManager *auth = FindAuthManagerByUdid(info->udid, info->connInfo.type, info->isServer); AuthProcessEmptySessionKey() local 755 AuthManager *auth = GetDeviceAuthManager(authSeq, info, &isNewCreated, sessionKeyIndex); AuthManagerSetSessionKey() local 796 AuthManager *auth = FindAuthManagerByConnInfo(&info->connInfo, info->isServer); AuthManagerGetSessionKey() local 898 AuthManager *auth = FindAuthManagerByConnInfo(&info->connInfo, info->isServer); AuthNotifyAuthPassed() local 944 AuthManager *auth = FindAuthManagerByConnInfo(&info->connInfo, info->isServer); AuthManagerSetAuthPassed() local 991 AuthManager *auth = NULL; AuthManagerSetAuthFailed() local 1232 AuthManager *auth = FindAuthManagerByConnInfo(connInfo, isServer); FlushDeviceProcess() local 1254 AuthManager *auth[AUTH_COUNT] = { NULL, NULL }; /* 2: WiFi * (Client + Server) */ AuthSetTcpKeepaliveByConnInfo() local 1349 AuthManager *auth = FindAuthManagerByConnInfo(connInfo, !fromServer); HandleConnectionData() local 1399 const AuthManager *auth[2] = { NULL, NULL }; /* 2: client + server */ HandleDecryptFailData() local 1558 AuthManager *auth = FindAuthManagerByAuthId(authHandle.authId); AuthHandleLeaveLNN() local 1594 AuthManager *auth[2] = { NULL, NULL }; /* 2: WiFi * (Client + Server) */ PostDeviceMessageByUuid() local 1939 AuthManager *auth[2] = { NULL, NULL }; /* 2: max size for (CLIENT+ SERVER) */ AuthDeviceGetLatestIdByUuid() local 1990 AuthManager *auth = FindAuthManagerByUuid(uuid, type, isServer); AuthDeviceGetIdByUuid() local 2015 AuthManager *auth = FindNormalizedKeyAuthManagerByUdid(udid, isServer); AuthDeviceGetAuthHandleByIndex() local 2036 AuthManager *auth = GetAuthManagerByAuthId(authId); AuthGetEncryptSize() local [all...] |
H A D | auth_device.c | 184 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); in AuthDevicePostTransData() local 185 if (auth == NULL) { in AuthDevicePostTransData() 196 if (EncryptInner(&auth->sessionKeyList, (AuthLinkType)authHandle.type, &inDataInfo, &encData, in AuthDevicePostTransData() 199 DelDupAuthManager(auth); in AuthDevicePostTransData() 202 if (PostAuthData(auth->connId[authHandle.type], !auth->isServer, &head, encData) != SOFTBUS_OK) { in AuthDevicePostTransData() 205 DelDupAuthManager(auth); in AuthDevicePostTransData() 209 DelDupAuthManager(auth); in AuthDevicePostTransData() 221 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); in AuthDeviceEncrypt() local 222 if (auth in AuthDeviceEncrypt() 244 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); AuthDeviceDecrypt() local 269 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); AuthDeviceGetConnInfo() local 284 AuthManager *auth = GetAuthManagerByAuthId(authId); AuthDeviceGetServerSide() local 299 AuthManager *auth = GetAuthManagerByAuthId(authId); AuthDeviceGetDeviceUuid() local 318 AuthManager *auth = GetAuthManagerByAuthId(authId); AuthDeviceGetVersion() local 353 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); AuthNotifyDeviceVerifyPassed() local 517 AuthManager *auth = GetDeviceAuthManager(authSeq, info, &isNewCreated, authSeq); AuthDirectOnlineCreateAuthManager() local 615 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); AuthStartReconnectDevice() local 647 AuthManager *auth = GetAuthManagerByAuthId(authHandle->authId); AuthCheckSessionKey() local 708 AuthManager *auth = GetAuthManagerByAuthId(authHandle.authId); AuthDeviceCloseConn() local [all...] |
/test/xts/acts/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/ |
H A D | execute.js | 47 const auth = userAuth.getAuthenticator(); 48 auth.execute("ALL", "S2", function(data) { 49 console.log("Security_IAM_Face_JSAPI_Function_Execute_1700 auth.execute:" + data); 69 const auth = userAuth.getAuthenticator(); 70 auth.execute("ALL", "S2").catch(function(data) { 71 console.log("Security_IAM_Face_JSAPI_Function_Execute_2000 auth.execute:" + data); 90 const auth = userAuth.getAuthenticator(); 91 auth.execute("", "S2", function(data) { 92 console.log("Security_IAM_Face_JSAPI_Function_Execute_1800 auth.execute:" + data); 112 const auth [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | dpp_supplicant.c | 65 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_qr_code() local 71 if (auth && auth->response_pending && in wpas_dpp_qr_code() 72 dpp_notify_new_qr_code(auth, bi) == 1) { in wpas_dpp_qr_code() 77 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in wpas_dpp_qr_code() 79 offchannel_send_action(wpa_s, auth->curr_freq, in wpas_dpp_qr_code() 80 auth->peer_mac_addr, wpa_s->own_addr, in wpas_dpp_qr_code() 82 wpabuf_head(auth->resp_msg), in wpas_dpp_qr_code() 83 wpabuf_len(auth in wpas_dpp_qr_code() 94 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_resp_retry_timeout() local 115 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_resp_retry() local 167 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_tx_status() local 252 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_reply_wait_timeout() local 315 wpas_dpp_set_testing_options(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_set_testing_options() argument 347 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_init_next() local 437 struct dpp_authentication *auth; wpas_dpp_auth_init() local 811 wpas_dpp_add_network(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_add_network() argument 910 wpas_dpp_process_config(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_process_config() argument 949 wpas_dpp_handle_config_obj(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_handle_config_obj() argument 1013 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_resp_cb() local 1100 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_start_gas_client() local 1172 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_auth_resp() local 1228 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_auth_conf() local 1260 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_config_result_wait_timeout() local 1276 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_conf_result() local 1308 wpas_dpp_process_conf_obj(void *ctx, struct dpp_authentication *auth) wpas_dpp_process_conf_obj() argument 1876 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_req_handler() local 1915 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_status_handler() local 1962 struct dpp_authentication *auth; wpas_dpp_configurator_sign() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | dpp_supplicant.c | 55 struct dpp_authentication *auth); 74 struct dpp_authentication *auth = wpa_s->dpp_auth; in wpas_dpp_qr_code() local 80 if (auth && auth->response_pending && in wpas_dpp_qr_code() 81 dpp_notify_new_qr_code(auth, bi) == 1) { in wpas_dpp_qr_code() 86 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in wpas_dpp_qr_code() 88 offchannel_send_action(wpa_s, auth->curr_freq, in wpas_dpp_qr_code() 89 auth->peer_mac_addr, wpa_s->own_addr, in wpas_dpp_qr_code() 91 wpabuf_head(auth in wpas_dpp_qr_code() 192 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_resp_retry_timeout() local 213 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_resp_retry() local 295 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_conn_status_result_timeout() local 370 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_send_conn_status_result() local 417 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_connected() local 433 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_tx_status() local 547 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_reply_wait_timeout() local 613 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_conf_wait_timeout() local 627 wpas_dpp_set_testing_options(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_set_testing_options() argument 659 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_auth_init_next() local 751 struct dpp_authentication *auth; wpas_dpp_auth_init() local 1171 wpas_dpp_add_network(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth, struct dpp_config_obj *conf) wpas_dpp_add_network() argument 1382 wpas_dpp_process_config(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth, struct dpp_config_obj *conf) wpas_dpp_process_config() argument 1409 wpas_dpp_post_process_config(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth) wpas_dpp_post_process_config() argument 1442 wpas_dpp_handle_config_obj(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth, struct dpp_config_obj *conf) wpas_dpp_handle_config_obj() argument 1594 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_build_csr() local 1622 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_resp_cb() local 1730 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_start_gas_client() local 1794 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_auth_resp() local 1850 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_auth_conf() local 1884 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_config_result_wait_timeout() local 1901 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_conn_status_result_wait_timeout() local 1918 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_conf_result() local 1984 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_conn_status_result() local 2018 wpas_dpp_process_conf_obj(void *ctx, struct dpp_authentication *auth) wpas_dpp_process_conf_obj() argument 2055 struct dpp_authentication *auth; wpas_dpp_rx_presence_announcement() local 2115 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_reconfig_reply_wait_timeout() local 2136 struct dpp_authentication *auth; wpas_dpp_rx_reconfig_announcement() local 2227 struct dpp_authentication *auth; wpas_dpp_rx_reconfig_auth_req() local 2285 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_reconfig_auth_resp() local 2330 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_rx_reconfig_auth_conf() local 2974 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_req_handler() local 3024 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_gas_status_handler() local 3081 struct dpp_authentication *auth; wpas_dpp_configurator_sign() local 3896 wpas_dpp_build_conf_resp(struct wpa_supplicant *wpa_s, struct dpp_authentication *auth, bool tcp) wpas_dpp_build_conf_resp() argument 3927 struct dpp_authentication *auth = wpa_s->dpp_auth; wpas_dpp_ca_set() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | dpp_hostapd.c | 35 struct dpp_authentication *auth, 51 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_qr_code() local 57 if (auth && auth->response_pending && in hostapd_dpp_qr_code() 58 dpp_notify_new_qr_code(auth, bi) == 1) { in hostapd_dpp_qr_code() 63 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in hostapd_dpp_qr_code() 65 hostapd_drv_send_action(hapd, auth->curr_freq, 0, in hostapd_dpp_qr_code() 66 auth->peer_mac_addr, in hostapd_dpp_qr_code() 166 struct dpp_authentication *auth in hostapd_dpp_auth_resp_retry_timeout() local 185 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_resp_retry() local 222 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_tx_status() local 326 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_reply_wait_timeout() local 399 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_conf_wait_timeout() local 414 hostapd_dpp_set_testing_options(struct hostapd_data *hapd, struct dpp_authentication *auth) hostapd_dpp_set_testing_options() argument 445 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_init_next() local 533 hostapd_dpp_process_conf_obj(void *ctx, struct dpp_authentication *auth) hostapd_dpp_process_conf_obj() argument 552 struct dpp_authentication *auth; hostapd_dpp_auth_init() local 804 hostapd_dpp_handle_config_obj(struct hostapd_data *hapd, struct dpp_authentication *auth, struct dpp_config_obj *conf) hostapd_dpp_handle_config_obj() argument 913 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_resp_cb() local 996 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_start_gas_client() local 1051 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_auth_resp() local 1103 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_auth_conf() local 1135 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_config_result_wait_timeout() local 1152 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_conn_status_result_wait_timeout() local 1169 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_conf_result() local 1221 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_conn_status_result() local 1263 struct dpp_authentication *auth; hostapd_dpp_rx_presence_announcement() local 1328 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_reconfig_reply_wait_timeout() local 1348 struct dpp_authentication *auth; hostapd_dpp_rx_reconfig_announcement() local 1439 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_reconfig_auth_resp() local 2030 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_req_handler() local 2073 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_status_handler() local 2111 struct dpp_authentication *auth; hostapd_dpp_configurator_sign() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | dpp.c | 81 struct dpp_authentication *auth; member 130 int (*process_conf_obj)(void *ctx, struct dpp_authentication *auth); 698 static void dpp_auth_fail(struct dpp_authentication *auth, const char *txt) in dpp_auth_fail() argument 700 wpa_msg(auth->msg_ctx, MSG_INFO, DPP_EVENT_FAIL "%s", txt); in dpp_auth_fail() 1576 static int dpp_derive_ke(struct dpp_authentication *auth, u8 *ke, in dpp_derive_ke() argument 1588 if (!auth->Mx_len || !auth->Nx_len) { in dpp_derive_ke() 1597 nonce_len = auth->curve->nonce_len; in dpp_derive_ke() 1598 os_memcpy(nonces, auth->i_nonce, nonce_len); in dpp_derive_ke() 1599 os_memcpy(&nonces[nonce_len], auth in dpp_derive_ke() 1669 dpp_auth_build_req(struct dpp_authentication *auth, const struct wpabuf *pi, size_t nonce_len, const u8 *r_pubkey_hash, const u8 *i_pubkey_hash, unsigned int neg_freq) dpp_auth_build_req() argument 1841 dpp_auth_build_resp(struct dpp_authentication *auth, enum dpp_status_error status, const struct wpabuf *pr, size_t nonce_len, const u8 *r_pubkey_hash, const u8 *i_pubkey_hash, const u8 *r_nonce, const u8 *i_nonce, const u8 *wrapped_r_auth, size_t wrapped_r_auth_len, const u8 *siv_key) dpp_auth_build_resp() argument 2077 dpp_channel_intersect(struct dpp_authentication *auth, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_channel_intersect() argument 2101 dpp_channel_local_list(struct dpp_authentication *auth, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_channel_local_list() argument 2141 dpp_prepare_channel_list(struct dpp_authentication *auth, struct hostapd_hw_modes *own_modes, u16 num_modes) dpp_prepare_channel_list() argument 2181 dpp_autogen_bootstrap_key(struct dpp_authentication *auth) dpp_autogen_bootstrap_key() argument 2228 struct dpp_authentication *auth; dpp_auth_init() local 2361 dpp_build_conf_req_attr(struct dpp_authentication *auth, const char *json) dpp_build_conf_req_attr() argument 2488 dpp_build_conf_req(struct dpp_authentication *auth, const char *json) dpp_build_conf_req() argument 2515 dpp_auth_success(struct dpp_authentication *auth) dpp_auth_success() argument 2532 dpp_gen_r_auth(struct dpp_authentication *auth, u8 *r_auth) dpp_gen_r_auth() argument 2611 dpp_gen_i_auth(struct dpp_authentication *auth, u8 *i_auth) dpp_gen_i_auth() argument 2694 dpp_auth_derive_l_responder(struct dpp_authentication *auth) dpp_auth_derive_l_responder() argument 2761 dpp_auth_derive_l_initiator(struct dpp_authentication *auth) dpp_auth_derive_l_initiator() argument 2822 dpp_auth_build_resp_ok(struct dpp_authentication *auth) dpp_auth_build_resp_ok() argument 3006 dpp_auth_build_resp_status(struct dpp_authentication *auth, enum dpp_status_error status) dpp_auth_build_resp_status() argument 3089 struct dpp_authentication *auth = NULL; dpp_auth_req_rx() local 3340 dpp_notify_new_qr_code(struct dpp_authentication *auth, struct dpp_bootstrap_info *peer_bi) dpp_notify_new_qr_code() argument 3360 dpp_auth_build_conf(struct dpp_authentication *auth, enum dpp_status_error status) dpp_auth_build_conf() argument 3539 dpp_auth_resp_rx_status(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, const u8 *wrapped_data, u16 wrapped_data_len, enum dpp_status_error status) dpp_auth_resp_rx_status() argument 3637 dpp_auth_resp_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_auth_resp_rx() argument 3969 dpp_auth_conf_rx_failure(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len, const u8 *wrapped_data, u16 wrapped_data_len, enum dpp_status_error status) dpp_auth_conf_rx_failure() argument 4040 dpp_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_auth_conf_rx() argument 4302 dpp_configuration_parse(struct dpp_authentication *auth, const char *cmd) dpp_configuration_parse() argument 4427 dpp_set_configurator(struct dpp_global *dpp, void *msg_ctx, struct dpp_authentication *auth, const char *cmd) dpp_set_configurator() argument 4458 dpp_auth_deinit(struct dpp_authentication *auth) dpp_auth_deinit() argument 4483 dpp_build_conf_start(struct dpp_authentication *auth, struct dpp_configuration *conf, size_t tailroom) dpp_build_conf_start() argument 4583 dpp_build_conf_obj_dpp(struct dpp_authentication *auth, int ap, struct dpp_configuration *conf) dpp_build_conf_obj_dpp() argument 4797 dpp_build_conf_obj_legacy(struct dpp_authentication *auth, int ap, struct dpp_configuration *conf) dpp_build_conf_obj_legacy() argument 4818 dpp_build_conf_obj(struct dpp_authentication *auth, int ap) dpp_build_conf_obj() argument 4845 dpp_build_conf_resp(struct dpp_authentication *auth, const u8 *e_nonce, u16 e_nonce_len, int ap) dpp_build_conf_resp() argument 4974 dpp_conf_req_rx(struct dpp_authentication *auth, const u8 *attr_start, size_t attr_len) dpp_conf_req_rx() argument 5180 dpp_parse_cred_legacy(struct dpp_authentication *auth, struct json_token *cred) dpp_parse_cred_legacy() argument 5385 dpp_parse_connector(struct dpp_authentication *auth, const unsigned char *payload, u16 payload_len) dpp_parse_connector() argument 5513 dpp_copy_csign(struct dpp_authentication *auth, EVP_PKEY *csign) dpp_copy_csign() argument 5527 dpp_copy_netaccesskey(struct dpp_authentication *auth) dpp_copy_netaccesskey() argument 5720 dpp_parse_cred_dpp(struct dpp_authentication *auth, struct json_token *cred) dpp_parse_cred_dpp() argument 5832 dpp_parse_conf_obj(struct dpp_authentication *auth, const u8 *conf_obj, u16 conf_obj_len) dpp_parse_conf_obj() argument 5912 dpp_conf_resp_rx(struct dpp_authentication *auth, const struct wpabuf *resp) dpp_conf_resp_rx() argument 6013 dpp_conf_result_rx(struct dpp_authentication *auth, const u8 *hdr, const u8 *attr_start, size_t attr_len) dpp_conf_result_rx() argument 6096 dpp_build_conf_result(struct dpp_authentication *auth, enum dpp_status_error status) dpp_build_conf_result() argument 6249 dpp_configurator_own_config(struct dpp_authentication *auth, const char *curve, int ap) dpp_configurator_own_config() argument 8880 struct dpp_authentication *auth = conn->auth; dpp_controller_gas_done() local 8952 struct dpp_authentication *auth = conn->auth; dpp_controller_start_gas_client() local 9004 struct dpp_authentication *auth = conn->auth; dpp_controller_auth_success() local 9385 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_auth_resp() local 9435 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_auth_conf() local 9459 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_conf_result() local 9548 struct dpp_authentication *auth = conn->auth; dpp_controller_rx_gas_req() local 9623 struct dpp_authentication *auth = conn->auth; dpp_tcp_rx_gas_resp() local 9908 dpp_tcp_init(struct dpp_global *dpp, struct dpp_authentication *auth, const struct hostapd_ip_addr *addr, int port) dpp_tcp_init() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | dpp_hostapd.c | 41 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_qr_code() local 47 if (auth && auth->response_pending && in hostapd_dpp_qr_code() 48 dpp_notify_new_qr_code(auth, bi) == 1) { in hostapd_dpp_qr_code() 53 MAC2STR(auth->peer_mac_addr), auth->curr_freq, in hostapd_dpp_qr_code() 55 hostapd_drv_send_action(hapd, auth->curr_freq, 0, in hostapd_dpp_qr_code() 56 auth->peer_mac_addr, in hostapd_dpp_qr_code() 69 struct dpp_authentication *auth = hapd->dpp_auth; in hostapd_dpp_auth_resp_retry_timeout() local 71 if (!auth || !aut in hostapd_dpp_auth_resp_retry_timeout() 88 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_resp_retry() local 125 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_tx_status() local 212 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_reply_wait_timeout() local 281 hostapd_dpp_set_testing_options(struct hostapd_data *hapd, struct dpp_authentication *auth) hostapd_dpp_set_testing_options() argument 312 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_auth_init_next() local 609 hostapd_dpp_handle_config_obj(struct hostapd_data *hapd, struct dpp_authentication *auth) hostapd_dpp_handle_config_obj() argument 687 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_resp_cb() local 766 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_start_gas_client() local 828 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_auth_resp() local 880 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_auth_conf() local 912 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_config_result_wait_timeout() local 928 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_rx_conf_result() local 1431 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_req_handler() local 1461 struct dpp_authentication *auth = hapd->dpp_auth; hostapd_dpp_gas_status_handler() local 1496 struct dpp_authentication *auth; hostapd_dpp_configurator_sign() local [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | authencesn.c | 26 struct crypto_ahash_spawn auth; member 32 struct crypto_ahash *auth; member 62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() local 70 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 71 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 73 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_esn_setkey() 92 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail() local 94 crypto_ahash_alignmask(auth) in crypto_authenc_esn_genicv_tail() 125 struct crypto_ahash *auth = ctx->auth; crypto_authenc_esn_genicv() local 228 struct crypto_ahash *auth = ctx->auth; crypto_authenc_esn_decrypt_tail() local 277 struct crypto_ahash *auth = ctx->auth; crypto_authenc_esn_decrypt() local 327 struct crypto_ahash *auth; crypto_authenc_esn_init_tfm() local 396 struct hash_alg_common *auth; crypto_authenc_esn_create() local [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | authencesn.c | 26 struct crypto_ahash_spawn auth; member 32 struct crypto_ahash *auth; member 62 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_setkey() local 70 crypto_ahash_clear_flags(auth, CRYPTO_TFM_REQ_MASK); in crypto_authenc_esn_setkey() 71 crypto_ahash_set_flags(auth, crypto_aead_get_flags(authenc_esn) & in crypto_authenc_esn_setkey() 73 err = crypto_ahash_setkey(auth, keys.authkey, keys.authkeylen); in crypto_authenc_esn_setkey() 92 struct crypto_ahash *auth = ctx->auth; in crypto_authenc_esn_genicv_tail() local 94 crypto_ahash_alignmask(auth) in crypto_authenc_esn_genicv_tail() 124 struct crypto_ahash *auth = ctx->auth; crypto_authenc_esn_genicv() local 226 struct crypto_ahash *auth = ctx->auth; crypto_authenc_esn_decrypt_tail() local 274 struct crypto_ahash *auth = ctx->auth; crypto_authenc_esn_decrypt() local 324 struct crypto_ahash *auth; crypto_authenc_esn_init_tfm() local 393 struct hash_alg_common *auth; crypto_authenc_esn_create() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | plpks.c | 173 struct plpks_auth *auth; in construct_auth() local 178 // The auth structure must not cross a page boundary and must be in construct_auth() 180 auth = kzalloc(roundup_pow_of_two(struct_size(auth, password, maxpwsize)), GFP_KERNEL); in construct_auth() 181 if (!auth) in construct_auth() 184 auth->version = 1; in construct_auth() 185 auth->consumer = consumer; in construct_auth() 188 return auth; in construct_auth() 190 memcpy(auth->password, ospassword, ospasswordlength); in construct_auth() 192 auth in construct_auth() 391 plpks_confirm_object_flushed(struct label *label, struct plpks_auth *auth) plpks_confirm_object_flushed() argument 434 struct plpks_auth *auth; plpks_signed_update_var() local 487 struct plpks_auth *auth; plpks_write_var() local 526 struct plpks_auth *auth; plpks_remove_var() local 560 struct plpks_auth *auth; plpks_read_var() local [all...] |
/kernel/linux/linux-6.6/include/linux/ceph/ |
H A D | auth.h | 28 int (*sign_message)(struct ceph_auth_handshake *auth, 30 int (*check_message_signature)(struct ceph_auth_handshake *auth, 63 struct ceph_auth_handshake *auth); 66 struct ceph_auth_handshake *auth); 84 int (*sign_message)(struct ceph_auth_handshake *auth, 86 int (*check_message_signature)(struct ceph_auth_handshake *auth, 128 struct ceph_auth_handshake *auth, 144 static inline int ceph_auth_sign_message(struct ceph_auth_handshake *auth, in ceph_auth_sign_message() argument 147 if (auth->sign_message) in ceph_auth_sign_message() 148 return auth in ceph_auth_sign_message() 153 ceph_auth_check_message_signature(struct ceph_auth_handshake *auth, struct ceph_msg *msg) ceph_auth_check_message_signature() argument [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | base_key.h | 44 bool StoreKey(const UserAuth &auth, bool needGenerateShield = true); 46 bool StoreKey(const UserAuth &auth); 49 bool RestoreKey(const UserAuth &auth); 58 virtual bool DecryptClassE(const UserAuth &auth, bool &isSupport, bool &eBufferStatue, uint32_t user, 60 virtual bool EncryptClassE(const UserAuth &auth, bool &isSupport, uint32_t user, uint32_t status) = 0; 63 bool DoRestoreKeyEx(const UserAuth &auth, const std::string &keypath); 64 bool EncryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, KeyBlob &encryptedKey); 65 bool DecryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, KeyBlob &decryptedKey); 93 bool DoStoreKey(const UserAuth &auth, bool needGenerateShield = true); 95 bool DoStoreKey(const UserAuth &auth); [all...] |
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | auth.h | 28 int (*sign_message)(struct ceph_auth_handshake *auth, 30 int (*check_message_signature)(struct ceph_auth_handshake *auth, 63 struct ceph_auth_handshake *auth); 66 struct ceph_auth_handshake *auth); 81 int (*sign_message)(struct ceph_auth_handshake *auth, 83 int (*check_message_signature)(struct ceph_auth_handshake *auth, 120 struct ceph_auth_handshake *auth); 134 static inline int ceph_auth_sign_message(struct ceph_auth_handshake *auth, in ceph_auth_sign_message() argument 137 if (auth->sign_message) in ceph_auth_sign_message() 138 return auth in ceph_auth_sign_message() 143 ceph_auth_check_message_signature(struct ceph_auth_handshake *auth, struct ceph_msg *msg) ceph_auth_check_message_signature() argument [all...] |