Home
last modified time | relevance | path

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

123

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/
Daes-ccm.c116 static void aes_ccm_encr_auth(void *aes, size_t M, u8 *x, u8 *a, u8 *auth) in aes_ccm_encr_auth() argument
126 auth[i] = x[i] ^ tmp[i]; in aes_ccm_encr_auth()
127 wpa_hexdump_key(_MSG_EXCESSIVE_, "CCM U", auth, M); in aes_ccm_encr_auth()
131 static void aes_ccm_decr_auth(void *aes, size_t M, u8 *a, const u8 *auth, u8 *t) in aes_ccm_decr_auth() argument
136 wpa_hexdump_key(_MSG_EXCESSIVE_, "CCM U", auth, M); in aes_ccm_decr_auth()
141 t[i] = auth[i] ^ tmp[i]; in aes_ccm_decr_auth()
149 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) in aes_ccm_ae() argument
168 aes_ccm_encr_auth(aes, M, x, a, auth); in aes_ccm_ae()
179 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) in aes_ccm_ad() argument
195 aes_ccm_decr_auth(aes, M, a, auth, t); in aes_ccm_ad()
Daes_wrap.h67 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth);
70 const u8 *aad, size_t aad_len, const u8 *auth,
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_auth.c66 struct drm_auth *auth = data; in drm_getmagic() local
76 auth->magic = file_priv->magic; in drm_getmagic()
79 DRM_DEBUG("%u\n", auth->magic); in drm_getmagic()
86 struct drm_auth *auth = data; in drm_authmagic() local
89 DRM_DEBUG("%u\n", auth->magic); in drm_authmagic()
92 file = idr_find(&file_priv->master->magic_map, auth->magic); in drm_authmagic()
95 idr_replace(&file_priv->master->magic_map, NULL, auth->magic); in drm_authmagic()
/device/soc/rockchip/rk3588/kernel/include/rtg/
Drtg_qos.h28 void qos_pause(struct rtg_authority *auth);
29 void qos_resume(struct rtg_authority *auth);
/device/soc/chipsea/cst85/liteos_m/sdk/modules/btdm/ble/ble_stack/hl/api/
Dhal_gapc_task.h471 uint8_t auth; member
785 uint8_t auth; member
944 struct gapc_bond_auth auth; member
1008 uint8_t auth; member
1019 uint8_t auth; member
1026 uint8_t auth; member
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Dbeacon.c88 net_buf_simple_add_mem(buf, sub->auth, 8); // 8:byte alignment in bt_mesh_beacon_create()
92 bt_hex(sub->auth, 8)); // 8:byte alignment in bt_mesh_beacon_create()
276 u8_t *data, *net_id, *auth; in secure_beacon_recv() local
298 auth = buf->om_data; in secure_beacon_recv()
301 sub = bt_mesh_subnet_find(net_id, flags, iv_index, auth, &new_key); in secure_beacon_recv()
Dprov.c148 u8_t auth[16]; /* Authentication Value */ member
609 memset(link.auth, 0, sizeof(link.auth)); in send_start()
715 memset(link.auth, 0, sizeof(link.auth)); in prov_auth()
723 memcpy(link.auth + 16 - prov->static_val_len, // 16:byte alignment in prov_auth()
725 memset(link.auth, 0, sizeof(link.auth) - prov->static_val_len); in prov_auth()
761 memcpy(link.auth, str, size); in prov_auth()
762 memset(link.auth + size, 0, sizeof(link.auth) - size); in prov_auth()
771 sys_put_be32(num, &link.auth[12]); // 12:array element in prov_auth()
772 memset(link.auth, 0, 12); // 12:size in prov_auth()
866 if (bt_mesh_prov_conf(link.conf_key, link.rand, link.auth, in send_confirm()
[all …]
Dcrypto.c786 const u8_t auth[16], u8_t conf[16]) in bt_mesh_prov_conf()
788 struct bt_mesh_sg sg[] = { { rand, 16 }, { auth, 16 } }; in bt_mesh_prov_conf()
791 BT_DBG("AuthValue %s", bt_hex(auth, 16)); // 16:len in bt_mesh_prov_conf()
809 u8_t auth[8]) in bt_mesh_beacon_auth()
822 memcpy_s(auth, sizeof(auth), tmp, 8); // 8:len in bt_mesh_beacon_auth()
Dcrypto.h72 u8_t auth[8]);
159 const u8_t auth[16], u8_t conf[16]);
Dnet.c407 bt_mesh.iv_index, sub->auth); in bt_mesh_net_beacon_update()
889 u32_t iv_index, const u8_t auth[8]) in auth_match()
900 if (memcmp(auth, net_auth, 8)) { // 8:size in auth_match()
902 bt_hex(auth, 8), bt_hex(net_auth, 8)); // 8:size in auth_match()
910 u32_t iv_index, const u8_t auth[8], in bt_mesh_subnet_find()
922 if (auth_match(&sub->keys[0], net_id, flags, iv_index, auth)) { in bt_mesh_subnet_find()
931 if (auth_match(&sub->keys[1], net_id, flags, iv_index, auth)) { in bt_mesh_subnet_find()
Dnet.h70 u8_t auth[8]; /* Beacon Authentication Value */ member
344 u32_t iv_index, const u8_t auth[8],
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/
Dsmp_act.c532 uint16_t auth = 0; in smp_get_auth_mode() local
537 auth |= SMP_SC_SUPPORT_BIT; in smp_get_auth_mode()
541 auth |= SMP_AUTH_YN_BIT; in smp_get_auth_mode()
544 auth |= SMP_SC_SUPPORT_BIT; in smp_get_auth_mode()
545 auth |= SMP_AUTH_YN_BIT; in smp_get_auth_mode()
547 auth = 0; in smp_get_auth_mode()
549 return auth; in smp_get_auth_mode()
607 uint16_t auth = smp_get_auth_mode(p_cb->selected_association_model); in smp_proc_pair_cmd() local
609 auth |= SMP_AUTH_GEN_BOND; in smp_proc_pair_cmd()
611 p_cb->auth_mode = auth; in smp_proc_pair_cmd()
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/sdk/
Dble_sec.h174 uint8_t auth; /**< Set the auth, see @ref SEC_AUTH_FLAG. */ member
227 void (*app_sec_enc_ind_cb)(uint8_t conn_idx, sec_enc_ind_t enc_ind, uint8_t auth);
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
Dat_wifi.c217 …if ((results[ul_loop].auth < HI_WIFI_SECURITY_OPEN) || (results[ul_loop].auth > HI_WIFI_SECURITY_U… in cmd_wpa_scan_results()
218 results[ul_loop].auth = HI_WIFI_SECURITY_UNKNOWN; in cmd_wpa_scan_results()
242 … results[ul_loop].channel, results[ul_loop].rssi / 100, results[ul_loop].auth, service_flag); in cmd_wpa_scan_results()
245 results[ul_loop].channel, results[ul_loop].rssi / 100, results[ul_loop].auth); in cmd_wpa_scan_results()
428 if ((fast_assoc_req->req.auth != HI_WIFI_SECURITY_OPEN) && (argc == 5)) { /* 5 parameters */ in cmd_sta_connect_get_key()
481 assoc_req->auth = (hi_wifi_auth_mode)atoi(argv[2]); /* 2 */ in parse_conn_para()
681 assoc_req.auth = (hi_wifi_auth_mode)atoi(argv[2]); /* 2 */ in cmd_sta_connect()
761 fast_assoc_req.req.auth = (hi_wifi_auth_mode)atoi(argv[3]); /* 3 */ in cmd_sta_quick_connect()
1273 mesh_auto_config.auth = (hi_mesh_autolink_auth_type)atoi(argv[2]); /* 2 */ in cmd_mesh_auto_connect()
1276 if (mesh_auto_config.auth == HI_MESH_AUTH) { in cmd_mesh_auto_connect()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/smp/include/
Desp_sec_api.h58 UINT8 auth; member
/device/soc/esp/esp32/components/esp_event/
Devent_send_compat.inc130 {WIFI_REASON_AUTH_EXPIRE, "auth expire"},
131 {WIFI_REASON_AUTH_LEAVE, "auth leave"},
140 {WIFI_REASON_AUTH_FAIL, "auth fail"},
155 {WIFI_REASON_802_1X_AUTH_FAILED, "802.1x auth failed"},
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_wifi_api.h523 hi_wifi_auth_mode auth; /**< Authentication type. CNcomment: 认证类型.CNend */ member
539 hi_wifi_auth_mode auth; /**< Authentication mode. CNcomment: 认证类型.CNend */ member
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
Dhi_wifi_api.h502 hi_wifi_auth_mode auth; /* *< Authentication type. CNcomment: 认证类型.CNend */ member
518 hi_wifi_auth_mode auth; /* *< Authentication mode. CNcomment: 认证类型.CNend */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/
Dwifi_sta.c90 assoc_req.auth = HI_WIFI_SECURITY_OPEN; in hi_wifi_start_connect()
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_sm_priv.h396 uint64_t rand_val, int auth);
408 #define ble_sm_enc_initiate(conn_handle, keysize, ltk, ediv, rand_val, auth) \ argument
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/ble_inc/
Dsonata_gap_api.h1328 struct sonata_gap_bond_auth auth; member
1420 uint8_t auth; member
1443 uint8_t auth; member
2176 …enum sonata_gap_io_cap iocap, enum sonata_gap_oob_auth oob, enum sonata_gap_auth auth, uint8_t key…
2299 uint16_t sonata_ble_gap_bond(uint8_t conidx, uint8_t iocap, uint8_t oob, uint8_t auth, uint8_t key_…
Dapp.h285 void app_gap_connect_confirm(uint8_t *addr, uint8_t auth);
/device/soc/chipsea/cst85/liteos_m/sdk/modules/btdm/ble/ble_stack/hl/inc/
Dhal_smpc.h205 uint8_t auth; member
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/ble_src/
Dapp.c1917 switch (ind->data.auth.info) { in app_gap_bond_callback()
2267 static void app_gap_send_connection_confirm(uint8_t conidx, uint8_t auth) in app_gap_send_connection_confirm() argument
2272 connectionCfm.auth = SONATA_GAP_AUTH_REQ_NO_MITM_BOND; in app_gap_send_connection_confirm()
2275 connectionCfm.auth = SONATA_GAP_AUTH_REQ_NO_MITM_NO_BOND; in app_gap_send_connection_confirm()
2280 connectionCfm.auth = auth; in app_gap_send_connection_confirm()
2285 void app_gap_connect_confirm(uint8_t *addr, uint8_t auth) in app_gap_connect_confirm() argument
2289 sonata_ble_gap_start_security(conidx, auth); in app_gap_connect_confirm()
2290 APP_TRC("id %d auth %d:", conidx, auth); in app_gap_connect_confirm()
2339 connectionCfm.auth = SONATA_GAP_AUTH_REQ_SEC_CON_BOND; in app_gap_connection_req_callback()
2345 connectionCfm.auth = SONATA_GAP_AUTH_REQ_NO_MITM_NO_BOND; in app_gap_connection_req_callback()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dwl_android_ext.c1077 int auth = -1, wpa_auth = -1; in wl_ext_get_amode() local
1079 wl_ext_iovar_getint(dev, "auth", &auth); in wl_ext_get_amode()
1084 if (auth == 0 && wpa_auth == 0) { in wl_ext_get_amode()
1086 } else if (auth == 0 && wpa_auth == 128) { in wl_ext_get_amode()
1091 if (auth == 0 && wpa_auth == 0) { in wl_ext_get_amode()
1093 } else if (auth == 1 && wpa_auth == 0) { in wl_ext_get_amode()
1095 } else if (auth == 0 && wpa_auth == 4) { in wl_ext_get_amode()
1097 } else if (auth == 0 && wpa_auth == 128) { in wl_ext_get_amode()
1099 } else if (auth == 0 && wpa_auth == 132) { in wl_ext_get_amode()
1139 int auth = 0, wpa_auth = 0; in wl_ext_set_amode() local
[all …]

123