[PATCH v1 0/2] app/fips_validation: fix RSA sigVer and log skip reason

Pratik Senapati psenapati at marvell.com
Thu Nov 26 11:47:23 CET 2026


This series fixes two issues in the FIPS validation app:

Patch 1 fixes a bug where RSA sigVer operations fail because key_type
defaults to RTE_RSA_KEY_TYPE_QT (CRT), but sigVer vectors only carry
the public key (n, e) and no CRT components, causing the driver to
return -EINVAL at session creation. The fix defaults to EXP and
selects QT only where the private key is actually needed.

Patch 2 fixes silent failures: when OpenSSL is not built in, the
prepare_vec stubs for RSA, ECDSA, and EdDSA silently return -ENOTSUP
with no log output. A WARNING log is added to each stub so the reason
for skipped sigGen/keyGen groups is immediately visible.

Pratik Senapati (2):
  app/fips_validation: fix RSA key type selection
  app/fips_validation: log skip reason

 app/fips_validation/fips_validation_ecdsa.c | 10 ++++------
 app/fips_validation/fips_validation_eddsa.c |  5 ++---
 app/fips_validation/fips_validation_rsa.c   | 19 +++++++++++++------
 3 files changed, 19 insertions(+), 15 deletions(-)

-- 
2.43.0


More information about the stable mailing list