diff options
author | Vidya Sagar Velumuri <vvelumuri@marvell.com> | 2021-05-25 09:24:27 +0000 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2021-05-27 10:05:51 +0300 |
commit | 52a9d393b37ddadb55bf1e7993402fcc578a416e (patch) | |
tree | abde7366d917d62aa680e649272b3e435943952f /test/validation/api | |
parent | 0624b3948b3591b412e0ac8c340582f8a8d3dc11 (diff) |
validation: ipsec: fix check function for ah tests
For some AH tests, esp check function is used which does not check the
AH capability. Use the ah check function which checks for AH capability.
Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Diffstat (limited to 'test/validation/api')
-rw-r--r-- | test/validation/api/ipsec/ipsec.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/validation/api/ipsec/ipsec.c b/test/validation/api/ipsec/ipsec.c index e2f0e8c07..119afd508 100644 --- a/test/validation/api/ipsec/ipsec.c +++ b/test/validation/api/ipsec/ipsec.c @@ -217,20 +217,17 @@ int ipsec_check_esp_aes_gcm_256(void) int ipsec_check_ah_aes_gmac_128(void) { - return ipsec_check_esp(ODP_CIPHER_ALG_NULL, 0, - ODP_AUTH_ALG_AES_GMAC, 128); + return ipsec_check_ah(ODP_AUTH_ALG_AES_GMAC, 128); } int ipsec_check_ah_aes_gmac_192(void) { - return ipsec_check_esp(ODP_CIPHER_ALG_NULL, 0, - ODP_AUTH_ALG_AES_GMAC, 192); + return ipsec_check_ah(ODP_AUTH_ALG_AES_GMAC, 192); } int ipsec_check_ah_aes_gmac_256(void) { - return ipsec_check_esp(ODP_CIPHER_ALG_NULL, 0, - ODP_AUTH_ALG_AES_GMAC, 256); + return ipsec_check_ah(ODP_AUTH_ALG_AES_GMAC, 256); } int ipsec_check_esp_null_aes_gmac_128(void) |