Skip to content

Commit

Permalink
[nrf fromtree] bootutil: Add SIG_PURE TLV
Browse files Browse the repository at this point in the history
The commit adds SIG_PURE TLV that should be used as TLV indicating
that the signature attached to image has been calculated over
entire image, rather than digest of image.

This is generic flag as the "pure" usage may be applied to, potentially,
any signature algorithm.

Signed-off-by: Dominik Ermel <[email protected]>
(cherry picked from commit 30bcd46)
(cherry picked from commit 7e01086)
(cherry picked from commit 3d2808d)
(cherry picked from commit 42a79a4)
Signed-off-by: Dominik Ermel <[email protected]>
  • Loading branch information
de-nordic committed Jan 8, 2025
1 parent 68f5b99 commit 9ff55cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/imgtool/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
'ECDSASIG': 0x22,
'RSA3072': 0x23,
'ED25519': 0x24,
'SIG_PURE': 0x25,
'ENCRSA2048': 0x30,
'ENCKW': 0x31,
'ENCEC256': 0x32,
Expand Down

0 comments on commit 9ff55cb

Please sign in to comment.