STSAFE-A110 fails to generate shared secret when using STSAFEA_KEY_SLOT_1
Hello,
I am working on an IoT security project, where a TPM like STSAFE-A110 is required for signature verification and data decryption. The latter fails with the mentioned chip and the static (non-ephemeral) private key.
Setup:
X-NUCLEO-SAFEA1 board (with STSAFE-A110 TPM), pairing done
B-U585I-IOT02A MCU board
Windows 10 PC
Tera Term
STM32CubeIDE
I have successfully run the Establish_Secret demo project, it shows ephemeral key usage:
As I need the TPM's private key to survive the power cycle, I replace the ephemeral slot with the static slot 1, also on StSafeA_GenerateKeyPair call:
The call to StSafeA_EstablishKey then fails with code 17 (STSAFEA_UNSATISFIED_ACCESS_CONDITION):
Why does it fail? The documentation for STSAFE A110 clearly states that this feature is supported for slot 1 (document dm00675324):
Thanks.
