aboutsummaryrefslogtreecommitdiff
path: root/test/validation/api/ipsec/ipsec.c
diff options
context:
space:
mode:
authorAnoob Joseph <anoobj@marvell.com>2020-11-03 11:43:07 +0000
committerMatias Elo <matias.elo@nokia.com>2020-12-22 10:28:19 +0200
commit0f90f1788f15b7d2c41c23eaf969ac1c23738b6a (patch)
tree4a7c1af4cae4fc5d581c4aa2f346a21b4357bc56 /test/validation/api/ipsec/ipsec.c
parentd043c0e5c953528e85e1e7a18eb27a37236798e6 (diff)
validation: ipsec: move combined mode algos to generic suite
Extend current unit test validating all algo combinations to cover combined mode algos (like AES GCM) and remove individual tests. Signed-off-by: Anoob Joseph <anoobj@marvell.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Diffstat (limited to 'test/validation/api/ipsec/ipsec.c')
-rw-r--r--test/validation/api/ipsec/ipsec.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/test/validation/api/ipsec/ipsec.c b/test/validation/api/ipsec/ipsec.c
index dccce2813..4a62dedb8 100644
--- a/test/validation/api/ipsec/ipsec.c
+++ b/test/validation/api/ipsec/ipsec.c
@@ -1,5 +1,6 @@
/* Copyright (c) 2017-2018, Linaro Limited
* Copyright (c) 2019-2020, Nokia
+ * Copyright (c) 2020, Marvell
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -332,12 +333,6 @@ int ipsec_check_esp_aes_gcm_128(void)
ODP_AUTH_ALG_AES_GCM, 0);
}
-int ipsec_check_esp_aes_gcm_192(void)
-{
- return ipsec_check_esp(ODP_CIPHER_ALG_AES_GCM, 192,
- ODP_AUTH_ALG_AES_GCM, 0);
-}
-
int ipsec_check_esp_aes_gcm_256(void)
{
return ipsec_check_esp(ODP_CIPHER_ALG_AES_GCM, 256,
@@ -380,24 +375,6 @@ int ipsec_check_esp_null_aes_gmac_256(void)
ODP_AUTH_ALG_AES_GMAC, 256);
}
-int ipsec_check_esp_aes_ccm_128(void)
-{
- return ipsec_check_esp(ODP_CIPHER_ALG_AES_CCM, 128,
- ODP_AUTH_ALG_AES_CCM, 0);
-}
-
-int ipsec_check_esp_aes_ccm_192(void)
-{
- return ipsec_check_esp(ODP_CIPHER_ALG_AES_CCM, 192,
- ODP_AUTH_ALG_AES_CCM, 0);
-}
-
-int ipsec_check_esp_aes_ccm_256(void)
-{
- return ipsec_check_esp(ODP_CIPHER_ALG_AES_CCM, 256,
- ODP_AUTH_ALG_AES_CCM, 0);
-}
-
int ipsec_check_esp_chacha20_poly1305(void)
{
return ipsec_check_esp(ODP_CIPHER_ALG_CHACHA20_POLY1305, 256,