oops; it looks like the datasheet is indeed wrong
* HASH_VALUE_ITEM should say SHA-256 hash is 8 words not 16 words Image may be NSFW.
Clik here to view.
* SIGNATURE_ITEM contains the PUBLIC KEY, not the PUBLIC KEY HASH (the public key is 512 bits)
The bootrom creates a regular 32 byte SHA-256 hash
* for signature checking, the full 256 bit hash is what is signed (and signature checked)
* HASH_VALUE is only used for standalone hash checking (without signature checking)... in this case you can choose to use < 8 words; i.e. if you only store 1 word, then the first word of the 256 bit hash is checked against that
* HASH_VALUE_ITEM should say SHA-256 hash is 8 words not 16 words Image may be NSFW.
Clik here to view.

* SIGNATURE_ITEM contains the PUBLIC KEY, not the PUBLIC KEY HASH (the public key is 512 bits)
The bootrom creates a regular 32 byte SHA-256 hash
* for signature checking, the full 256 bit hash is what is signed (and signature checked)
* HASH_VALUE is only used for standalone hash checking (without signature checking)... in this case you can choose to use < 8 words; i.e. if you only store 1 word, then the first word of the 256 bit hash is checked against that
Statistics: Posted by kilograham — Thu Dec 05, 2024 4:04 pm