/external/wpa_supplicant_8/src/crypto/ |
D | aes-unwrap.c | 32 os_memcpy(a, cipher, 8); in aes_unwrap() 34 os_memcpy(r, cipher + 8, 8 * n); in aes_unwrap() 50 os_memcpy(b, a, 8); in aes_unwrap() 53 os_memcpy(b + 8, r, 8); in aes_unwrap() 55 os_memcpy(a, b, 8); in aes_unwrap() 56 os_memcpy(r, b + 8, 8); in aes_unwrap()
|
D | crypto_internal-cipher.c | 62 os_memcpy(ctx->u.rc4.key, key, key_len); in crypto_cipher_init() 76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); in crypto_cipher_init() 84 os_memcpy(ctx->u.des3.cbc, iv, 8); in crypto_cipher_init() 92 os_memcpy(ctx->u.des.cbc, iv, 8); in crypto_cipher_init() 111 os_memcpy(crypt, plain, len); in crypto_cipher_encrypt() 125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE); in crypto_cipher_encrypt() 139 os_memcpy(crypt, ctx->u.des3.cbc, 8); in crypto_cipher_encrypt() 153 os_memcpy(crypt, ctx->u.des.cbc, 8); in crypto_cipher_encrypt() 175 os_memcpy(plain, crypt, len); in crypto_cipher_decrypt() 185 os_memcpy(tmp, crypt, AES_BLOCK_SIZE); in crypto_cipher_decrypt() [all …]
|
D | aes-wrap.c | 36 os_memcpy(r, plain, 8 * n); in aes_wrap() 52 os_memcpy(b, a, 8); in aes_wrap() 53 os_memcpy(b + 8, r, 8); in aes_wrap() 55 os_memcpy(a, b, 8); in aes_wrap() 57 os_memcpy(r, b + 8, 8); in aes_wrap()
|
D | fips_prf_openssl.c | 20 os_memcpy(&context.h0, state, 5 * 4); in sha1_transform() 22 os_memcpy(state, &context.h0, 5 * 4); in sha1_transform() 41 os_memcpy(xkey, seed, seed_len); in fips186_2_prf() 55 os_memcpy(_t, t, 20); in fips186_2_prf() 62 os_memcpy(xpos, _t, 20); in fips186_2_prf()
|
D | aes-cbc.c | 34 os_memcpy(cbc, iv, AES_BLOCK_SIZE); in aes_128_cbc_encrypt() 41 os_memcpy(pos, cbc, AES_BLOCK_SIZE); in aes_128_cbc_encrypt() 67 os_memcpy(cbc, iv, AES_BLOCK_SIZE); in aes_128_cbc_decrypt() 71 os_memcpy(tmp, pos, AES_BLOCK_SIZE); in aes_128_cbc_decrypt() 75 os_memcpy(cbc, tmp, AES_BLOCK_SIZE); in aes_128_cbc_decrypt()
|
D | aes-eax.c | 53 os_memcpy(buf + 16, nonce, nonce_len); in aes_128_eax_encrypt() 58 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_encrypt() 65 os_memcpy(buf + 16, data, data_len); in aes_128_eax_encrypt() 117 os_memcpy(buf + 16, nonce, nonce_len); in aes_128_eax_decrypt() 124 os_memcpy(buf + 16, hdr, hdr_len); in aes_128_eax_decrypt() 131 os_memcpy(buf + 16, data, data_len); in aes_128_eax_decrypt()
|
D | milenage.c | 49 os_memcpy(tmp2, sqn, 6); in milenage_f1() 50 os_memcpy(tmp2 + 6, amf, 2); in milenage_f1() 51 os_memcpy(tmp2 + 8, tmp2, 8); in milenage_f1() 69 os_memcpy(mac_a, tmp1, 8); /* f1 */ in milenage_f1() 71 os_memcpy(mac_s, tmp1 + 8, 8); /* f1* */ in milenage_f1() 116 os_memcpy(res, tmp3 + 8, 8); /* f2 */ in milenage_f2345() 118 os_memcpy(ak, tmp3, 6); /* f5 */ in milenage_f2345() 194 os_memcpy(autn + 6, amf, 2); in milenage_generate() 195 os_memcpy(autn + 8, mac_a, 8); in milenage_generate() 247 os_memcpy(sres, res, 4); in gsm_milenage()
|
D | crypto_internal.c | 65 os_memcpy(ctx->key, key, key_len); in crypto_hash_init() 68 os_memcpy(k_pad, key, key_len); in crypto_hash_init() 84 os_memcpy(ctx->key, key, key_len); in crypto_hash_init() 87 os_memcpy(k_pad, key, key_len); in crypto_hash_init() 104 os_memcpy(ctx->key, key, key_len); in crypto_hash_init() 107 os_memcpy(k_pad, key, key_len); in crypto_hash_init() 204 os_memcpy(k_pad, ctx->key, ctx->key_len); in crypto_hash_finish() 224 os_memcpy(k_pad, ctx->key, ctx->key_len); in crypto_hash_finish() 245 os_memcpy(k_pad, ctx->key, ctx->key_len); in crypto_hash_finish()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 264 os_memcpy(res, hash, SHA1_MAC_LEN); in eap_eke_prf_hmac_sha1() 268 os_memcpy(res, hash, len); in eap_eke_prf_hmac_sha1() 305 os_memcpy(res, hash, SHA256_MAC_LEN); in eap_eke_prf_hmac_sha256() 309 os_memcpy(res, hash, len); in eap_eke_prf_hmac_sha256() 353 os_memcpy(id, id_s, id_s_len); in eap_eke_derive_key() 354 os_memcpy(id + id_s_len, id_p, id_p_len); in eap_eke_derive_key() 393 os_memcpy(pub, dhpub, dh_len); in eap_eke_dhcomp() 396 os_memcpy(ret_dhcomp, iv, AES_BLOCK_SIZE); in eap_eke_dhcomp() 397 os_memcpy(ret_dhcomp + AES_BLOCK_SIZE, pub, dh_len); in eap_eke_dhcomp() 422 os_memcpy(peer_pub, peer_dhcomp + AES_BLOCK_SIZE, dh->prime_len); in eap_eke_shared_secret() [all …]
|
D | eap_gpsk_common.c | 63 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_cmac() 97 os_memcpy(opos, hash, clen); in eap_gpsk_gkdf_sha256() 146 os_memcpy(pos, psk, psk_len); in eap_gpsk_derive_keys_helper() 152 os_memcpy(pos, seed, seed_len); /* inputString */ in eap_gpsk_derive_keys_helper() 168 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper() 172 os_memcpy(emsk, pos, EAP_EMSK_LEN); in eap_gpsk_derive_keys_helper() 176 os_memcpy(sk, pos, sk_len); in eap_gpsk_derive_keys_helper() 181 os_memcpy(pk, pos, pk_len); in eap_gpsk_derive_keys_helper() 306 os_memcpy(pos, rand_peer, EAP_GPSK_RAND_LEN); in eap_gpsk_derive_keys() 308 os_memcpy(pos, id_peer, id_peer_len); in eap_gpsk_derive_keys() [all …]
|
D | eap_sake_common.c | 239 os_memcpy(&buf[pos], hash, plen); in eap_sake_kdf() 294 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys() 295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys() 334 os_memcpy(pos, peerid, peerid_len); in eap_sake_compute_mic() 339 os_memcpy(pos, serverid, serverid_len); in eap_sake_compute_mic() 344 os_memcpy(_rand, rand_s, EAP_SAKE_RAND_LEN); in eap_sake_compute_mic() 345 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_p, in eap_sake_compute_mic() 349 os_memcpy(pos, serverid, serverid_len); in eap_sake_compute_mic() 354 os_memcpy(pos, peerid, peerid_len); in eap_sake_compute_mic() 359 os_memcpy(_rand, rand_p, EAP_SAKE_RAND_LEN); in eap_sake_compute_mic() [all …]
|
D | eap_sim_common.c | 86 os_memcpy(k_encr, pos, EAP_SIM_K_ENCR_LEN); in eap_sim_derive_keys() 88 os_memcpy(k_aut, pos, EAP_SIM_K_AUT_LEN); in eap_sim_derive_keys() 90 os_memcpy(msk, pos, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys() 92 os_memcpy(emsk, pos, EAP_EMSK_LEN); in eap_sim_derive_keys() 151 os_memcpy(msk, buf, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth() 156 os_memcpy(emsk, buf + EAP_SIM_KEYING_DATA_LEN, EAP_EMSK_LEN); in eap_sim_derive_keys_reauth() 188 os_memcpy(tmp, wpabuf_head(req), wpabuf_len(req)); in eap_sim_verify_mac() 225 os_memcpy(mac, hmac, EAP_SIM_MAC_LEN); in eap_sim_add_mac() 269 os_memcpy(res, hash, hlen); in prf_prime() 294 os_memcpy(key, ik, EAP_AKA_IK_LEN); in eap_aka_prime_derive_keys() [all …]
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_key.c | 24 os_memcpy(out, mac1, ETH_ALEN); in joint_two_mac() 25 os_memcpy(out + ETH_ALEN, mac2, ETH_ALEN); in joint_two_mac() 27 os_memcpy(out, mac2, ETH_ALEN); in joint_two_mac() 28 os_memcpy(out + ETH_ALEN, mac1, ETH_ALEN); in joint_two_mac() 58 os_memcpy(buf + 1, label, lab_len); in aes_kdf_128() 59 os_memcpy(buf + lab_len + 2, context, ctx_len); in aes_kdf_128() 112 os_memcpy(context, sid, sid_bytes); in ieee802_1x_ckn_128bits_aes_cmac() 135 os_memcpy(context, ckn, (ckn_bytes < 16) ? ckn_bytes : 16); in ieee802_1x_kek_128bits_aes_cmac() 155 os_memcpy(context, ckn, (ckn_bytes < 16) ? ckn_bytes : 16); in ieee802_1x_ick_128bits_aes_cmac()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_psk.c | 61 os_memcpy(data->id_p, identity, identity_len); in eap_psk_init() 116 os_memcpy(data->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1() 126 os_memcpy(data->id_s, (u8 *) (hdr1 + 1), data->id_s_len); in eap_psk_process_1() 143 os_memcpy(hdr2->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1() 144 os_memcpy(hdr2->rand_p, data->rand_p, EAP_PSK_RAND_LEN); in eap_psk_process_1() 153 os_memcpy(buf, data->id_p, data->id_p_len); in eap_psk_process_1() 155 os_memcpy(pos, data->id_s, data->id_s_len); in eap_psk_process_1() 157 os_memcpy(pos, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1() 159 os_memcpy(pos, data->rand_p, EAP_PSK_RAND_LEN); in eap_psk_process_1() 233 os_memcpy(buf, data->id_s, data->id_s_len); in eap_psk_process_3() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wnm_sta.c | 88 os_memcpy(wnmtfs_ie, wpabuf_head(tfs_req), wnmtfs_ie_len); in ieee802_11_send_wnmsleep_req() 114 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req() 115 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_req() 116 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); in ieee802_11_send_wnmsleep_req() 122 os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable, wnmsleep_ie, in ieee802_11_send_wnmsleep_req() 126 os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable + in ieee802_11_send_wnmsleep_req() 341 os_memcpy(rep->tsf_info->tsf_offset, pos, 2); in wnm_parse_neighbor_report_elem() 342 os_memcpy(rep->tsf_info->beacon_interval, pos + 2, 2); in wnm_parse_neighbor_report_elem() 355 os_memcpy(rep->con_coun_str->country_string, pos, 2); in wnm_parse_neighbor_report_elem() 381 os_memcpy(rep->bss_term_dur->duration, pos, 10); in wnm_parse_neighbor_report_elem() [all …]
|
D | wpa_priv.c | 73 os_memcpy(&iface->drv_addr, from, sizeof(iface->drv_addr)); in wpa_priv_cmd_register() 133 os_memcpy(pos, &val, sizeof(int)); in wpa_priv_get_scan_results2() 141 os_memcpy(pos, &val, sizeof(int)); in wpa_priv_get_scan_results2() 143 os_memcpy(pos, r, val); in wpa_priv_get_scan_results2() 257 os_memcpy(ssid, &res, sizeof(int)); in wpa_priv_cmd_get_ssid() 370 os_memcpy(&iface->l2_addr, from, sizeof(iface->l2_addr)); in wpa_priv_cmd_l2_register() 430 os_memcpy(&proto, buf + ETH_ALEN, 2); in wpa_priv_cmd_l2_send() 477 os_memcpy(&cmd, buf, sizeof(int)); in wpa_priv_receive() 718 os_memcpy(pos, &len, sizeof(int)); in wpa_priv_send_assoc() 720 os_memcpy(pos, data->assoc_info.req_ies, len); in wpa_priv_send_assoc() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_privsep.c | 142 os_memcpy(&num, pos, sizeof(int)); in wpa_driver_privsep_get_scan_results2() 164 os_memcpy(&len, pos, sizeof(int)); in wpa_driver_privsep_get_scan_results2() 172 os_memcpy(r, pos, len); in wpa_driver_privsep_get_scan_results2() 202 os_memcpy(cmd.addr, addr, ETH_ALEN); in wpa_driver_privsep_set_key() 208 os_memcpy(cmd.seq, seq, seq_len); in wpa_driver_privsep_set_key() 212 os_memcpy(cmd.key, key, key_len); in wpa_driver_privsep_set_key() 241 os_memcpy(data->bssid, params->bssid, ETH_ALEN); in wpa_driver_privsep_associate() 242 os_memcpy(data->ssid, params->ssid, params->ssid_len); in wpa_driver_privsep_associate() 252 os_memcpy(data + 1, params->wpa_ie, params->wpa_ie_len); in wpa_driver_privsep_associate() 286 os_memcpy(&ssid_len, reply, sizeof(int)); in wpa_driver_privsep_get_ssid() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_psk.c | 82 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_1() 110 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_3() 118 os_memcpy(buf, sm->server_id, sm->server_id_len); in eap_psk_build_3() 119 os_memcpy(buf + sm->server_id_len, data->rand_p, EAP_PSK_RAND_LEN); in eap_psk_build_3() 135 os_memcpy(pchannel, nonce + 12, 4); in eap_psk_build_3() 245 os_memcpy(data->id_p, cpos, left); in eap_psk_process_2() 294 os_memcpy(data->rand_p, resp->rand_p, EAP_PSK_RAND_LEN); in eap_psk_process_2() 303 os_memcpy(buf, data->id_p, data->id_p_len); in eap_psk_process_2() 305 os_memcpy(pos, sm->server_id, sm->server_id_len); in eap_psk_process_2() 307 os_memcpy(pos, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_2() [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 54 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic() 103 os_memcpy(data, addr1, ETH_ALEN); in wpa_pmk_to_ptk() 104 os_memcpy(data + ETH_ALEN, addr2, ETH_ALEN); in wpa_pmk_to_ptk() 106 os_memcpy(data, addr2, ETH_ALEN); in wpa_pmk_to_ptk() 107 os_memcpy(data + ETH_ALEN, addr1, ETH_ALEN); in wpa_pmk_to_ptk() 111 os_memcpy(data + 2 * ETH_ALEN, nonce1, WPA_NONCE_LEN); in wpa_pmk_to_ptk() 112 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce2, in wpa_pmk_to_ptk() 115 os_memcpy(data + 2 * ETH_ALEN, nonce2, WPA_NONCE_LEN); in wpa_pmk_to_ptk() 116 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce1, in wpa_pmk_to_ptk() 154 os_memcpy(pos, sta_addr, ETH_ALEN); in wpa_ft_mic() [all …]
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | peerkey.c | 27 os_memcpy(pos, ie, ie_len); in wpa_add_ie() 38 os_memcpy(pos, data, data_len); in wpa_add_kde() 89 os_memcpy(err->replay_counter, sm->request_counter, in wpa_supplicant_send_smk_error() 149 os_memcpy(reply->replay_counter, key->replay_counter, in wpa_supplicant_send_smk_m3() 152 os_memcpy(reply->key_nonce, peerkey->pnonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3() 238 os_memcpy(peerkey->addr, kde.mac_addr, ETH_ALEN); in wpa_supplicant_process_smk_m2() 239 os_memcpy(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_smk_m2() 240 os_memcpy(peerkey->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); in wpa_supplicant_process_smk_m2() 318 os_memcpy(smkid, hash, PMKID_LEN); in rsn_smkid() 354 os_memcpy(msg->replay_counter, peerkey->replay_counter, in wpa_supplicant_send_stk_1_of_4() [all …]
|
D | wpa_ft.c | 79 os_memcpy(sm->mobility_domain, ft.mdie, in wpa_sm_set_ft_params() 90 os_memcpy(sm->r0kh_id, ft.r0kh_id, ft.r0kh_id_len); in wpa_sm_set_ft_params() 104 os_memcpy(sm->r1kh_id, ft.r1kh_id, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params() 113 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2); in wpa_sm_set_ft_params() 117 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params() 234 os_memcpy(pos, pmk_name, WPA_PMK_NAME_LEN); in wpa_ft_gen_req_ies() 252 os_memcpy(mdie->mobility_domain, sm->mobility_domain, in wpa_ft_gen_req_ies() 263 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 265 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 270 os_memcpy(pos, sm->r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_gen_req_ies() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wnm_ap.c | 98 os_memcpy(mgmt->da, addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp() 99 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp() 100 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp() 133 os_memcpy(pos, &wnmsleep_ie, wnmsleep_ie_len); in ieee802_11_send_wnmsleep_resp() 137 os_memcpy(pos, wnmtfs_ie, wnmtfs_ie_len); in ieee802_11_send_wnmsleep_resp() 267 os_memcpy(mgmt->da, addr, ETH_ALEN); in ieee802_11_send_bss_trans_mgmt_request() 268 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_bss_trans_mgmt_request() 269 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_bss_trans_mgmt_request() 281 os_memcpy(pos, url, url_len); in ieee802_11_send_bss_trans_mgmt_request() 413 os_memcpy(mgmt->da, sta->addr, ETH_ALEN); in wnm_send_disassoc_imminent() [all …]
|
D | ieee802_11_shared.c | 63 os_memcpy(mgmt.da, addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 64 os_memcpy(mgmt.sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 65 os_memcpy(mgmt.bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_req() 68 os_memcpy(mgmt.u.action.u.sa_query_req.trans_id, trans_id, in ieee802_11_send_sa_query_req() 101 os_memcpy(resp.da, sa, ETH_ALEN); in ieee802_11_send_sa_query_resp() 102 os_memcpy(resp.sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_resp() 103 os_memcpy(resp.bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_sa_query_resp() 106 os_memcpy(resp.u.action.u.sa_query_req.trans_id, trans_id, in ieee802_11_send_sa_query_resp() 277 os_memcpy(pos, hapd->conf->qos_map_set, len); in hostapd_eid_qos_map_set() 313 os_memcpy(pos, hapd->conf->hessid, ETH_ALEN); in hostapd_eid_interworking() [all …]
|
D | wpa_auth_ft.c | 84 os_memcpy(pos, conf->mobility_domain, MOBILITY_DOMAIN_ID_LEN); in wpa_write_mdie() 116 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie() 118 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN); in wpa_write_ftie() 123 os_memcpy(pos, conf->r1_key_holder, FT_R1KH_ID_LEN); in wpa_write_ftie() 129 os_memcpy(pos, r0kh_id, r0kh_id_len); in wpa_write_ftie() 134 os_memcpy(pos, subelem, subelem_len); in wpa_write_ftie() 216 os_memcpy(r0->pmk_r0, pmk_r0, PMK_LEN); in wpa_ft_store_pmk_r0() 217 os_memcpy(r0->pmk_r0_name, pmk_r0_name, WPA_PMK_NAME_LEN); in wpa_ft_store_pmk_r0() 218 os_memcpy(r0->spa, spa, ETH_ALEN); in wpa_ft_store_pmk_r0() 240 os_memcpy(pmk_r0, r0->pmk_r0, PMK_LEN); in wpa_ft_fetch_pmk_r0() [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_server.c | 68 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys() 69 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tlsv1_server_derive_keys() 83 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys() 84 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); in tlsv1_server_derive_keys() 100 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tlsv1_server_derive_keys() 103 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tlsv1_server_derive_keys() 107 os_memcpy(conn->rl.read_key, pos, conn->rl.key_material_len); in tlsv1_server_derive_keys() 110 os_memcpy(conn->rl.write_key, pos, conn->rl.key_material_len); in tlsv1_server_derive_keys() 114 os_memcpy(conn->rl.read_iv, pos, conn->rl.iv_size); in tlsv1_server_derive_keys() 117 os_memcpy(conn->rl.write_iv, pos, conn->rl.iv_size); in tlsv1_server_derive_keys() [all …]
|