/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
H A D | hmac_encap_frame.c | 71 WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_sa_query_req() 76 mac_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_sa_query_req() 81 WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_sa_query_req() 140 ((mac_ieee80211_frame_stru *)hdr)->auc_address2, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_sa_query_rsp() 146 mac_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_sa_query_rsp() 152 WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_sa_query_rsp() 201 if (memcpy_s(mac_hdr->auc_address1, WLAN_MAC_ADDR_LEN, da_mac_addr, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_deauth() 218 up_vap2->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_mgmt_encap_deauth() 219 (memcpy_s(mac_hdr->auc_address3, WLAN_MAC_ADDR_LEN, up_vap2->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK)) { in hmac_mgmt_encap_deauth() 230 mac_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_deauth() [all...] |
H A D | hmac_crypto_tkip.c | 76 if ((memcpy_s(auc_hdr, hdr_len, frame_4addr_hdr->auc_address1, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_crypto_tkip_michael_hdr() 78 WLAN_MAC_ADDR_LEN) != EOK)) { in hmac_crypto_tkip_michael_hdr() 82 if ((memcpy_s(auc_hdr, hdr_len, frame_4addr_hdr->auc_address3, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_crypto_tkip_michael_hdr() 84 WLAN_MAC_ADDR_LEN) != EOK)) { in hmac_crypto_tkip_michael_hdr() 88 if ((memcpy_s(auc_hdr, hdr_len, frame_4addr_hdr->auc_address1, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_crypto_tkip_michael_hdr() 90 WLAN_MAC_ADDR_LEN) != EOK)) { in hmac_crypto_tkip_michael_hdr() 94 if ((memcpy_s(auc_hdr, hdr_len, frame_4addr_hdr->auc_address3, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_crypto_tkip_michael_hdr() 96 WLAN_MAC_ADDR_LEN) != EOK)) { in hmac_crypto_tkip_michael_hdr() 255 if (memcpy_s(puc_mic_tail, IEEE80211_WEP_MICLEN, auc_mic, IEEE80211_WEP_MICLEN) != EOK) { in hmac_crypto_tkip_enmic_key() 296 if (memcpy_s(tmp_buff, pktlen, oal_netbuf_data(netbuf), pktlen) != EOK) { in hmac_crypto_tkip_enmic() [all...] |
H A D | hmac_encap_frame_sta.c | 151 if ((memcpy_s(puc_req_frame + WLAN_HDR_ADDR1_OFFSET, WLAN_MAC_ADDR_LEN, bssid, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_mgmt_encap_asoc_req_sta() 153 hmac_vap->base_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_mgmt_encap_asoc_req_sta() 154 (memcpy_s(puc_req_frame + WLAN_HDR_ADDR3_OFFSET, WLAN_MAC_ADDR_LEN, bssid, WLAN_MAC_ADDR_LEN) != EOK)) { in hmac_mgmt_encap_asoc_req_sta() 197 if (memcpy_s(puc_req_frame, WLAN_MAC_ADDR_LEN, hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_asoc_req_sta() 268 hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_auth_req() 273 hmac_vap->base_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_auth_req() 278 hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_auth_req() 362 hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_auth_req_seq3() 367 hmac_vap->base_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_auth_req_seq3() 372 hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_mgmt_encap_auth_req_seq3() [all...] |
H A D | hmac_encap_frame_ap.c | 68 if (ret != EOK) { in hmac_mgmt_encap_chtxt() 80 if (ret != EOK) { in hmac_mgmt_encap_chtxt() 196 asoc_rsp_ap_info->puc_sta_addr, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_mgmt_encap_asoc_rsp_ap_add_copy() 198 mac_ap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_mgmt_encap_asoc_rsp_ap_add_copy() 200 WLAN_MAC_ADDR_LEN) != EOK)) { in hmac_mgmt_encap_asoc_rsp_ap_add_copy() 684 WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_auth_rsp_body() 690 mac_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_auth_rsp_body() 696 WLAN_MAC_ADDR_LEN) != EOK) { in hmac_encap_auth_rsp_body() 1009 if ((memcpy_s(data + WLAN_HDR_ADDR1_OFFSET, WLAN_MAC_ADDR_LEN, action->puc_dst, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_encap_mesh_peering_open_frame() 1011 mac_vap->mib_info->wlan_mib_sta_config.auc_dot11_station_id, WLAN_MAC_ADDR_LEN) != EOK) || in hmac_encap_mesh_peering_open_frame() [all...] |
H A D | hmac_tx_data.c | 838 if (memcpy_s(hdr->auc_address1, WLAN_MAC_ADDR_LEN, set_addresses_info->puc_daddr, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_tx_ap_set_addresses() 842 if (memcpy_s(hdr->auc_address2, WLAN_MAC_ADDR_LEN, hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_tx_ap_set_addresses() 848 if (memcpy_s(hdr->auc_address3, WLAN_MAC_ADDR_LEN, hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_tx_ap_set_addresses() 853 if (memcpy_s(hdr->auc_address3, WLAN_MAC_ADDR_LEN, set_addresses_info->puc_saddr, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_tx_ap_set_addresses() 874 if (memcpy_s(hdr->auc_address3, WLAN_MAC_ADDR_LEN, hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_tx_mesh_set_addresses() 881 EOK) { in hmac_tx_mesh_set_addresses() 887 EOK) { in hmac_tx_mesh_set_addresses() 897 if (memcpy_s(hdr->auc_address2, WLAN_MAC_ADDR_LEN, hmac_vap->base_vap->auc_bssid, WLAN_MAC_ADDR_LEN) != EOK) { in hmac_tx_mesh_set_addresses() 904 EOK) { in hmac_tx_mesh_set_addresses() 910 EOK) { in hmac_tx_mesh_set_addresses() [all...] |
H A D | hmac_wapi.c | 98 if (memset_s(puc_mic, us_mic_len, 0, us_mic_len) != EOK) { in hmac_wapi_calc_mic_data() 106 sizeof(mac_hdr->frame_control)) != EOK) { in hmac_wapi_calc_mic_data() 125 if (memset_s(puc_mic, WAPI_MIC_SEQ_CONTROL_LEN, 0, WAPI_MIC_SEQ_CONTROL_LEN) != EOK) { in hmac_wapi_calc_mic_data() 155 if (memcpy_s(puc_mic_oringin, us_pdu_len, puc_payload, us_pdu_len) != EOK) { in hmac_wapi_calc_mic_data() 424 if (memcpy_s(key->auc_wpi_ek, WAPI_KEY_LEN, puc_key, WAPI_KEY_LEN) != EOK) { in hmac_wapi_add_key() 428 if (memcpy_s(key->auc_wpi_ck, WAPI_KEY_LEN, puc_key + WAPI_KEY_LEN, WAPI_KEY_LEN) != EOK) { in hmac_wapi_add_key() 435 if (memcpy_s(key->auc_pn_rx, WAPI_PN_LEN, g_auc_wapi_pn_init, WAPI_PN_LEN) != EOK) { in hmac_wapi_add_key() 439 if (memcpy_s(key->auc_pn_tx, WAPI_PN_LEN, g_auc_wapi_pn_init, WAPI_PN_LEN) != EOK) { in hmac_wapi_add_key() 551 if (memcpy_s(rx_ctl, sizeof(hmac_rx_ctl_stru), oal_netbuf_cb(netbuf), sizeof(hmac_rx_ctl_stru)) != EOK) { in hmac_wapi_decrypt() 662 SMS4_PN_LEN) != EOK) { in hmac_wapi_encrypt_mic() [all...] |
H A D | hmac_traffic_classify.c | 108 sizeof(hmac_tx_flow_info_stru)) != EOK) { in hmac_tx_add_cfm_traffic() 213 if (memcpy_s(&mark, sizeof(hmac_tx_judge_info_stru), judge_info, sizeof(hmac_tx_judge_info_stru)) != EOK) { in hmac_tx_find_major_traffic() 232 if (memcpy_s(&max, sizeof(hmac_tx_major_flow_stru), &mark, sizeof(hmac_tx_major_flow_stru)) != EOK) { in hmac_tx_find_major_traffic() 272 if (memset_s(judge_info, sizeof(hmac_tx_judge_info_stru), 0, sizeof(hmac_tx_judge_info_stru)) != EOK) { in hmac_tx_traffic_classify_list_proc() 276 sizeof(hmac_tx_flow_info_stru)) != EOK) { in hmac_tx_traffic_classify_list_proc() 290 if (memcpy_s(&(judge_info->rtpssrc), sizeof(hi_u32), &(rtp_hdr->ssrc), sizeof(hi_u32)) != EOK) { in hmac_tx_traffic_classify_list_proc()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/include/ |
H A D | hifb_comm.h | 33 if ((ret) != EOK) { \
41 if ((ret) != EOK) { \
49 if ((ret) != EOK) { \
58 if ((ret) != EOK) { \
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_net.c | 109 if (memset_s(g_dev_excp_handler_data.data, OAL_EXCP_DATA_BUF_LEN, 0, OAL_EXCP_DATA_BUF_LEN) != EOK) { in oal_dev_netlink_rev() 126 if (memcpy_s(g_dev_excp_handler_data.data, len, oal_nlmsg_data(nlh), len) != EOK) { in oal_dev_netlink_rev() 136 if (memcpy_s((hi_void *)&msg_hdr, sizeof(msg_hdr), g_dev_excp_handler_data.data, sizeof(msg_hdr)) != EOK) { in oal_dev_netlink_rev() 185 if (memcpy_s(oal_nlmsg_data(nlh), data_len, data, data_len) != EOK) { in oal_dev_netlink_send() 225 if (memset_s(g_dev_excp_handler_data.data, OAL_EXCP_DATA_BUF_LEN, 0, OAL_EXCP_DATA_BUF_LEN) != EOK) { in oal_init_dev_excp_handler() 397 if (memset_s(hisi_eapol, sizeof(oal_hisi_eapol_stru), 0, sizeof(oal_hisi_eapol_stru)) != EOK) { in OalInitSpecialProcPriv() 439 if (memcpy_s(netdev->name, OAL_IF_NAME_SIZE, puc_name, size) != EOK) { in oal_net_alloc_netdev_mqs() 578 if (memcpy_s(eth->auc_ether_shost, ETHER_ADDR_LEN, eth_header_info->saddr, ETHER_ADDR_LEN) != EOK) { in oal_eth_header() 583 if (memcpy_s(eth->auc_ether_dhost, ETHER_ADDR_LEN, eth_header_info->daddr, ETHER_ADDR_LEN) != EOK) { in oal_eth_header() 616 (memcpy_s(p_arp_create_info->puc_src_hw, ETHER_ADDR_LEN, netdev->dev_addr, ETHER_ADDR_LEN) != EOK)) || in oal_arp_create() [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_cfg80211_apt.c | 90 if (memcpy_s(new_sta_info.macaddr, ETH_ADDR_LEN, mac_addr, addr_len) != EOK) { in cfg80211_new_sta() 100 if (memcpy_s(new_sta_info.ie, sinfo->assoc_req_ies_len, sinfo->assoc_req_ies, sinfo->assoc_req_ies_len) != EOK) { in cfg80211_new_sta() 163 if (memset_s(&rx_mgmt, sizeof(hisi_rx_mgmt_stru), 0, sizeof(hisi_rx_mgmt_stru)) != EOK) { in cfg80211_rx_mgmt() 186 if (memcpy_s(rx_mgmt.buf, len, buffer, len) != EOK) { in cfg80211_rx_mgmt() 232 if (memset_s(&tx_status, sizeof(hisi_tx_status_stru), 0, sizeof(hisi_tx_status_stru)) != EOK) { in cfg80211_mgmt_tx_status() 254 if (memcpy_s(tx_status.buf, len, buffer, len) != EOK) { in cfg80211_mgmt_tx_status() 326 if (memcpy_s(scan_result.bssid, ETH_ADDR_LEN, scanned_bss_info->mgmt->bssid, ETH_ALEN) != EOK) { in cfg80211_inform_bss_frame() 331 if (memcpy_s(scan_result.variable, ie_len, scanned_bss_info->mgmt->u.probe_resp.variable, ie_len) != EOK) { in cfg80211_inform_bss_frame() 337 scanned_bss_info->mgmt->u.beacon.variable, beacon_len) != EOK) { in cfg80211_inform_bss_frame() 408 if (memcpy_s(connect_result.bssid, ETH_ADDR_LEN, connet_result->auc_bssid, ETH_ALEN) != EOK) { in cfg80211_connect_result() [all...] |
H A D | wal_customize.c | 371 if (memcpy_s(¶ms, sizeof(wal_cfg_params), &temp, sizeof(wal_cfg_params)) != EOK) { in init_nvm_param() 384 EOK) { in init_nvm_param() 396 if (memcpy_s(&calibration, sizeof(wal_cfg_calibration), &temp, sizeof(wal_cfg_calibration)) != EOK) { in init_nvm_param() 408 if (memcpy_s(&rx_insertion, sizeof(wal_cfg_rf_rx_insertion), &temp, sizeof(wal_cfg_rf_rx_insertion)) != EOK) { in init_nvm_param() 420 if (memcpy_s(&sar_txpwr, sizeof(wal_cfg_sar_txpwr), &temp, sizeof(wal_cfg_sar_txpwr)) != EOK) { in init_nvm_param() 433 if (memcpy_s(&band_txpwr, sizeof(wal_cfg_band_txpwr), &temp, sizeof(wal_cfg_band_txpwr)) != EOK) { in init_nvm_param() 449 if (memcpy_s(&rf_reg1, sizeof(wal_cfg_rf_reg1), &temp, sizeof(wal_cfg_rf_reg1)) != EOK) { in init_nvm_param() 465 if (memcpy_s(&rf_reg2, sizeof(wal_cfg_rf_reg2), &temp, sizeof(wal_cfg_rf_reg2)) != EOK) { in init_nvm_param() 477 if (memcpy_s(&dpd_cali, sizeof(wal_cfg_dpd_calibration), &temp, sizeof(wal_cfg_dpd_calibration)) != EOK) { in init_nvm_param() 489 if (memcpy_s(&rf_xtal_pll, sizeof(rf_cfg_xtal_compesation), &temp, sizeof(rf_cfg_xtal_compesation)) != EOK) { in init_nvm_param() [all...] |
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/communication/wifi_lite/wifiservice/source/ |
H A D | wifi_device.c | 230 if (cpyErr != EOK) { in DispatchConnectEvent() 237 if (cpyErr != EOK) { in DispatchConnectEvent() 256 if (cpyErr != EOK) { in DispatchConnectEvent() 278 if (cpyErr != EOK) { in DispatchStaConnectEvent() 293 if (cpyErr != EOK) { in DispatchStaConnectEvent() 552 if (cpyErr != EOK) { in AdvanceScan() 556 if (cpyErr != EOK) { in AdvanceScan() 600 if (cpyErr != EOK) { in GetScanInfoList() 607 if (cpyErr != EOK) { in GetScanInfoList() 650 if (cpyErr != EOK) { in AddDeviceConfig() [all...] |
H A D | wifi_hotspot.c | 108 if (cpyErr != EOK) { in EnableHotspot() 126 if (cpyErr != EOK) { in EnableHotspot() 186 if (cpyErr != EOK) { in SetHotspotConfig() 206 if (cpyErr != EOK) { in GetHotspotConfig() 267 if (cpyErr != EOK) { in GetStationList() 396 if (cpyErr != EOK) { in GetHotspotInterfaceName()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libsec/include/ |
H A D | securectype.h | 472 (((size_t)(count) < strlen(src)) ? (memcpy((dest), (src), (count)), *((char *)(dest) + (count)) = '\0', EOK) : \ 473 (memcpy((dest), (src), strlen(src) + 1), EOK)) : (strncpy_error((dest), (destMax), (src), (count)))) 478 (strlen(src) + 1) <= (size_t)(destMax)) ? (memcpy((dest), (src), strlen(src) + 1), EOK) : \ 484 int catRet = EOK; \ 497 catRet = EOK; \ 501 if (catRet != EOK) { \ 516 int ncatRet = EOK; \ 538 if (ncatRet != EOK) { \ 555 (memcpy((dest), (src), (count)), EOK) : \ 561 (memset((dest), (c), (count)), EOK) [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/gpio/ |
H A D | drv_gpio_intf.c | 278 if (err != EOK) { in hi_gpio_ioctl_set_int_type() 310 if (err != EOK) { in hi_gpio_ioctl_set_int_enable() 355 if (err != EOK) { in hi_gpio_ioctl_get_int() 365 if (err != EOK) { in hi_gpio_ioctl_get_int() 398 if (err != EOK) { in hi_gpio_ioctl_get_gpio_num() 428 if (err != EOK) { in hi_gpio_ioctl_set_output_type() 460 if (err != EOK) { in hi_gpio_ioctl_get_output_type() 470 if (err != EOK) { in hi_gpio_ioctl_get_output_type() 499 if (err != EOK) { in hi_gpio_ioctl_set_direct() 532 if (err != EOK) { in hi_gpio_ioctl_get_direct() [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
H A D | drv_mmz_compat.c | 38 if (ret != EOK) { in get_meminfo_from_user() 44 if (ret != EOK) { in get_meminfo_from_user() 138 if (memset_s(&compat_mmb, sizeof(compat_mmb), 0, sizeof(compat_mmb)) != EOK || in compat_mmz_userdev_ioctl_m() 139 memset_s(&mmi, sizeof(mmi), 0, sizeof(mmi)) != EOK) { in compat_mmz_userdev_ioctl_m() 197 if (ret != EOK) { in compat_mmz_userdev_ioctl_c() 202 if (ret != EOK) { in compat_mmz_userdev_ioctl_c()
|
/device/soc/rockchip/common/hardware/display/src/display_gfx/ |
H A D | display_gfx.c | 160 if (eok != EOK) { in rkFillRect() 170 if (eok != EOK) { in rkFillRect() 289 if (eok != EOK) { in doFlit() 294 if (eok != EOK) { in doFlit() 299 if (eok != EOK) { in doFlit() 304 if (eok != EOK) { in doFlit() 309 if (eok != EOK) { in doFlit() 314 if (eok != EOK) { in doFlit() 404 if (eok != EOK) { in doFlit() 412 if (eok != EOK) { in doFlit() [all...] |
/device/soc/rockchip/rk3399/hardware/display/src/display_gfx/ |
H A D | display_gfx.c | 160 if (eok != EOK) { in rkFillRect() 170 if (eok != EOK) { in rkFillRect() 287 if (eok != EOK) { in doFlit() 292 if (eok != EOK) { in doFlit() 297 if (eok != EOK) { in doFlit() 302 if (eok != EOK) { in doFlit() 307 if (eok != EOK) { in doFlit() 312 if (eok != EOK) { in doFlit() 399 if (eok != EOK) { in doFlit() 407 if (eok != EOK) { in doFlit() [all...] |
/device/soc/rockchip/rk3566/hardware/display/src/display_gfx/ |
H A D | display_gfx.c | 158 if (eok != EOK) { in rkFillRect() 168 if (eok != EOK) { in rkFillRect() 279 if (eok != EOK) { in doFlit() 284 if (eok != EOK) { in doFlit() 289 if (eok != EOK) { in doFlit() 294 if (eok != EOK) { in doFlit() 299 if (eok != EOK) { in doFlit() 304 if (eok != EOK) { in doFlit() 388 if (eok != EOK) { in doFlit() 396 if (eok != EOK) { in doFlit() [all...] |
/device/soc/rockchip/rk3568/hardware/display/src/display_gfx/ |
H A D | display_gfx.c | 158 if (eok != EOK) { in rkFillRect() 168 if (eok != EOK) { in rkFillRect() 279 if (eok != EOK) { in doFlit() 284 if (eok != EOK) { in doFlit() 289 if (eok != EOK) { in doFlit() 294 if (eok != EOK) { in doFlit() 299 if (eok != EOK) { in doFlit() 304 if (eok != EOK) { in doFlit() 388 if (eok != EOK) { in doFlit() 396 if (eok != EOK) { in doFlit() [all...] |
/device/soc/rockchip/rk3588/hardware/display/src/display_gfx/ |
H A D | display_gfx.c | 158 if (eok != EOK) {
in rkFillRect() 168 if (eok != EOK) {
in rkFillRect() 279 if (eok != EOK) {
in doFlit() 284 if (eok != EOK) {
in doFlit() 289 if (eok != EOK) {
in doFlit() 294 if (eok != EOK) {
in doFlit() 299 if (eok != EOK) {
in doFlit() 304 if (eok != EOK) {
in doFlit() 388 if (eok != EOK) {
in doFlit() 396 if (eok != EOK) {
in doFlit() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | kernel_crypto.c | 158 if (ret != EOK) { in crypto_decrypt_hash() 170 if (ret != EOK) { in crypto_decrypt_hash() 203 if (ret != EOK) { in crypto_encrypt_hash() 293 if (ret != EOK) { in crypto_save_work_key() 350 if ((hi_u32)memcpy_s(ctrl.key, sizeof(ctrl.key), kdf_key, sizeof(kdf_key)) != EOK) { in crypto_gen_key_content() 361 if (memcpy_s(key_content->work_text, KEY_BYTE_LENGTH, ctrl.result, sizeof(ctrl.result)) != EOK) { in crypto_gen_key_content() 472 if (memcpy_s(aes_ctrl.key, sizeof(aes_ctrl.key), new_content->work_text, KEY_BYTE_LENGTH) != EOK) { in crypto_encrypt_data() 476 if (memcpy_s(aes_ctrl.iv, sizeof(aes_ctrl.iv), new_content->iv_content, IV_BYTE_LENGTH) != EOK) { in crypto_encrypt_data() 581 if (ret != EOK) { in crypto_init_param() 585 if (ret != EOK) { in crypto_init_param() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/ |
H A D | ive_img.c | 57 if (memset_s(img, sizeof(*img), 0, sizeof(*img)) != EOK) {
in FrmToOrigImg() 136 if (memset_s(img, sizeof(*img), 0, sizeof(*img)) != EOK) {
in IveImgCreate() 257 if (memcpy_s(dstPtrY, boxWidth, srcPtrY + box.xmin, boxWidth) != EOK) {
in ImgYuvCrop() 275 if (memcpy_s(dstPtrUV, boxWidth, srcPtrUV + box.xmin, boxWidth) != EOK) {
in ImgYuvCrop() 297 if (memset_s(img, sizeof(*img), 0, sizeof(*img)) != EOK) {
in IveImgDestroy() 306 if (memset_s(frm, sizeof(*frm), 0, sizeof(*frm)) != EOK) {
in OrigImgToFrm()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/common/ |
H A D | mac_frame.c | 211 if (memcpy_s(puc_buffer + MAC_IE_HDR_LEN, ssid_len, g_dmac_p2p_wildcard_ssid, ssid_len) != EOK) { in mac_set_ssid_ie() 222 if (memcpy_s(puc_buffer + MAC_IE_HDR_LEN, ssid_len, puc_ssid, ssid_len) != EOK) { in mac_set_ssid_ie() 314 if (memcpy_s(&puc_buffer[2], MAC_OUI_LEN, auc_oui, MAC_OUI_LEN) != EOK) { /* puc_buffer[2]赋值 */ in mac_set_rsn_group_cipher_suite_field() 336 if (memcpy_s(&puc_buffer[index], MAC_OUI_LEN, auc_oui, MAC_OUI_LEN) != EOK) { in mac_set_rsn_group_cipher_suite_field() 344 if (memcpy_s(&puc_buffer[index], MAC_OUI_LEN, auc_oui, MAC_OUI_LEN) != EOK) { in mac_set_rsn_group_cipher_suite_field() 353 if (memcpy_s(&puc_buffer[index], MAC_OUI_LEN, auc_oui, MAC_OUI_LEN) != EOK) { in mac_set_rsn_group_cipher_suite_field() 417 if (memset_s(rsn_cap, sizeof(mac_rsn_cap_stru), 0, sizeof(mac_rsn_cap_stru)) != EOK) { in mac_set_rsn_mesh_ie_authenticator() 848 if (memcpy_s(&puc_buffer[index], MAC_OUI_LEN, auc_oui, MAC_OUI_LEN) != EOK) { in mac_set_wmm_params_ie() 1022 if (memset_s(puc_buffer, sizeof(mac_sup_mcs_set_stru), 0, sizeof(mac_sup_mcs_set_stru)) != EOK) { in mac_set_sup_mcs_set_field() 1026 mac_vap->mib_info->supported_mcsrx.auc_dot11_supported_mcs_rx_value, WLAN_HT_MCS_BITMASK_LEN) != EOK) { in mac_set_sup_mcs_set_field() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
H A D | crypto.c | 217 if (ret != EOK) { in crypto_encrypt_hash() 261 if (ret != EOK) { in crypto_decrypt_hash() 273 if (ret != EOK) { in crypto_decrypt_hash() 306 if (ret != EOK) { in crypto_save_work_key() 402 if ((hi_u32)memcpy_s(ctrl.key, sizeof(ctrl.key), kdf_key, sizeof(kdf_key), cs) != EOK) { in crypto_gen_key_content() 414 if (memcpy_s(key_content->work_text, KEY_BYTE_LENGTH, ctrl.result, sizeof(ctrl.result), cs) != EOK) { in crypto_gen_key_content() 438 if (memcpy_s(aes_ctrl.key, sizeof(aes_ctrl.key), content->work_text, KEY_BYTE_LENGTH, cs) != EOK) { in crypto_encrypt_data() 443 if (memcpy_s(aes_ctrl.iv, sizeof(aes_ctrl.iv), content->iv_content, IV_BYTE_LENGTH, cs) != EOK) { in crypto_encrypt_data() 676 if (ret != EOK) { in encrypt_upg_data() 743 para->crypto_total_size - para->cryptoed_size, cs) != EOK) { in upg_check_encrypt() [all...] |