]> git.droids-corp.org - dpdk.git/commit
cryptodev: reorganize asymmetric structs
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Fri, 11 Feb 2022 16:02:38 +0000 (16:02 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Sat, 12 Feb 2022 10:20:21 +0000 (11:20 +0100)
commit518a974bfecc64a82886382f5db879db4a74231a
treeb623f608ccbe479ffe5dd84704fa544b95351f8e
parent3ec4cbfdbef1c02939723413665fd001ded11f28
cryptodev: reorganize asymmetric structs

This patch adds crypto uint typedef so adding comment
about byte-order becomes unnecessary.

It makes API comments more tidy, and consistent
with other asymmetric crypto APIs.

Additionally it reorganizes code that enums, externs
and forward declarations are moved to the top of the
header file making code more readable.

It removes also comments like co-prime constraint
from mod inv as it is natural mathematical constraint,
not PMD constraint.

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
lib/cryptodev/rte_crypto_asym.h