2026-03-26 1:57 AM
Hello,
I'm developing the software to exchange secure data between a remote host (Linux-OS computer) and a electronic board based on STM32U5 MCU and STSAFE-A110 secure chip. I already implemented the board authentication and I chose to use the symmetric key encryption that the two hosts securely exchange data. For that the two hosts computes each on their own the shared secret after sharing their own public key. That's works fine!
But I don't know what functions of stsafe library to use to encrypt and decrypt data using the computed secret key board-side.
Could you please help me?
Best regards,
Alex
Solved! Go to Solution.
2026-03-27 4:53 AM
Hello,
I simply used the mbedtls_cipher_crypt() from mbed library to encrypt and decrypt exchanged messages.
Best regards,
Alex
2026-03-27 4:53 AM
Hello,
I simply used the mbedtls_cipher_crypt() from mbed library to encrypt and decrypt exchanged messages.
Best regards,
Alex