BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
216 stars 80 forks source link

memory: persist attestation bootloader hash #1193

Closed benma closed 3 months ago

benma commented 3 months ago

And use it in the attestation check.

bootloader_hash_set is added just in case the memory is unexpectedly not 0xFF everywhere (the default value for unused/erased memory).