/external/wpa_supplicant_8/src/crypto/ |
aes-wrap.c | 36 os_memcpy(r, plain, 8 * n); 52 os_memcpy(b, a, 8); 53 os_memcpy(b + 8, r, 8); 55 os_memcpy(a, b, 8); 57 os_memcpy(r, b + 8, 8);
|
fips_prf_openssl.c | 20 os_memcpy(&context.h0, state, 5 * 4); 22 os_memcpy(state, &context.h0, 5 * 4); 41 os_memcpy(xkey, seed, seed_len); 55 os_memcpy(_t, t, 20); 62 os_memcpy(xpos, _t, 20);
|
crypto_internal-cipher.c | 62 os_memcpy(ctx->u.rc4.key, key, key_len); 76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE); 84 os_memcpy(ctx->u.des3.cbc, iv, 8); 92 os_memcpy(ctx->u.des.cbc, iv, 8); 111 os_memcpy(crypt, plain, len); 125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE); 139 os_memcpy(crypt, ctx->u.des3.cbc, 8); 153 os_memcpy(crypt, ctx->u.des.cbc, 8); 175 os_memcpy(plain, crypt, len); 185 os_memcpy(tmp, crypt, AES_BLOCK_SIZE) [all...] |
aes-unwrap.c | 32 os_memcpy(a, cipher, 8); 34 os_memcpy(r, cipher + 8, 8 * n); 50 os_memcpy(b, a, 8); 53 os_memcpy(b + 8, r, 8); 55 os_memcpy(a, b, 8); 56 os_memcpy(r, b + 8, 8);
|
aes-cbc.c | 34 os_memcpy(cbc, iv, AES_BLOCK_SIZE); 41 os_memcpy(pos, cbc, AES_BLOCK_SIZE); 67 os_memcpy(cbc, iv, AES_BLOCK_SIZE); 71 os_memcpy(tmp, pos, AES_BLOCK_SIZE); 75 os_memcpy(cbc, tmp, AES_BLOCK_SIZE);
|
aes-eax.c | 53 os_memcpy(buf + 16, nonce, nonce_len); 58 os_memcpy(buf + 16, hdr, hdr_len); 65 os_memcpy(buf + 16, data, data_len); 117 os_memcpy(buf + 16, nonce, nonce_len); 124 os_memcpy(buf + 16, hdr, hdr_len); 131 os_memcpy(buf + 16, data, data_len);
|
fips_prf_internal.c | 32 os_memcpy(xkey, seed, seed_len); 46 os_memcpy(_t, t, 20); 53 os_memcpy(xpos, _t, 20);
|
crypto_internal.c | 65 os_memcpy(ctx->key, key, key_len); 68 os_memcpy(k_pad, key, key_len); 84 os_memcpy(ctx->key, key, key_len); 87 os_memcpy(k_pad, key, key_len); 104 os_memcpy(ctx->key, key, key_len); 107 os_memcpy(k_pad, key, key_len); 204 os_memcpy(k_pad, ctx->key, ctx->key_len); 224 os_memcpy(k_pad, ctx->key, ctx->key_len); 245 os_memcpy(k_pad, ctx->key, ctx->key_len);
|
sha1-pbkdf2.c | 43 os_memcpy(digest, tmp, SHA1_MAC_LEN); 49 os_memcpy(tmp, tmp2, SHA1_MAC_LEN); 86 os_memcpy(pos, digest, plen);
|
sha1-tprf.c | 60 os_memcpy(&buf[pos], hash, SHA1_MAC_LEN); 63 os_memcpy(&buf[pos], hash, plen);
|
aes-gcm.c | 71 os_memcpy(v, y, 16); /* V_0 = Y */ 120 os_memcpy(y, tmp, 16); 126 os_memcpy(tmp, xpos, last); 136 os_memcpy(y, tmp, 16); 155 os_memcpy(cb, icb, AES_BLOCK_SIZE); 198 os_memcpy(J0, iv, iv_len); 223 os_memcpy(J0inc, J0, AES_BLOCK_SIZE);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_privsep.c | 142 os_memcpy(&num, pos, sizeof(int)); 164 os_memcpy(&len, pos, sizeof(int)); 172 os_memcpy(r, pos, len); 202 os_memcpy(cmd.addr, addr, ETH_ALEN); 208 os_memcpy(cmd.seq, seq, seq_len); 212 os_memcpy(cmd.key, key, key_len); 241 os_memcpy(data->bssid, params->bssid, ETH_ALEN); 242 os_memcpy(data->ssid, params->ssid, params->ssid_len); 252 os_memcpy(data + 1, params->wpa_ie, params->wpa_ie_len); 286 os_memcpy(&ssid_len, reply, sizeof(int)) [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_gpsk_common.c | 63 os_memcpy(opos, hash, clen); 97 os_memcpy(opos, hash, clen); 146 os_memcpy(pos, psk, psk_len); 152 os_memcpy(pos, seed, seed_len); /* inputString */ 168 os_memcpy(msk, pos, EAP_MSK_LEN); 172 os_memcpy(emsk, pos, EAP_EMSK_LEN); 176 os_memcpy(sk, pos, sk_len); 181 os_memcpy(pk, pos, pk_len); 308 os_memcpy(pos, rand_peer, EAP_GPSK_RAND_LEN); 310 os_memcpy(pos, id_peer, id_peer_len) [all...] |
eap_sake_common.c | 239 os_memcpy(&buf[pos], hash, plen); 294 os_memcpy(msk, key_buf, EAP_MSK_LEN); 295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); 334 os_memcpy(pos, peerid, peerid_len); 339 os_memcpy(pos, serverid, serverid_len); 344 os_memcpy(_rand, rand_s, EAP_SAKE_RAND_LEN); 345 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_p, 349 os_memcpy(pos, serverid, serverid_len); 354 os_memcpy(pos, peerid, peerid_len); 359 os_memcpy(_rand, rand_p, EAP_SAKE_RAND_LEN) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_psk.c | 61 os_memcpy(data->id_p, identity, identity_len); 116 os_memcpy(data->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); 126 os_memcpy(data->id_s, (u8 *) (hdr1 + 1), data->id_s_len); 143 os_memcpy(hdr2->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); 144 os_memcpy(hdr2->rand_p, data->rand_p, EAP_PSK_RAND_LEN); 153 os_memcpy(buf, data->id_p, data->id_p_len); 155 os_memcpy(pos, data->id_s, data->id_s_len); 157 os_memcpy(pos, hdr1->rand_s, EAP_PSK_RAND_LEN); 159 os_memcpy(pos, data->rand_p, EAP_PSK_RAND_LEN); 233 os_memcpy(buf, data->id_s, data->id_s_len) [all...] |
eap_sake.c | 93 os_memcpy(data->peerid, identity, identity_len); 97 os_memcpy(data->root_secret_a, password, EAP_SAKE_ROOT_SECRET_LEN); 98 os_memcpy(data->root_secret_b, 217 os_memcpy(data->rand_s, attr.rand_s, EAP_SAKE_RAND_LEN); 237 os_memcpy(data->serverid, attr.serverid, attr.serverid_len); 448 os_memcpy(key, data->msk, EAP_MSK_LEN); 469 os_memcpy(id + 1, data->rand_s, EAP_SAKE_RAND_LEN); 470 os_memcpy(id + 1 + EAP_SAKE_RAND_LEN, data->rand_s, EAP_SAKE_RAND_LEN); 488 os_memcpy(key, data->emsk, EAP_EMSK_LEN);
|
/external/wpa_supplicant_8/src/ap/ |
ctrl_iface_ap.c | 153 os_memcpy(mgmt->da, addr, ETH_ALEN); 154 os_memcpy(mgmt->sa, hapd->own_addr, ETH_ALEN); 155 os_memcpy(mgmt->bssid, hapd->own_addr, ETH_ALEN); 211 os_memcpy(mgmt.da, addr, ETH_ALEN); 212 os_memcpy(mgmt.sa, hapd->own_addr, ETH_ALEN); 213 os_memcpy(mgmt.bssid, hapd->own_addr, ETH_ALEN); 272 os_memcpy(mgmt.da, addr, ETH_ALEN); 273 os_memcpy(mgmt.sa, hapd->own_addr, ETH_ALEN); 274 os_memcpy(mgmt.bssid, hapd->own_addr, ETH_ALEN);
|
ieee802_11_vht.c | 41 os_memcpy(&cap->vht_supported_mcs_set, 106 os_memcpy(sta->vht_capabilities, vht_capab, 118 os_memcpy(neg_vht_cap, vht_cap, sizeof(*neg_vht_cap));
|
wpa_auth_ft.c | 77 os_memcpy(pos, conf->mobility_domain, MOBILITY_DOMAIN_ID_LEN); 109 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); 111 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN); 116 os_memcpy(pos, conf->r1_key_holder, FT_R1KH_ID_LEN); 122 os_memcpy(pos, r0kh_id, r0kh_id_len); 127 os_memcpy(pos, subelem, subelem_len); 209 os_memcpy(r0->pmk_r0, pmk_r0, PMK_LEN); 210 os_memcpy(r0->pmk_r0_name, pmk_r0_name, WPA_PMK_NAME_LEN); 211 os_memcpy(r0->spa, spa, ETH_ALEN); 233 os_memcpy(pmk_r0, r0->pmk_r0, PMK_LEN) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wnm_sta.c | 82 os_memcpy(wnmtfs_ie, wpabuf_head(tfs_req), wnmtfs_ie_len); 108 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); 109 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); 110 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); 116 os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable, wnmsleep_ie, 120 os_memcpy(mgmt->u.action.u.wnm_sleep_req.variable + 311 os_memcpy(mgmt->da, wpa_s->bssid, ETH_ALEN); 312 os_memcpy(mgmt->sa, wpa_s->own_addr, ETH_ALEN); 313 os_memcpy(mgmt->bssid, wpa_s->bssid, ETH_ALEN); 323 os_memcpy(pos, target_bssid, ETH_ALEN) [all...] |
wpa_priv.c | 73 os_memcpy(&iface->drv_addr, from, sizeof(iface->drv_addr)); 133 os_memcpy(pos, &val, sizeof(int)); 141 os_memcpy(pos, &val, sizeof(int)); 143 os_memcpy(pos, r, val); 257 os_memcpy(ssid, &res, sizeof(int)); 370 os_memcpy(&iface->l2_addr, from, sizeof(iface->l2_addr)); 430 os_memcpy(&proto, buf + ETH_ALEN, 2); 477 os_memcpy(&cmd, buf, sizeof(int)); 581 os_memcpy(iface->driver_name, params, len); 722 os_memcpy(pos, &len, sizeof(int)) [all...] |
/external/wpa_supplicant_8/src/common/ |
wpa_common.c | 53 os_memcpy(mic, hash, MD5_MAC_LEN); 97 os_memcpy(data, addr1, ETH_ALEN); 98 os_memcpy(data + ETH_ALEN, addr2, ETH_ALEN); 100 os_memcpy(data, addr2, ETH_ALEN); 101 os_memcpy(data + ETH_ALEN, addr1, ETH_ALEN); 105 os_memcpy(data + 2 * ETH_ALEN, nonce1, WPA_NONCE_LEN); 106 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce2, 109 os_memcpy(data + 2 * ETH_ALEN, nonce2, WPA_NONCE_LEN); 110 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce1, 148 os_memcpy(pos, sta_addr, ETH_ALEN) [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
peerkey.c | 27 os_memcpy(pos, ie, ie_len); 38 os_memcpy(pos, data, data_len); 89 os_memcpy(err->replay_counter, sm->request_counter, 149 os_memcpy(reply->replay_counter, key->replay_counter, 152 os_memcpy(reply->key_nonce, peerkey->pnonce, WPA_NONCE_LEN); 238 os_memcpy(peerkey->addr, kde.mac_addr, ETH_ALEN); 239 os_memcpy(peerkey->inonce, key->key_nonce, WPA_NONCE_LEN); 240 os_memcpy(peerkey->rsnie_i, kde.rsn_ie, kde.rsn_ie_len); 318 os_memcpy(smkid, hash, PMKID_LEN); 354 os_memcpy(msg->replay_counter, peerkey->replay_counter [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_psk.c | 84 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); 112 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); 120 os_memcpy(buf, data->id_s, data->id_s_len); 121 os_memcpy(buf + data->id_s_len, data->rand_p, EAP_PSK_RAND_LEN); 137 os_memcpy(pchannel, nonce + 12, 4); 247 os_memcpy(data->id_p, cpos, left); 296 os_memcpy(data->rand_p, resp->rand_p, EAP_PSK_RAND_LEN); 305 os_memcpy(buf, data->id_p, data->id_p_len); 307 os_memcpy(pos, data->id_s, data->id_s_len); 309 os_memcpy(pos, data->rand_s, EAP_PSK_RAND_LEN) [all...] |
/external/wpa_supplicant_8/src/tls/ |
tlsv1_server.c | 43 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN); 44 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random, 58 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN); 59 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN); 75 os_memcpy(conn->rl.read_mac_secret, pos, conn->rl.hash_size); 78 os_memcpy(conn->rl.write_mac_secret, pos, conn->rl.hash_size); 82 os_memcpy(conn->rl.read_key, pos, conn->rl.key_material_len); 85 os_memcpy(conn->rl.write_key, pos, conn->rl.key_material_len); 89 os_memcpy(conn->rl.read_iv, pos, conn->rl.iv_size); 92 os_memcpy(conn->rl.write_iv, pos, conn->rl.iv_size) [all...] |