bootutil: Add SIG_PURE TLV
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 <dominik.ermel@nordicsemi.no>
diff --git a/scripts/imgtool/image.py b/scripts/imgtool/image.py
index 53b19ef..1f9149b 100644
--- a/scripts/imgtool/image.py
+++ b/scripts/imgtool/image.py
@@ -72,6 +72,7 @@
'ECDSASIG': 0x22,
'RSA3072': 0x23,
'ED25519': 0x24,
+ 'SIG_PURE': 0x25,
'ENCRSA2048': 0x30,
'ENCKW': 0x31,
'ENCEC256': 0x32,