diff options
author | Janne Peltonen <janne.peltonen@nokia.com> | 2022-10-31 12:29:19 +0200 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2022-11-01 15:40:32 +0200 |
commit | 15b51e4a12588b12c4998dacf5d6563f71087e7b (patch) | |
tree | 2b4f66c9159bdb1deb5dda9e6e788b4ee41d90fe /test | |
parent | a7cec87127241d4c0d16a2025863efb6c110fda8 (diff) |
test: performance: ipsec: authenticate cipher text instead of vice versa
Authenticate the cipher text instead of the plain text since that order
may be more common (it is used e.g. in IPsec) and perhaps more often
supported by ODP implementations.
Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/performance/odp_crypto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/performance/odp_crypto.c b/test/performance/odp_crypto.c index 9e4a06626..71344ae45 100644 --- a/test/performance/odp_crypto.c +++ b/test/performance/odp_crypto.c @@ -611,6 +611,7 @@ create_session_from_config(odp_crypto_session_t *session, odp_crypto_session_param_init(¶ms); memcpy(¶ms, &config->session, sizeof(odp_crypto_session_param_t)); params.op = ODP_CRYPTO_OP_ENCODE; + params.auth_cipher_text = true; /* Lookup the packet pool */ pkt_pool = odp_pool_lookup("packet_pool"); |