crypto/mlx5: add support for plaintext import method
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | common/mlx5: extend crypto capabilitiesdrivers/ drivers/ drivers/ | +41 | 1 reply | |
| 2/2 | crypto/mlx5: support plaintext keysdoc/ drivers/ drivers/ +1 more | +76 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] crypto/mlx5: add support for plaintext import method
Using crypto devs requires the user to log in and the supplied DEK to be encrypted with a KEK (keys encryption key).
KEK is burned once on the nic, along with credentials for users, and for a user to log in, he is needed to supply his creds wrapped with the KEK.
A device comes out of the Mellanox factory with a pre-defined import method for each algorithm. The defined method could be wrapped mode, so the device can be used as described above, or plaintext mode, without the need to log in and wrap supplied DEKs.
Raja Zidane (2):
common/mlx5: extend crypto capabilities
crypto/mlx5: support plaintext keys
doc/guides/cryptodevs/mlx5.rst | 17 ++++++++-- drivers/common/mlx5/mlx5_devx_cmds.c | 13 ++++++-- drivers/common/mlx5/mlx5_devx_cmds.h | 1 + drivers/common/mlx5/mlx5_prm.h | 29 +++++++++++++++++ drivers/crypto/mlx5/mlx5_crypto.c | 43 +++++++++++++++--------- drivers/crypto/mlx5/mlx5_crypto.h | 3 +- drivers/crypto/mlx5/mlx5_crypto_dek.c | 47 +++++++++++++++++++-------- 7 files changed, 117 insertions(+), 36 deletions(-)
--
dependant on https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
2.21.0