Alongside the new wolfCOSE STM32Cube pack, we now ship a complete, hardware-verified wolfCOSE example for the STM32 NUCLEO-H563ZI. Open the project, generate, build, flash, and watch it sign and verify a COSE message on the H5, with no clock or pin plumbing to figure out yourself.
What It Is
This is a pre-configured STM32CubeMX project for the NUCLEO-H563ZI, laid out the same way as our wolfIP example, so you start from a working board setup rather than building one:
NUCLEO-H563ZI-wolfCOSE.ioc: USART3 on the ST-LINK virtual COM port at 115200 baud, RNG enabled, TrustZone disabled, with the wolfSSL wolfCrypt Core plus the wolfCOSE Core and Test components already selected.- READMEs with the exact steps: install the packs, generate the project, configure software crypto, add the glue, build, flash, and capture the console output.
- The expected console output, so you know immediately whether it worked.
On the Hardware
This example was built with the STM32CubeMX Arm toolchain, flashed with OpenOCD, and run on a physical NUCLEO-H563ZI:
== wolfCOSE NUCLEO-H563ZI == Running wolfCOSE test (COSE_Sign1 ES256)... wolfCOSE test: PASS (COSE_Sign1 99 bytes)
That is a full COSE_Sign1 ES256 sign-and-verify running on the H5, using wolfCrypt for the crypto through the wolfSSL Cube pack.
Beyond the H5
The example targets the NUCLEO-H563ZI, but the READMEs include a short section on adapting it to other STM32 boards, so the H5 project is a starting point rather than a dead end for other stm32 family boards.
Getting It
If you have an H5 on your desk, this is the fastest way to see wolfCOSE attestation-style signing working on real silicon!
If you have questions about any of the above, please contact us at facts@wolfssl.com or call us at +1 425 245 8247.
Download wolfSSL Now

