Shiri Kuzin 1004be3c03 crypto/mlx5: support session operations
Sessions are used in symmetric transformations in order to prepare
objects and data for packet processing stage.

A mlx5 session includes iv_offset, pointer to mlx5_crypto_dek struct,
bsf_size, bsf_p_type, block size index, encryption_order and encryption
standard.

Implement the next session operations:
        mlx5_crypto_sym_session_get_size- returns the size of the mlx5
	session struct.
	mlx5_crypto_sym_session_configure- prepares the DEK hash-list
	and saves all the session data.
	mlx5_crypto_sym_session_clear - destroys the DEK hash-list.

Signed-off-by: Shiri Kuzin <shirik@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2021-07-20 22:26:43 +02:00
..
2017-01-30 17:46:36 +01:00
2020-11-02 09:24:41 +01:00
2021-04-22 00:06:47 +02:00
2020-11-03 16:23:03 +01:00
2020-11-03 16:23:03 +01:00
2020-11-03 16:23:03 +01:00
2021-07-20 10:32:05 +02:00
2020-11-03 16:23:03 +01:00
2021-04-22 00:06:47 +02:00