If I add a partition(Type 0x40 subtype 0x00) with encrypted flag, will it be encrypted?
and if I turn on secure boot ,will it be checked before being used?
Will partition with type 0x40 be encrypted when Flash Encryption is on?
-
- Posts: 30
- Joined: Thu Dec 10, 2015 5:27 am
Re: Will partition with type 0x40 be encrypted when Flash Encryption is on?
Yes partitions with encryption flag set should be encrypted during initial encrypted boot process.
Secure boot will verify bootloader, bootloader will verify partition table and app. I believe otherwise you have to verify user partitions yourself.
Not sure of any issues for custom partition types.
Secure boot will verify bootloader, bootloader will verify partition table and app. I believe otherwise you have to verify user partitions yourself.
Not sure of any issues for custom partition types.
-
- Posts: 30
- Joined: Thu Dec 10, 2015 5:27 am
Re: Will partition with type 0x40 be encrypted when Flash Encryption is on?
Thanks.WiFive wrote:Yes partitions with encryption flag set should be encrypted during initial encrypted boot process.
Secure boot will verify bootloader, bootloader will verify partition table and app. I believe otherwise you have to verify user partitions yourself.
Not sure of any issues for custom partition types.
Here it writes: "The bootloader ignores any partition types other than app (0) & data (1)."
does it means that the bootloader will not verify partition other than partition table , app partitions and data partitions?
Re: Will partition with type 0x40 be encrypted when Flash Encryption is on?
Yes I think so and there is also a difference between verify partition structure and verify partition signature. You can check source code of bootloader in IDF.
Who is online
Users browsing this forum: Google [Bot] and 117 guests