net/mlx5: crypto, Fix wrong offset in encryption key command
authorTariq Toukan <tariqt@mellanox.com>
Sun, 21 Jul 2019 11:13:15 +0000 (14:13 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 8 Aug 2019 20:01:19 +0000 (13:01 -0700)
commit55c9bd37ef5a0bd79c80c8eb418ce162bbc65590
treeed13a64ffb94b02b10eddaf15ff0ec6ee84dd1db
parent5faf5b70c51dd9c9905bf8209e33cbd867486607
net/mlx5: crypto, Fix wrong offset in encryption key command

Fix the 128b key offset in key encryption key creation command,
per the HW specification.

Fixes: 45d3b55dc665 ("net/mlx5: Add crypto library to support create/destroy encryption key")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c