swtpm/include
Stefan Berger 7499734f98 swtpm: Define a structure to return PTM_GET_CAPABILITY result
Define a structure to use for returning the PTM_GET_CAPABILITY result that
resembles the layout of all the commands' structures. Since only 17bits for
capabilities are currenlty defined and they are returned in big endian
format as part of a 64bit number, this change can be done without any side
effects. The upper 32bit of this number now become the tpm_result, which
will always be 0. The lower 32bits are the possible capability flags, of
which the 17 are used.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-10-11 17:34:36 -04:00
..
swtpm swtpm: Define a structure to return PTM_GET_CAPABILITY result 2024-10-11 17:34:36 -04:00
compiler_dependencies.h swtpm: Fix issues raised by -Wextra 2021-06-24 15:05:03 -04:00
Makefile.am swtpm: Fix issues raised by -Wextra 2021-06-24 15:05:03 -04:00
swtpm.h.in swtpm: Provide support for TPM2 using --tpm2 2018-08-07 12:19:46 -04:00
sys_dependencies.h headers: Add defines for little endian data conversion (OS X) 2021-10-05 13:50:45 -04:00