Exosphere: Support unsigned/plaintext Package2s if signature is clear.

This commit is contained in:
Michael Scire 2018-04-11 21:56:30 -06:00
parent 0674c4b64f
commit 7ddf5a922c
4 changed files with 17 additions and 3 deletions

View file

@ -59,6 +59,10 @@ bool bootconfig_is_package2_unsigned(void) {
return (LOADED_BOOTCONFIG->signed_config.package2_config & 2) != 0;
}
void bootconfig_set_package2_plaintext_and_unsigned(void) {
LOADED_BOOTCONFIG->signed_config.package2_config |= 3;
}
bool bootconfig_disable_program_verification(void) {
return LOADED_BOOTCONFIG->signed_config.disable_program_verification != 0;
}