[EXT] [PATCH v2 06/14] cryptodev: move dh type from xform to dh op
Akhil Goyal
gakhil at marvell.com
Thu May 26 13:23:41 CEST 2022
> - Moved dh operation type to dh operation struct.
> Operation type (PUBLIC_KEY_GENERATION, SHARED_SECRET) should
> be free to choose for any operation. One xform/session should
> be enough to perform both DH operations, if op_type would be xform
> member, session would have to be to be created twice for the same
> group. Similar problem would be observed in sessionless case.
> Additionally, it will help extend DH to support Elliptic Curves.
> - Changed order of Diffie-Hellman operation phases.
> Now it corresponds with the order of operations.
>
> Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>
More information about the dev
mailing list