Skip to content

wolfHSM-v1.5.0

Latest

Choose a tag to compare

@bigbrett bigbrett released this 21 Aug 16:19
· 121 commits to main since this release
dd3ff88

wolfHSM Release v1.5.0 (August 21, 2026)

Due to NDA restrictions, access to the Infineon, ST Micro, TI, and Renesas ports is limited. Please contact support@wolfssl.com for access.

New Feature Additions

  • Added non-blocking request/response client APIs for SHA, RNG, AES, RSA, ECC, and CMAC operations in #337, #344, #347, #351, #368, and #381
  • Added ML-KEM (FIPS 203) support for key generation, encapsulation, and decapsulation with DMA variants in #336
  • Added LMS and XMSS stateful hash-based signature support in #352
  • Added SHA-3 support with blocking wolfCrypt and non-blocking native APIs in #384
  • Added DMA support for AES-ECB, AES-CBC, and AES-CTR and reworked AES-GCM DMA handling in #282
  • Added authentication manager with user login, per-user permissions, and NVM-backed credential storage in #270, #290, #382, and #386
  • Added client response timeout support with optional expiration callback in #278
  • Added STM32H5 TrustZone port with non-secure callable bridge transport in #348
  • Added per-client wolfCrypt device IDs enabling multiple clients in a single process in #406
  • Added client API to select hardware or software crypto processing at runtime in #281
  • Added hardware-only key support allowing server operations to reference keys held in hardware in #409
  • Added public key export for cached asymmetric keys, including returning the public key from cached key generation in #346 and #458
  • Added cache-only shared secrets keeping ECDH and X25519 outputs server-resident in #372
  • Added client API to generate and cache a random key on the server in #437
  • Added multi-root CA certificate chain verification in #350
  • Added trusted certificate cache and certificate verification callbacks in #353
  • Added wolfBoot image verification to the image manager in #339
  • Added global SHE key support enabling SHE key slots to be shared across all clients in #478
  • Added SHE GET_ID command and key wrap interoperability with SHE keys in #450 and #413
  • Added support for running the server without NVM using the key cache only in #392
  • Added CRC integrity checking to the NVM flash backend in #503
  • Added support for dynamically linking libwolfssl in #349

Bug Fixes

  • Bounded peer-controlled lengths in client and server transport receive paths in #388, #389, and #410
  • Validated server-reported lengths and payload sizes in client crypto response handlers in #361, #366, #367, #373, #374, #375, #376, #463, #465, #467, #473, and #474
  • Bounded AES, LMS, XMSS, and ML-KEM DMA response frames in the crypto client in #475 and #476
  • Added request and response size validation to server request handlers, keystore, and crypto request translation in #299, #302, and #466
  • Fixed key wrap request and response bounds, metadata trailer translation, and a data unwrap bug in #323, #359, #472, #494, and #510
  • Added bounds checks to SHE client requests and responses and bounded SHE server key loads in #334, #457, and #495
  • Fixed certificate handlers to validate inputs, check response lengths, capture verification results, and stop transmitting unwritten response bytes in #317, #365, #390, #426, and #459
  • Fixed certificate verify message padding differences between clients and servers with different ABIs in #507
  • Fixed client DMA address translation and a use-after-free in key, NVM, and certificate DMA operations in #403 and #408
  • Fixed integer overflow in the DMA allow list boundary check, improved server DMA validation, and ensured DMA post-operation callbacks run on error paths in #298, #329, #324, and #340
  • Fixed integer underflow in AES-GCM unwrap size calculations, missing AES context free on set-key failure, and AES-CTR bounds checking in #296, #306, #307, and #379
  • Fixed overflow-prone bounds checks in NVM read handlers and 32-bit size_t overflow in AES and SHE size checks in #319 and #487
  • Fixed SHE server secure boot chunk sizing, master ECU key metadata, constant-time comparison, and stack buffer zeroization in #293, #294, #310, #325, #326, and #332
  • Fixed metadata label leak in key export error responses and stripped server-only flags from client metadata when caching random keys in #316 and #496
  • Fixed NVM destroy batches aborting on absent IDs, NULL metadata handling in the checked add path, and committed state for keys read back from NVM in #461, #462, and #401
  • Improved NVM locking across the crypto layer to prevent races on shared key caches in #438
  • Fixed authentication manager to log out users on disconnect, enforce caller identity, refresh stale session permissions, and zeroize request messages in #383, #480, #481, and #432
  • Guarded against clients connecting with aliased client IDs in #362
  • Fixed SHA client response struct initialization, block-transfer error propagation, and SHA-512 finalize error overwrite in #308, #309, and #311
  • Restored SHA-3 client state when the server cannot offload the operation in #455
  • Fixed ML-DSA cache import buffer sizing, verify-only cache size checks, and compatibility with updated wolfCrypt APIs in #397, #452, and #301
  • Fixed config path copy bounds, shared memory create TOCTOU, VERIFY_ACERT DMA error propagation, and KDF and AES-GCM response output bounds in #425
  • Improved POSIX transport file permissions and descriptor handling, bounded shared memory mapping by the shared object size, and required peer certificates for TLS transport server mode in #322, #479, and #363
  • Fixed off-by-one in constant-time zero compare, uint16 truncation, void pointer arithmetic, and transposed arguments in flash unit reads in #304, #314, #431, and #295

Enhancements and Optimizations

  • Overhauled the documentation and added user management invariants in #387 and #405
  • Added CONTRIBUTING.md covering the contributor agreement and PR process in #509
  • Added LMS, XMSS, ML-DSA, SHA-3, and HMAC-SHA3 benchmark modules and single round-trip ML-KEM timing in #454, #488, #499, #501, and #504
  • Fixed SHA-2 benchmarks being skipped in non-DMA builds and reduced benchmark memory usage in #497, #456, and #514
  • Reduced CI runtime with concurrency limits, ccache, draft PR filtering, and reorganized workflow matrices in #482, #483, #484, #485, and #489
  • Added 32-bit CI job and automated coverage comparison in #491 and #490
  • Migrated to the wc_MlDsaKey wolfCrypt API removing legacy Dilithium naming in #377
  • Added ECC_MAKE_PUB and ECC_CHECK_PUB crypto callback support in #451
  • Increased default key cache sizes for SHE, RSA, and ML-DSA use cases in #400 and #402
  • Added test coverage for SHE loadable keys and secure boot, key usage policies, wrapped key restrictions, permission escalation, and DMA allow list boundaries in #335, #430, #380, #424, #470, and #500