wolftpm-src 0.2.0

Compile wolfTPM from source for use by wolftpm-sys
# fwTPM Embedded Ports

Platform-specific ports of the wolfTPM fwTPM server for embedded targets.

## Available Ports

| Port | Repository | Description |
|------|-----------|-------------|
| STM32 | [wolftpm-examples/STM32/fwtpm-stm32h5]https://github.com/wolfSSL/wolftpm-examples/pull/1 | STM32H5 Cortex-M33 with TrustZone (CMSE) |

## Porting Guide

To add a new platform, implement these HAL callbacks:

1. **NV Storage HAL** (`FWTPM_NV_HAL`): `read()`, `write()`, `erase()` for
   persistent flash storage. Register via `FWTPM_NV_SetHAL()` before `FWTPM_Init()`.

2. **Clock HAL** (optional): `get_ms()` returning milliseconds since boot.
   Register via `FWTPM_Clock_SetHAL()` before `FWTPM_Init()`.

3. **Entry point**: Zero `FWTPM_CTX`, register HALs, call `FWTPM_Init()`,
   then process TPM commands via `FWTPM_ProcessCommand()`.

See the STM32 port in wolftpm-examples for a complete reference implementation.