Other Parts Discussed in Thread: UNIFLASH, SHA-256
Hello,
I am trying to decide whether to purchase an RSA or ECDSA code signing certificate for the CC3220SF.
After reading SWRU455E,
"Using the private key, the file digital signature is generated. The signature is a standard digital
signature; the algorithm first calculates the SHA of the file content and then the SHA result is encrypted
using the private key. The supported signature types are: PKCS#1, RSA 256 or 128 bytes, SHA_1 (the
signature length is 256 or 128 bytes). The signature for the file can be created by standard tools, or by
the UniFlash Image Creator tool (using the private key)."
In the OTA example, you use ECDSA Certificate to validate the package but for programming the SFLASH, you use RSA certificate. Could you answer the following questions?
- Is it possible to use ECDSA to create signatures for files stored on the SFLASH?
- Is SHA-1 the only supported hash for file signatures on the SFLASH? SHA-256 is not supported?
- All certificates in the chain of trust must be RSA? ECDSA in the cert chain is not supported?
- It seems there are only two supported signature types for secure files in SFLASH. Is this correct?
- RSA-128 of a SHA1 hash with PKCS#1 padding
- RSA-256 of a SHA1 hash with PKCS#1 padding
- The OTA ECDSA signature verification is completely separate from file system signature verification and we do not need to include the certificate chain for the OTA ECDSA certificate on the file system?
Thank you.