Hi Pablo, > -----Original Message----- > From: De Lara Guarch, Pablo <[email protected]> > Sent: Monday, November 7, 2022 10:04 AM > To: Dooley, Brian <[email protected]> > Cc: [email protected]; De Lara Guarch, Pablo <[email protected]>; > Kovacevic, Marko <[email protected]>; [email protected] > Subject: [PATCH v2] examples/fips_validation: fix typo > > Digest length is being printed out, not IV length. > > Fixes: ac026f4668d0 ("examples/fips_validation: support CMAC parsing") > Fixes: f64adb6714e0 ("examples/fips_validation: support HMAC parsing") > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Pablo de Lara <[email protected]> > --- > -v2: added missing "Signed-off" > --- > > examples/fips_validation/main.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/examples/fips_validation/main.c > b/examples/fips_validation/main.c index 404a29d7b6..9a9babb53a 100644 > --- a/examples/fips_validation/main.c > +++ b/examples/fips_validation/main.c > @@ -1210,7 +1210,7 @@ prepare_hmac_xform(struct > rte_crypto_sym_xform *xform) > if (rte_cryptodev_sym_capability_check_auth(cap, > auth_xform->key.length, > auth_xform->digest_length, 0) != 0) { > - RTE_LOG(ERR, USER1, "PMD %s key length %u IV length > %u\n", > + RTE_LOG(ERR, USER1, "PMD %s key length %u Digest length > %u\n", > info.device_name, auth_xform->key.length, > auth_xform->digest_length); > return -EPERM; > @@ -1339,7 +1339,7 @@ prepare_cmac_xform(struct > rte_crypto_sym_xform *xform) > if (rte_cryptodev_sym_capability_check_auth(cap, > auth_xform->key.length, > auth_xform->digest_length, 0) != 0) { > - RTE_LOG(ERR, USER1, "PMD %s key length %u IV length > %u\n", > + RTE_LOG(ERR, USER1, "PMD %s key length %u Digest length > %u\n", > info.device_name, auth_xform->key.length, > auth_xform->digest_length); > return -EPERM; > -- > 2.34.1
Reviewed-by: Brian Dooley <[email protected]>

