On most Android devices, the bootloader checks following bootloader/software sign, right? Chain of trust. Signing technically means that the file must be encrypt with one (private) key and decrypted with another (public) key.
The software is compiled to executable binary and if we then sign/encrypt it, it's a mess (not machine code); so how can execute it after verifying the sign?
How an executable binary can be signed?
X.509
certificate. In case of bootloaders the certificate of a bootloader is appended to the bootloader binary itself. – Irfan Latif Feb 08 '23 at 11:51