Skip to content

Commit

Permalink
api: crypto: deprecate crypto op type 'legacy'
Browse files Browse the repository at this point in the history
Deprecate ODP_CRYPTO_OP_TYPE_LEGACY as it is now quite redundant,
is not much used and has some unnecessary complexity.

Signed-off-by: Janne Peltonen <[email protected]>
Reviewed-by: Matias Elo <[email protected]>
Reviewed-by: Petri Savolainen <[email protected]>
Acked-by: Anoob Joseph <[email protected]>
  • Loading branch information
JannePeltonen authored and MatiasElo committed Dec 20, 2024
1 parent 827b012 commit 4c3aa24
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/odp/api/spec/crypto_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#define ODP_API_SPEC_CRYPTO_TYPES_H_
#include <odp/visibility_begin.h>

#include <odp/api/deprecated.h>
#include <odp/api/packet_types.h>
#include <odp/api/pool_types.h>
#include <odp/api/std_types.h>
Expand Down Expand Up @@ -696,9 +697,11 @@ typedef enum odp_crypto_op_type_t {
* and then processed. Output packet is allocated by the caller
* or by ODP.
*
* This op type will be deprecated in the future.
* @deprecated Use another crypto op type instead.
*/
#if ODP_DEPRECATED_API
ODP_CRYPTO_OP_TYPE_LEGACY,
#endif

/**
* Input packet data and metadata are copied to the output packet
Expand Down

0 comments on commit 4c3aa24

Please sign in to comment.