Skip to content

Commit e17a4a8

Browse files
author
Akhil Goyal
committed
cryptodev: remove unnecessary list ends
RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END and RTE_CRYPTO_RSA_PADDING_TYPE_LIST_END are not used anywhere and mostly it do not fulfil any objective. Rather it does not allow addition of new algorithms and new padding type as it result in ABI breakage. Hence, these are removed. Signed-off-by: Akhil Goyal <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
1 parent 8fdfedb commit e17a4a8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/guides/rel_notes/release_24_11.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ ABI Changes
194194
* cryptodev: The queue pair configuration structure ``rte_cryptodev_qp_conf``
195195
is updated to have a new parameter to set priority of that particular queue pair.
196196

197+
* cryptodev: The list end enumerators ``RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END``
198+
and ``RTE_CRYPTO_RSA_PADDING_TYPE_LIST_END`` are removed
199+
to allow subsequent addition of new asymmetric algorithms and RSA padding types.
200+
197201
* cryptodev: The enum ``rte_crypto_asym_xform_type`` and struct ``rte_crypto_asym_op``
198202
are updated to include new values to support EdDSA.
199203

lib/cryptodev/rte_crypto_asym.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ enum rte_crypto_asym_xform_type {
136136
/**< Edwards Curve Digital Signature Algorithm
137137
* Perform Signature Generation and Verification.
138138
*/
139-
RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END
140-
/**< End of list */
141139
};
142140

143141
/**
@@ -185,7 +183,6 @@ enum rte_crypto_rsa_padding_type {
185183
/**< RSA PKCS#1 OAEP padding scheme */
186184
RTE_CRYPTO_RSA_PADDING_PSS,
187185
/**< RSA PKCS#1 PSS padding scheme */
188-
RTE_CRYPTO_RSA_PADDING_TYPE_LIST_END
189186
};
190187

191188
/**

0 commit comments

Comments
 (0)