Lines Matching refs:memcpy
106 memcpy(crypto_info->rec_seq, rl_sequence, sizeof(crypto_info->rec_seq)); in ktls_configure_crypto()
186 memcpy(crypto_info->gcm128.iv, iiv + EVP_GCM_TLS_FIXED_IV_LEN, in ktls_configure_crypto()
188 memcpy(crypto_info->gcm128.salt, iiv, TLS_CIPHER_AES_GCM_128_SALT_SIZE); in ktls_configure_crypto()
189 memcpy(crypto_info->gcm128.key, key, EVP_CIPHER_get_key_length(c)); in ktls_configure_crypto()
190 memcpy(crypto_info->gcm128.rec_seq, rl_sequence, in ktls_configure_crypto()
201 memcpy(crypto_info->gcm256.iv, iiv + EVP_GCM_TLS_FIXED_IV_LEN, in ktls_configure_crypto()
203 memcpy(crypto_info->gcm256.salt, iiv, TLS_CIPHER_AES_GCM_256_SALT_SIZE); in ktls_configure_crypto()
204 memcpy(crypto_info->gcm256.key, key, EVP_CIPHER_get_key_length(c)); in ktls_configure_crypto()
205 memcpy(crypto_info->gcm256.rec_seq, rl_sequence, in ktls_configure_crypto()
216 memcpy(crypto_info->ccm128.iv, iiv + EVP_CCM_TLS_FIXED_IV_LEN, in ktls_configure_crypto()
218 memcpy(crypto_info->ccm128.salt, iiv, TLS_CIPHER_AES_CCM_128_SALT_SIZE); in ktls_configure_crypto()
219 memcpy(crypto_info->ccm128.key, key, EVP_CIPHER_get_key_length(c)); in ktls_configure_crypto()
220 memcpy(crypto_info->ccm128.rec_seq, rl_sequence, in ktls_configure_crypto()
231 memcpy(crypto_info->chacha20poly1305.iv, iiv, in ktls_configure_crypto()
233 memcpy(crypto_info->chacha20poly1305.key, key, in ktls_configure_crypto()
235 memcpy(crypto_info->chacha20poly1305.rec_seq, rl_sequence, in ktls_configure_crypto()