commit | 0fb23c327d553049500d251ae9376c3e2ce1f2d1 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | Fri Aug 05 11:07:09 2016 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Wed Aug 10 15:01:04 2016 -0400 |
tree | c1dadbb62cd02d252afc230a7288686196f57678 | |
parent | 74544faa47b7fefebfe3a65c1419d5e436986d1b [diff] |
tpm: Restructure tpm20_extend to use buffer and take hash as parameter Restructure the tpm20_extend function to use a buffer for the command to send to the TPM. The size of the buffer is calculated from the size of tpm2_req_extend structure and the appended SHA1 hash. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>