tillitis-key/hw/application_fpga/tools/tpt
Daniel Lublin f3c4e6c818
Revise UDI
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2023-01-05 14:34:32 +01:00
..
__init__.py Make initial public release 2022-09-19 08:51:11 +02:00
hkdf.py Make initial public release 2022-09-19 08:51:11 +02:00
README.md Use TKey name 2022-12-02 08:03:06 +01:00
tpt.py Revise UDI 2023-01-05 14:34:32 +01:00

Tillitis TKey Provisioning Tool

Introduction

TKey Provisioning Tool (tpt) is a program for generating the 32 byte Unique Device Secret (UDS). The tool will also generate the 8 byte Unique Device Identity. Both the UDS and the UDI are injected into the FPGA bitstream file during build.

The UDS is generated using HKDF (RFC 5869), and the user is expected to supply a secret as part of the input to the HKDF Extract operation. The Input Keying Material is generated by extracting 256 bytes using the Python secrets module.

The tool uses python-hkdf.