wolfSSL / wolfTPM

wolfTPM is a highly portable TPM 2.0 library, designed for embedded use.
https://www.wolfssl.com
GNU General Public License v2.0
230 stars 55 forks source link

Support for Infineon SLB9672/SLB9673 Firmware upgrade #339

Closed dgarske closed 3 months ago

dgarske commented 3 months ago

Full demo pushed here: https://github.com/wolfssl/wolftpm-examples

Added support for Infineon SLB9672/SLB9673 Firmware upgrade (see examples/firmware/README.md) Added Infineon Modus Toolbox support. See wolfssl/IDE/Infineon/README.md for setup instructions. Added support for Infineon CyHal I2C support. Added Firmware extraction tool Added Firmware update example application examples/firmware/ifx_fw_update. Added support for vendor capabilities TPM_CAP_VENDOR_PROPERTY. Added XSLEEP_MS macro for firmware update delay. Added support for getting key group id, operational mode and update counts. Added support for abandoning an update. Added support for firmware update done, but not finalized Fix auto-detect to not define SLB9672/SLB9673.

AndreasFuchsTPM commented 3 months ago

LGTM. I'd add the FU_COUNTER_SAME to GetCaps though. It helps to see how many more tries you have during development.