Skip to content

Commit e7c8a1c

Browse files
authored
Add allowed hash for ECDSA256P1Public key
1 parent 7cc6005 commit e7c8a1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: scripts/imgtool/image.py

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ def tlv_sha_to_sha(tlv):
183183
keys.ECDSA384P1 : ['384'],
184184
keys.ECDSA384P1Public : ['384'],
185185
keys.ECDSA256P1 : ['256'],
186+
keys.ECDSA256P1Public : ['256'],
186187
keys.RSA : ['256'],
187188
keys.RSAPublic : ['256'],
188189
# This two are set to 256 for compatibility, the right would be 512

0 commit comments

Comments
 (0)