2025-08-29 11:14 AM - edited 2025-08-29 11:37 AM
Hello,
We are working on an STM32F469/79-based device that uses SBSFU, which we are seeking to modify to use the STSAFE-A120 to perform the authentication and decryption algorithms.
Section 2.7 of the STSAFE-A120 datasheet includes that the STSAFE-A120 supports the following symmetric ciphers for encryption and decryption.
Section 4.7 of the STSAFE-A120 datasheet includes that the STSAFE-A120 supports symmetric decryption by chunks via the "Start decrypt", "Process decrypt", and "Finish decrypt" commands.
We planned to use X-CUBE-STSE01 (v1.0.0) to interface with the STSAFE-A120. However, we were surprised to see that AES-CBC decryption does not seem to supported. This prevents us from using the STSAFE-A120 with SBSFU crypto scheme "SECBOOT_ECCDSA_WITH_AES128_CBC_SHA256". X-CUBE-STSE01 seems to also lack support for AES-GCM decryption by chunks. This prevents us from using the STSAFE-A120 with SBSFU crypto scheme "SECBOOT_AES128_GCM_AES128_GCM_AES128_GCM".
We noted that X-CUBE-STSE01 seems to use STSELib v1.0.0, but the STSELib GitHub repo shows that the latest STSELib release is v1.1.2. The release notes for STSELib v1.0.2 mention that it added support for AES-GCM & AES-CCM* decryption by chunks.
Given all of these findings, we had a few questions.
Thank you,