Skip to content

Commit 763be6a

Browse files
fundakolnordicjm
authored andcommitted
imgtool: Add sha512 to allowed configurations for ECDSA256P1
Added SHA512 to the list of supported algorithms for ECDSA256P1. Signed-off-by: Lukasz Fundakowski <[email protected]>
1 parent 59d2f7a commit 763be6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/imgtool/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def tlv_sha_to_sha(tlv):
189189
keys.ECDSA384P1 : ['384'],
190190
keys.ECDSA384P1Public : ['384'],
191191
keys.ECDSA256P1 : ['256'],
192-
keys.ECDSA256P1Public : ['256'],
192+
keys.ECDSA256P1Public : ['256', '512'],
193193
keys.RSA : ['256'],
194194
keys.RSAPublic : ['256'],
195195
# This two are set to 256 for compatibility, the right would be 512

0 commit comments

Comments
 (0)