aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/arch/aarch64
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2022-02-03 13:07:45 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2022-03-02 16:13:27 +0200
commit2aa61a7aa6d588a7e9c75f5017b98f08f5558b35 (patch)
tree7aab1ccfa0c1b969faf62aae4cb95b3ae8b32102 /platform/linux-generic/arch/aarch64
parent3f1790fa53943851819b786cb1c7b2b155fbf35b (diff)
api: crypto: remove deprecated crypto cipher algorithms
Remove deprecated crypto cipher algorithms ODP_CIPHER_ALG_AES128_CBC and ODP_CIPHER_ALG_AES128_GCM. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/arch/aarch64')
-rw-r--r--platform/linux-generic/arch/aarch64/odp_crypto_armv8.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform/linux-generic/arch/aarch64/odp_crypto_armv8.c b/platform/linux-generic/arch/aarch64/odp_crypto_armv8.c
index a9c5885eb..ff4776763 100644
--- a/platform/linux-generic/arch/aarch64/odp_crypto_armv8.c
+++ b/platform/linux-generic/arch/aarch64/odp_crypto_armv8.c
@@ -540,14 +540,6 @@ odp_crypto_session_create(const odp_crypto_session_param_t *param,
session->cipher.func = null_crypto_routine;
rc = 0;
break;
-#if ODP_DEPRECATED_API
- case ODP_CIPHER_ALG_AES128_GCM:
- /* AES-GCM requires to do both auth and
- * cipher at the same time */
- if (param->auth_alg != ODP_AUTH_ALG_AES128_GCM)
- rc = -1;
-#endif
- /* Fall through */
case ODP_CIPHER_ALG_AES_GCM:
{
/* Set cipher mode for AES-GCM */