forked from lolo859/vystem
Vystem 0.2
This commit is contained in:
@@ -15,7 +15,7 @@ The header of any InitFS filesystem is as follow:
|
||||
- Bootloader version: an uint16_t indicating the bootloader version, currently set to `0x0001`
|
||||
- InitFS version: an uint16_t indicating the InitFS version, currently set to `0x0001`
|
||||
- OS version: an uint32_t indicating the OS version, currently set to `0x00000001`
|
||||
- Installation ID: an array of 48 completely random bytes. His SHA3-512 hash is stored inside the `initfs-footprint.bin` file, protected by SPFIE
|
||||
- Installation ID: an array of 48 completely random bytes. His SHA3-512 hash is stored inside the `INITFSFP.BIN` file, protected by SBFIE
|
||||
- InitFS Size: the amount of bytes in the total filesystem, not forcefully rounded to the disk block size. Stored as an uint64_t
|
||||
- Files table size: the amount of bytes used for the filesystem files table. Stored as an uint64_t
|
||||
- Files content size: the amount of bytes for the filesystem files content area. Stored as an uint64_t
|
||||
@@ -26,11 +26,11 @@ The header of any InitFS filesystem is as follow:
|
||||
- Entropy check: 8 bytes of a value generated with this formula : `header.entropy_check=(header.entropy*0x9E3779B185EBCA87)^header.entropy`. Stored as an uint64_t
|
||||
- Files table hash: an array of 64 bytes containing the SHA3-512 hash of the files table
|
||||
- Files content area hash: an array of 64 bytes containig the SHA3-512 hash of the files content area
|
||||
- Installation ID double hash: an array of 64 bytes containing the SHA3-512 hash of the content of the `initfs-footprint.bin` file.
|
||||
- Installation ID double hash: an array of 64 bytes containing the SHA3-512 hash of the content of the `INITFSFP.BIN` file.
|
||||
- Padding: 128 bytes of padding generated with a specific pattern (see below)
|
||||
- Header hash: an array of 64 bytes containing the SHA3-512 of the InitFS header, not including the last 64 bytes
|
||||
|
||||
This header is exactly 512 bytes. The mecanism decribed above with the installation ID and the `initfs-footprint.bin` is to ensure that an installation of Blastproof find his associated InitFS.
|
||||
This header is exactly 512 bytes. The mecanism decribed above with the installation ID and the `INITFSFP.BIN` is to ensure that an installation of Blastproof find his associated InitFS.
|
||||
|
||||
### Files table and files entries
|
||||
|
||||
@@ -67,7 +67,7 @@ The header of any SignSyst is as follow:
|
||||
- Padding: 288 bytes of padding generated with the same pattern as InitFS
|
||||
- Header hash: an array of 64 bytes containing the SHA3-512 of the SignSyst header, not including the last 64 bytes
|
||||
|
||||
The header is exactly 512 bytes. The file `signsyst-hash.bin`, protected by SPFIE, contain the full hash of the SignSyst header.
|
||||
The header is exactly 512 bytes. The file `SSHASH.BIN`, protected by SBFIE, contain the full hash of the SignSyst header.
|
||||
|
||||
### Signatues area
|
||||
|
||||
|
||||
Reference in New Issue
Block a user