Skip to content

Libacvp v2.3.2

Latest

Choose a tag to compare

@abkarcher abkarcher released this 23 Nov 16:56
73d84de

Libacvp 2.3.2 updates several algorithms to current ACVP revisions as NIST is deprecating several older ones. Existing harnesses should continue to work without changes by using sane defaults for newly required capabilities, with
warnings logged when those defaults are used. See migration_guide.md for configuration details.

Library changes:

  • Updated algorithm revision support:
    • DRBG: revision 1.0 to SP800-90Ar1
      • Added returned-bits domains and ctrDRBG counterFieldLen
    • LMS signature generation and verification: revision 1.0 to SP800-208
      • Added message-length domains and exact bit-length callback data
      • LMS key generation remains revision 1.0
    • SHAKE: revision 1.0 to FIPS202
      • Uses message- and output-length domains in place of the legacy input/output flags
      • MCT testing is no longer used by the new revision
    • ML-KEM encap/decap: revision FIPS203 to FIPS203-tr1
      • Added expanded and seed private-key formats
      • ML-KEM key generation remains revision FIPS203
    • ML-DSA signature generation: revision FIPS204 to FIPS204-tr1
      • Added expanded and seed private-key formats
      • ML-DSA key generation and signature verification remain revision FIPS204
  • Added compatibility defaults and warnings for newly required revision capabilities, and for
    obsolete HMAC revision 1.0 registration requests
  • Added TLS 1.2 key-block-length domain registration and improved default RSA X9.31 signature
    verification revision handling
  • Added safe unsigned long long JSON parsing for large hash LDT lengths and hardened SHAKE message
    length validation
  • Various cases of fixed input validation, bounds checking, overflows, general hardening, etc

Application changes:

  • Reworked the OpenSSL AES harness to retain its existing test coverage using more modern EVP APIs
    • Predicated by OpenSSL 3.5.8 hardening fixes that resulted in a behavior change in the previous
      APIs
  • Updated OpenSSL 3.5.X registrations to more closely reflect the tested 3.5.9 provider capabilities
  • Added OpenSSL harness support for ML-KEM and ML-DSA seed-format private keys while retaining
    expanded-key support
  • Fixed ML-KEM decapsulation ciphertext sizing and ML-DSA internal/external interface handling
  • Fixed reuse of randomized ML-DSA signing input between test cases
  • Fixed hybrid-secret HKDF construction and inclusion of T in fixed-info patterns
  • Miscellaneous overflow, validation, cleanup, and error-handling hardening/fixes

Unit test changes:

  • Expanded coverage for new revision registrations, capability APIs and defaults, parser
    validation, and OpenSSL harness behavior