-
Notifications
You must be signed in to change notification settings - Fork 94
Description
This is a note mainly for @bunnie when implementing the next-gen hardware.
We should switch the loader verification to the ed25519-ph scheme. It is now standardized and using the pre-hash mechanism gives us the flexibility we need to parcel out the loader for fast hardware computation without having to re-implement tricky crypto APIs.
This is not done on the 1st-gen Precursor devices because it would involve a SoC update and a tricky re-factor of the extremely tiny, highly optimized ROM bootloader, which itself involves plenty of dangerous tricks to get it to fit into such a small space.
Basically, "don't fix it if it ain't broke", but "do it better next time".
And, the issue will hopefully help me remember to do it better next time, since I revisit the issue board regularly for old reminders like this.