]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add crypto library to support create/destroy encryption key
authorTariq Toukan <tariqt@mellanox.com>
Fri, 5 Jul 2019 15:30:13 +0000 (18:30 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jul 2019 23:29:19 +0000 (16:29 -0700)
commit4b9b8e8ac502c3448a05e1bd0df8701628e6c3da
tree414fa339ff17cdab57ffbc3c45d1582452fb6b60
parentaf42c340632d3b70ea3fedd91ece7cd3cdbae98b
net/mlx5: Add crypto library to support create/destroy encryption key

Encryption key create / destroy is done via
CREATE_GENERAL_OBJECT / DESTROY_GENERAL_OBJECT commands.

To be used in downstream patches by TLS API wrappers, to configure
the TIS context with the encryption key.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/lib/crypto.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h