Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm2: NVMarshal: Handle index orderly RAM without 0-sized terminating…
… node The NVRAM entries in s_indexOrderlyRam array do not need to contain a 0-sized terminating node. Instead, the entries may fill up this 512 byte array so that no NV_RAM_HEADER structure fits anymore. The fact that no more NV_RAM_HEADER structure fits is also an indicator for the last entry. We need to account for this in the code marshalling and unmarshalling the entries so that we stop marshalling the entries then and similarly stop unmarshalling. Signed-off-by: Stefan Berger <[email protected]>
- Loading branch information