Skip to content

Commit

Permalink
Add allowed hash for ECDSA256P1Public key
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamist authored Dec 9, 2024
1 parent 7cc6005 commit e7c8a1c
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 @@ -183,6 +183,7 @@ def tlv_sha_to_sha(tlv):
keys.ECDSA384P1 : ['384'],
keys.ECDSA384P1Public : ['384'],
keys.ECDSA256P1 : ['256'],
keys.ECDSA256P1Public : ['256'],
keys.RSA : ['256'],
keys.RSAPublic : ['256'],
# This two are set to 256 for compatibility, the right would be 512
Expand Down

0 comments on commit e7c8a1c

Please sign in to comment.