net/mlx5: Refactor the encryption key creation
authorJianbo Liu <jianbol@nvidia.com>
Thu, 28 Jul 2022 03:59:29 +0000 (03:59 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 31 Jan 2023 03:10:05 +0000 (19:10 -0800)
commit942192541675b80222e98b4eb410695c5ab619a3
tree487c7332587d12088717682d8d5916a54ce57605
parent55f0d6d200612ea01f20acabafe4c5c31c728250
net/mlx5: Refactor the encryption key creation

Move the common code to general functions which can be used by fast
update encryption key in later patches.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c