commit | 846fd319e0d7d31b3cd269863177d7c8285fcd2e | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Wed Aug 10 18:15:13 2016 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sun Nov 27 15:04:48 2016 -0500 |
tree | a480401e1512718eb4b6678ae5a35def8ac8f9e5 | |
parent | 538d9b7110c178e02f02b029416952f3eb42bc5d [diff] |
tpm: Rework tpm_build_and_send_cmd() into tpm_simple_cmd() Instead of passing an arbitrary buffer as a parameter to tpm_build_and_send_cmd(), just support the simpler case of a parameter that is only 0, 1, or 2 bytes in length. This allows the callers to pass the parameter directly and not worry about the big-endian encoding. Rename the function to tpm_simple_cmd(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>