Home
last modified time | relevance | path

Searched refs:crypto_params (Results 1 – 4 of 4) sorted by relevance

/src/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_hw_tls_rx.c81 …SERT(MLX5_ST_SZ_BYTES(sw_tls_rx_cntx) <= sizeof(((struct mlx5e_tls_rx_tag *)NULL)->crypto_params));
184 memcpy(wqe + 1, MLX5_ADDR_OF(sw_tls_rx_cntx, ptag->crypto_params, param), in mlx5e_tls_rx_send_static_parameters()
251 memcpy(&wqe->psv, MLX5_ADDR_OF(sw_tls_rx_cntx, ptag->crypto_params, progress), in mlx5e_tls_rx_send_progress_parameters_sync()
326 MLX5_SET64(sw_tls_rx_cntx, ptag->crypto_params, in mlx5e_tls_rx_receive_progress_parameters_cb()
328 MLX5_SET(sw_tls_rx_cntx, ptag->crypto_params, in mlx5e_tls_rx_receive_progress_parameters_cb()
461 memset(ptag->crypto_params, 0, sizeof(ptag->crypto_params)); in mlx5e_tls_rx_tag_zfree()
571 MLX5_SET(sw_tls_rx_cntx, ptag->crypto_params, progress.pd, ptag->tirn); in mlx5e_tls_rx_work()
576 MLX5_ADDR_OF(sw_tls_rx_cntx, ptag->crypto_params, key.key_data), in mlx5e_tls_rx_work()
577 MLX5_GET(sw_tls_rx_cntx, ptag->crypto_params, key.key_len), in mlx5e_tls_rx_work()
584 MLX5_SET(sw_tls_rx_cntx, ptag->crypto_params, param.dek_index, ptag->dek_index); in mlx5e_tls_rx_work()
[all …]
H A Dmlx5_en_hw_tls.c75 CTASSERT(MLX5_ST_SZ_BYTES(sw_tls_cntx) <= sizeof(((struct mlx5e_tls_tag *)0)->crypto_params));
192 memset(ptag->crypto_params, 0, sizeof(ptag->crypto_params)); in mlx5e_tls_tag_zfree()
342 MLX5_SET(sw_tls_cntx, ptag->crypto_params, progress.pd, ptag->tisn); in mlx5e_tls_st_init()
347 MLX5_ADDR_OF(sw_tls_cntx, ptag->crypto_params, key.key_data), in mlx5e_tls_st_init()
348 MLX5_GET(sw_tls_cntx, ptag->crypto_params, key.key_len), in mlx5e_tls_st_init()
355 MLX5_SET(sw_tls_cntx, ptag->crypto_params, param.dek_index, ptag->dek_index); in mlx5e_tls_st_init()
486 error = mlx5e_tls_set_params(ptag->crypto_params, en); in mlx5e_tls_snd_tag_alloc()
503 error = mlx5e_tls_set_params(ptag->crypto_params, en); in mlx5e_tls_snd_tag_alloc()
632 memcpy(wqe + 1, MLX5_ADDR_OF(sw_tls_cntx, ptag->crypto_params, param), in mlx5e_tls_send_static_parameters()
670 memcpy(&wqe->psv, MLX5_ADDR_OF(sw_tls_cntx, ptag->crypto_params, progress), in mlx5e_tls_send_progress_parameters()
[all …]
H A Den_hw_tls.h63 uint8_t crypto_params[128] __aligned(4); member
H A Den_hw_tls_rx.h105 uint8_t crypto_params[128] __aligned(4); member