Lines Matching full:memcpy
44 memcpy(cctx->iv, crypto_info->salt, TLS_CIPHER_AES_GCM_128_SALT_SIZE); in tls_crypto_set_key()
45 memcpy(cctx->iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, crypto_info->iv, in tls_crypto_set_key()
47 memcpy(cctx->rec_seq, crypto_info->rec_seq, in tls_crypto_set_key()
74 memcpy(tcp->connect->send_crypto_info.key, tcp->connect->send_key, in tls_crypto_info_init()
76 memcpy(tcp->connect->send_crypto_info.iv, in tls_crypto_info_init()
78 memcpy(tcp->connect->send_crypto_info.salt, in tls_crypto_info_init()
81 memcpy(tcp->connect->send_crypto_info.rec_seq, in tls_crypto_info_init()
97 memcpy(tcp->connect->recv_crypto_info.key, tcp->connect->recv_key, in tls_crypto_info_init()
99 memcpy(tcp->connect->recv_crypto_info.iv, in tls_crypto_info_init()
101 memcpy(tcp->connect->recv_crypto_info.salt, in tls_crypto_info_init()
104 memcpy(tcp->connect->recv_crypto_info.rec_seq, in tls_crypto_info_init()
126 memcpy(tcp->connect->send_key, new_key, HMDFS_KEY_SIZE); in tls_set_tx()
131 memcpy(tcp->connect->send_crypto_info.key, tcp->connect->send_key, in tls_set_tx()
133 memcpy(tcp->connect->send_crypto_info.iv, in tls_set_tx()
135 memcpy(tcp->connect->send_crypto_info.salt, in tls_set_tx()
138 memcpy(tcp->connect->send_crypto_info.rec_seq, in tls_set_tx()
157 memcpy(tcp->connect->recv_key, new_key, HMDFS_KEY_SIZE); in tls_set_rx()
162 memcpy(tcp->connect->recv_crypto_info.key, tcp->connect->recv_key, in tls_set_rx()
164 memcpy(tcp->connect->recv_crypto_info.iv, in tls_set_rx()
166 memcpy(tcp->connect->recv_crypto_info.salt, in tls_set_rx()
169 memcpy(tcp->connect->recv_crypto_info.rec_seq, in tls_set_rx()
256 memcpy(lable + sizeof(u16), g_key_lable[type], g_key_lable_len[type]); in update_key()