Update flash.md

This commit is contained in:
bunnie 2021-04-20 16:16:33 +08:00 committed by GitHub
parent aaf5ec30c3
commit b907a90b64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,15 +67,15 @@ The csr.csv block is further structured as follows:
```
+-----------+----------------------------------------+
+ 2027_8000 | Length of csr.csv data |
+ 2027_8003 | 4 bytes |
+ 2027_8003 | 4 bytes, little-endian |
+-----------+----------------------------------------+
+ 2027_8004 | csr.csv data (variable length) |
+ 2027_8xxx | Typically ~12kiB |
+ 2027_8xxx | Typically ~12kiB, byte ordered |
+-----------+----------------------------------------+
+ 2027_8xxx | padding to 0xFF |
+ 2027_FFDF | padding included in sha512 |
+-----------+----------------------------------------+
+ 2027_FFE0 | sha512 of 2027_8000:2027_FFDF |
+ 2027_FFFF | truncated to 32 bytes |
+ 2027_FFFF | truncated to 32 bytes, network order |
+-----------+----------------------------------------+
```