+13
−3
+33
−5
Loading
Adds a new flag to imgtool, -E/--encrypt which accepts a public rsa-2048
key file that will be used to encrypt the image.
The encryption method uses AES-128-CTR to encrypt the image data (ignores
the header and TLVs), using a random key that is itself encrypted using
RSA-2048-OAEP and added to the generated image as a new TLV.
Signed-off-by:
Fabio Utzig <utzig@apache.org>
CRA Git | Maintained and supported by SUSTech CRA and CCSE