Home
last modified time | relevance | path

Searched refs:os_memcpy (Results 1 – 25 of 245) sorted by relevance

12345678910

/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal-cipher.c62 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 …]
Daes-unwrap.c35 os_memcpy(a, cipher, 8); in aes_unwrap()
37 os_memcpy(r, cipher + 8, 8 * n); in aes_unwrap()
53 os_memcpy(b, a, 8); in aes_unwrap()
60 os_memcpy(b + 8, r, 8); in aes_unwrap()
62 os_memcpy(a, b, 8); in aes_unwrap()
63 os_memcpy(r, b + 8, 8); in aes_unwrap()
Daes-wrap.c38 os_memcpy(r, plain, 8 * n); in aes_wrap()
54 os_memcpy(b, a, 8); in aes_wrap()
55 os_memcpy(b + 8, r, 8); in aes_wrap()
57 os_memcpy(a, b, 8); in aes_wrap()
63 os_memcpy(r, b + 8, 8); in aes_wrap()
Daes-cbc.c34 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()
Dmilenage.c49 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()
Daes-eax.c53 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()
Dcrypto_internal.c65 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()
Daes-siv.c57 os_memcpy(pad, addr, len); in pad_block()
73 os_memcpy(tmp, zero, sizeof(zero)); in aes_s2v()
95 os_memcpy(buf, addr[i], len[i]); in aes_s2v()
137 os_memcpy(iv, v, AES_BLOCK_SIZE); in aes_siv_encrypt()
138 os_memcpy(crypt_pw, pw, pwlen); in aes_siv_encrypt()
171 os_memcpy(iv, iv_crypt, AES_BLOCK_SIZE); in aes_siv_decrypt()
172 os_memcpy(out, iv_crypt + AES_BLOCK_SIZE, crypt_len); in aes_siv_decrypt()
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c264 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 …]
Deap_gpsk_common.c63 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 …]
Deap_sake_common.c239 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 …]
Deap_sim_common.c86 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/
Dieee802_1x_key.c24 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/ap/
Dwnm_ap.c99 os_memcpy(mgmt->da, addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp()
100 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp()
101 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_wnmsleep_resp()
134 os_memcpy(pos, &wnmsleep_ie, wnmsleep_ie_len); in ieee802_11_send_wnmsleep_resp()
138 os_memcpy(pos, wnmtfs_ie, wnmtfs_ie_len); in ieee802_11_send_wnmsleep_resp()
268 os_memcpy(mgmt->da, addr, ETH_ALEN); in ieee802_11_send_bss_trans_mgmt_request()
269 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); in ieee802_11_send_bss_trans_mgmt_request()
270 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); in ieee802_11_send_bss_trans_mgmt_request()
282 os_memcpy(pos, url, url_len); in ieee802_11_send_bss_trans_mgmt_request()
423 os_memcpy(mgmt->da, sta->addr, ETH_ALEN); in wnm_send_disassoc_imminent()
[all …]
Dieee802_11_shared.c63 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()
279 os_memcpy(pos, hapd->conf->qos_map_set, len); in hostapd_eid_qos_map_set()
315 os_memcpy(pos, hapd->conf->hessid, ETH_ALEN); in hostapd_eid_interworking()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_psk.c61 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/src/common/
Dwpa_common.c80 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
96 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
103 os_memcpy(mic, hash, 24); in wpa_eapol_key_mic()
151 os_memcpy(data, addr1, ETH_ALEN); in wpa_pmk_to_ptk()
152 os_memcpy(data + ETH_ALEN, addr2, ETH_ALEN); in wpa_pmk_to_ptk()
154 os_memcpy(data, addr2, ETH_ALEN); in wpa_pmk_to_ptk()
155 os_memcpy(data + ETH_ALEN, addr1, ETH_ALEN); in wpa_pmk_to_ptk()
159 os_memcpy(data + 2 * ETH_ALEN, nonce1, WPA_NONCE_LEN); in wpa_pmk_to_ptk()
160 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce2, in wpa_pmk_to_ptk()
163 os_memcpy(data + 2 * ETH_ALEN, nonce2, WPA_NONCE_LEN); in wpa_pmk_to_ptk()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_psk.c82 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/drivers/
Ddriver_privsep.c144 os_memcpy(&num, pos, sizeof(int)); in wpa_driver_privsep_get_scan_results2()
166 os_memcpy(&len, pos, sizeof(int)); in wpa_driver_privsep_get_scan_results2()
174 os_memcpy(r, pos, len); in wpa_driver_privsep_get_scan_results2()
204 os_memcpy(cmd.addr, addr, ETH_ALEN); in wpa_driver_privsep_set_key()
210 os_memcpy(cmd.seq, seq, seq_len); in wpa_driver_privsep_set_key()
214 os_memcpy(cmd.key, key, key_len); in wpa_driver_privsep_set_key()
243 os_memcpy(data->bssid, params->bssid, ETH_ALEN); in wpa_driver_privsep_associate()
244 os_memcpy(data->ssid, params->ssid, params->ssid_len); in wpa_driver_privsep_associate()
256 os_memcpy(data + 1, params->wpa_ie, params->wpa_ie_len); in wpa_driver_privsep_associate()
290 os_memcpy(&ssid_len, reply, sizeof(int)); in wpa_driver_privsep_get_ssid()
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.c27 os_memcpy(pos, ie, ie_len); in wpa_add_ie()
38 os_memcpy(pos, data, data_len); in wpa_add_kde()
91 os_memcpy(err->replay_counter, sm->request_counter, in wpa_supplicant_send_smk_error()
153 os_memcpy(reply->replay_counter, key->replay_counter, in wpa_supplicant_send_smk_m3()
156 os_memcpy(reply->key_nonce, peerkey->pnonce, WPA_NONCE_LEN); in wpa_supplicant_send_smk_m3()
242 os_memcpy(peerkey->addr, kde.mac_addr, ETH_ALEN); in wpa_supplicant_process_smk_m2()
243 os_memcpy(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_smk_m2()
244 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 …]
Dwpa_ft.c74 os_memcpy(sm->mobility_domain, ft.mdie, in wpa_sm_set_ft_params()
85 os_memcpy(sm->r0kh_id, ft.r0kh_id, ft.r0kh_id_len); in wpa_sm_set_ft_params()
99 os_memcpy(sm->r1kh_id, ft.r1kh_id, FT_R1KH_ID_LEN); in wpa_sm_set_ft_params()
108 os_memcpy(pos, ft.mdie - 2, ft.mdie_len + 2); in wpa_sm_set_ft_params()
112 os_memcpy(pos, ft.ftie - 2, ft.ftie_len + 2); in wpa_sm_set_ft_params()
231 os_memcpy(pos, pmk_name, WPA_PMK_NAME_LEN); in wpa_ft_gen_req_ies()
249 os_memcpy(mdie->mobility_domain, sm->mobility_domain, in wpa_ft_gen_req_ies()
260 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
262 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
267 os_memcpy(pos, sm->r1kh_id, FT_R1KH_ID_LEN); in wpa_ft_gen_req_ies()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_priv.c73 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()
259 os_memcpy(ssid, &res, sizeof(int)); in wpa_priv_cmd_get_ssid()
372 os_memcpy(&iface->l2_addr, from, sizeof(iface->l2_addr)); in wpa_priv_cmd_l2_register()
432 os_memcpy(&proto, buf + ETH_ALEN, 2); in wpa_priv_cmd_l2_send()
479 os_memcpy(&cmd, buf, sizeof(int)); in wpa_priv_receive()
722 os_memcpy(pos, &len, sizeof(int)); in wpa_priv_send_assoc()
724 os_memcpy(pos, data->assoc_info.req_ies, len); in wpa_priv_send_assoc()
[all …]
Dmesh_rsn.c351 os_memcpy(context + 4, addr1, ETH_ALEN); in mesh_rsn_derive_aek()
352 os_memcpy(context + 10, addr2, ETH_ALEN); in mesh_rsn_derive_aek()
380 os_memcpy(ptr, min, nonce_len); in mesh_rsn_derive_mtk()
381 os_memcpy(ptr + nonce_len, max, nonce_len); in mesh_rsn_derive_mtk()
391 os_memcpy(ptr, &min_lid, lid_len); in mesh_rsn_derive_mtk()
392 os_memcpy(ptr + lid_len, &max_lid, lid_len); in mesh_rsn_derive_mtk()
406 os_memcpy(ptr, min, ETH_ALEN); in mesh_rsn_derive_mtk()
407 os_memcpy(ptr + ETH_ALEN, max, ETH_ALEN); in mesh_rsn_derive_mtk()
468 os_memcpy(ampe->local_nonce, sta->my_nonce, 32); in mesh_rsn_protect_frame()
469 os_memcpy(ampe->peer_nonce, sta->peer_nonce, 32); in mesh_rsn_protect_frame()
[all …]
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server.c68 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 …]
Dtlsv1_client.c61 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); in tls_derive_keys()
62 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, in tls_derive_keys()
76 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); in tls_derive_keys()
77 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); in tls_derive_keys()
94 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys()
97 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); in tls_derive_keys()
101 os_memcpy(conn->rl.write_key, pos, conn->rl.key_material_len); in tls_derive_keys()
104 os_memcpy(conn->rl.read_key, pos, conn->rl.key_material_len); in tls_derive_keys()
109 os_memcpy(conn->rl.write_iv, pos, conn->rl.iv_size); in tls_derive_keys()
112 os_memcpy(conn->rl.read_iv, pos, conn->rl.iv_size); in tls_derive_keys()
[all …]

12345678910