tpm: wrap stX_be_p in tpm_cmd_set_XYZ functions
commita35e15dca3e0654211803cdac39b2603908457f4
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 1 Feb 2018 23:05:10 +0000 (1 18:05 -0500)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Sat, 3 Feb 2018 14:01:55 +0000 (3 09:01 -0500)
tree111c1e93bb4d61c9ed9a30003e50b661d5d5542d
parentb8d44ab8febf8b9fe96644bc679bdd3cb75f83ff
tpm: wrap stX_be_p in tpm_cmd_set_XYZ functions

Wrap the calls to stl_be_p and stw_be_p in tpm_cmd_set_XYZ functions
that are similar to existing getters.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/tpm/tpm_util.c
hw/tpm/tpm_util.h