trunks: Generator bugs
This patch fixes a few bugs in the trunks generator.
- Argument with type TPM2B_ENCRYPTED_SECRET was occasionally
not parsed due to errors in raw_structures_fixed.txt. Affected
commands Duplicate, MakeCredential, and Rewrap.
- Arguments with types INT[0-9]* were not parsed due to a bug
in extract_commands.sh. Affected commands PolicySigned and
PolicySecret.
- Argument with name returnCode is part of the header, not a
parameter. Affected commands ClockRateAdjust, ClockSet, and
ReadClock commands.
BUG=None
TEST=Passes all unit tests
Change-Id: I075f7c9fe64b7c1663f8ae6a5b8e8a0387c411aa
Reviewed-on: https://chromium-review.googlesource.com/286840
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Commit-Queue: Jocelyn Bohr <bohr@chromium.org>
Tested-by: Jocelyn Bohr <bohr@chromium.org>
7 files changed