/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pax_common.c | 30 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf() argument 46 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_kdf() 87 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac() argument 99 if (mac_id != EAP_PAX_MAC_HMAC_SHA1_128) in eap_pax_mac() 129 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation() argument 133 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key", in eap_pax_initial_key_derivation() 135 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Confirmation Key", in eap_pax_initial_key_derivation() 137 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Integrity Check Key", in eap_pax_initial_key_derivation() 139 eap_pax_kdf(mac_id, mk, EAP_PAX_MK_LEN, "Method ID", in eap_pax_initial_key_derivation()
|
D | eap_pax_common.h | 19 u8 mac_id; member 80 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, 84 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, 89 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pax.c | 27 u8 mac_id, dh_group_id, public_key_id; member 107 pax->mac_id = req->mac_id; in eap_pax_alloc_resp() 180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1() 207 eap_pax_mac(req->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_1() 217 eap_pax_mac(req->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_1() 223 data->mac_id = req->mac_id; in eap_pax_process_std_1() 278 if (eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_process_std_3() 315 if (eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_process_std_3() 357 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process() 362 if (data->state != PAX_INIT && data->mac_id != req->mac_id) { in eap_pax_process() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pax.c | 27 u8 mac_id; member 58 data->mac_id = EAP_PAX_MAC_HMAC_SHA1_128; in eap_pax_init() 100 pax->mac_id = data->mac_id; in eap_pax_build_std_1() 110 eap_pax_mac(data->mac_id, (u8 *) "", 0, in eap_pax_build_std_1() 141 pax->mac_id = data->mac_id; in eap_pax_build_std_3() 147 eap_pax_mac(data->mac_id, data->ck, EAP_PAX_CK_LEN, in eap_pax_build_std_3() 156 eap_pax_mac(data->mac_id, data->ick, EAP_PAX_ICK_LEN, in eap_pax_build_std_3() 204 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check() 229 if (data->mac_id != resp->mac_id) { in eap_pax_check() 231 "received 0x%x", data->mac_id, resp->mac_id); in eap_pax_check() [all …]
|
/external/u-boot/arch/arm/cpu/arm926ejs/spear/ |
D | spr_misc.c | 54 uchar mac_id[6]; in misc_init_r() local 56 if (!eth_env_get_enetaddr("ethaddr", mac_id) && !i2c_read_mac(mac_id)) in misc_init_r() 57 eth_env_set_enetaddr("ethaddr", mac_id); in misc_init_r()
|
/external/u-boot/drivers/net/ |
D | designware.c | 218 static int _dw_write_hwaddr(struct dw_eth_dev *priv, u8 *mac_id) in _dw_write_hwaddr() argument 223 macid_lo = mac_id[0] + (mac_id[1] << 8) + (mac_id[2] << 16) + in _dw_write_hwaddr() 224 (mac_id[3] << 24); in _dw_write_hwaddr() 225 macid_hi = mac_id[4] + (mac_id[5] << 8); in _dw_write_hwaddr()
|
D | sun8i_emac.c | 214 static int _sun8i_write_hwaddr(struct emac_eth_dev *priv, u8 *mac_id) in _sun8i_write_hwaddr() argument 218 macid_lo = mac_id[0] + (mac_id[1] << 8) + (mac_id[2] << 16) + in _sun8i_write_hwaddr() 219 (mac_id[3] << 24); in _sun8i_write_hwaddr() 220 macid_hi = mac_id[4] + (mac_id[5] << 8); in _sun8i_write_hwaddr()
|
/external/u-boot/include/fsl-mc/ |
D | fsl_dpmac.h | 35 MC_CMD_OP(cmd, 0, 0, 16, uint16_t, cfg->mac_id) 183 int mac_id; member
|
/external/u-boot/include/ |
D | cpsw.h | 35 u32 mac_id; member
|
/external/u-boot/drivers/net/ldpaa_eth/ |
D | ldpaa_eth.c | 776 dpmac_cfg.mac_id = priv->dpmac_id; in ldpaa_dpmac_setup()
|