From a781cc2773b10264d82eecba65150fd01fb1ace9 Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Wed, 12 Jul 2017 16:44:20 +0300 Subject: api: crypto: revert deprecation of crypto completion API It was decided that it would be benefitable to live with both API types at this point, as odp_crypto_compl_t was available for some time. So undeprecate odp_crypto_compl_t and related functionality. Validation tests also provide necessary tests for pref_mode and for completion event. Signed-off-by: Dmitry Eremin-Solenikov Reviewed-by: Petri Savolainen Signed-off-by: Maxim Uvarov --- platform/linux-generic/odp_crypto.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'platform/linux-generic/odp_crypto.c') diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index de73ee9d6..88114a3dc 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -878,9 +878,7 @@ odp_crypto_operation(odp_crypto_op_param_t *param, ODP_EVENT_PACKET_BASIC); /* Fill in result */ -#if ODP_DEPRECATED_API local_result.ctx = param->ctx; -#endif local_result.pkt = out_pkt; local_result.cipher_status = packet_result.cipher_status; local_result.auth_status = packet_result.auth_status; @@ -1017,7 +1015,6 @@ int32_t odp_random_test_data(uint8_t *buf, uint32_t len, uint64_t *seed) return len; } -#if ODP_DEPRECATED_API odp_crypto_compl_t odp_crypto_compl_from_event(odp_event_t ev) { /* This check not mandated by the API specification */ @@ -1054,7 +1051,6 @@ uint64_t odp_crypto_compl_to_u64(odp_crypto_compl_t hdl) { return _odp_pri(hdl); } -#endif void odp_crypto_session_param_init(odp_crypto_session_param_t *param) { -- cgit v1.2.3