swtpm/src/swtpm_setup
Stefan Berger bfa79e91f2 swtpm: Cast '1' to uint64_t before shift and assign to uint64_t variable
To avoid an overflowing expression cast '1' to uint64_t before shifting
it and assigning it to a uint64_t variable. In practice this kind of
overflow would never happen because there aren't that many available
PCR banks.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2022-05-25 18:54:58 -04:00
..
Makefile.am swtpm_setup: add file backend 2021-10-05 11:54:42 -04:00
README add new README files for the tools and modify main README file 2014-12-05 15:11:15 -05:00
swtpm_backend_dir.c swtpm_setup: add abstract swtpm_backend_ops with dir:// implementation 2021-10-05 11:54:42 -04:00
swtpm_backend_file.c swtpm_setup: Move gmalloc after block that may return NULL on failure 2021-10-05 18:07:20 -04:00
swtpm_setup_conf.h.in build-sys: Add support for --enable-default-pcr-banks=list of PCR banks 2021-10-29 15:36:35 -04:00
swtpm_setup_utils.c swtpm_setup: Do not assign pointer to g_strchomp result (Coverity) 2021-11-05 18:47:12 -04:00
swtpm_setup_utils.h swtpm_setup: Implement --create-user-config skip-if-exist 2021-10-07 14:27:10 -04:00
swtpm_setup.c swtpm_setup: Initialize pubek_len (Coverity) 2022-05-25 18:54:58 -04:00
swtpm_setup.h swtpm_setup: Rewrite in 'C' (addresses issue #437) 2021-05-28 13:08:16 -04:00
swtpm.c swtpm: Cast '1' to uint64_t before shift and assign to uint64_t variable 2022-05-25 18:54:58 -04:00
swtpm.h swtpm_setup: add file backend 2021-10-05 11:54:42 -04:00

swtpm_setup is a tool that simulates the manufacturing of a TPM
and allows a user to prepare the initial state of a TPM by having
the TPM create an EK, creating the EK and platform certificates for it,
and saving the certificates into the NVRAM of the TPM before it is used
for the first time.

For further information, check the manpage 'man swtpm_setup'.