SLUUDG7A December 2025 – November 2026 MSPM33C321A , MSPM33C321A-Q1
Apart from ROM-based secure boot, public keys used by CSC-based secure boot are stored with CSC code. Secure boot uses these keys to verify the signature of the firmware that is signed by the corresponding private key.
In the MSPM33 CSC example, ECDSA_p256 public key and MLDSA87 public key are stored in DER format in boot_keys.c.
const unsigned char ecdsa_pub_key[] = {
...
};
const unsigned int ecdsa_pub_key_len = 91;
const unsigned char mldsa_pub_key[] = {
...
};
const unsigned int mldsa_pub_key_len = 2592;
const struct bootutil_key bootutil_keys[] = {
{
.key = ecdsa_pub_key,
.len = &ecdsa_pub_key_len,
},
{
.key = mldsa_pub_key,
.len = &mldsa_pub_key_len,
},
};
const int bootutil_key_cnt = 2;