]> git.proxmox.com Git - swtpm.git/commit
swtpm: Remove unnecessary fields from symmetric key structure
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 14 Sep 2018 23:00:33 +0000 (19:00 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Mon, 17 Sep 2018 15:45:44 +0000 (11:45 -0400)
commit3916364950a987aad53a89a3006ab7cced662bba
tree7390cffae0c25068a438c157ed46455a71c12263
parente7ba49110c383a55fb1dd46aa99226629b3f20be
swtpm: Remove unnecessary fields from symmetric key structure

Remove the valid field from the symmtric key structure and
user userKeyLength > 0 instead, which is the same.

Also remove the tag and fill fields, which were originally used in
TPM 1.2.

Use function calls to test whether the file or migration key is
available where possible.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
src/swtpm/swtpm_aes.h
src/swtpm/swtpm_nvfile.c