libtpms/tests
Stefan Berger ffd93ef183 WIP: tpm2: Add RuntimeAttribute fips-140-3 to restrict TPM 2 (StateFormatLevel 8)
Add RuntimeAttribute 'fips-140-3' that restricts a TPM 2 following
requirements of the FIPS-140-3 standard:

- Prevents raw RSA encryption and decryption
- Prevents SHA1 signature generation + verification
- Prevents derivation of ECC keys from derivation parent and for creation
  of ephemeral keys
- Performs a pairwise consistency test on RSA keys and ECC signing keys
- Enables continous DRBG test

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-10-15 15:11:32 -04:00
..
corpus-execute-command tpm2: Intercept unsupported external and permanent NV indices 2024-07-19 16:04:10 -04:00
base64decode.c tests: Add license identifier to test cases 2022-07-12 11:30:53 -04:00
base64decode.sh tests: run a lot less tests in base64decode.sh 2019-05-07 16:01:48 -04:00
common tests: Use double quotes on command parameters (shellcheck) 2023-03-02 09:32:38 -05:00
freebl_sha1flattensize.c tests: Add license identifier to test cases 2022-07-12 11:30:53 -04:00
fuzz-main.c fuzz: better oss-fuzz integration 2019-04-01 11:22:03 -04:00
fuzz.cc tests: fuzz: Store initialized permall state blob 2021-07-22 22:23:16 -04:00
fuzz.sh tests: Restrict number of command line parameters to fuzz 2019-05-07 16:01:48 -04:00
Makefile.am tpm2: Remove test case for OpenSSL SSKDF to KDFe comparison 2024-09-09 14:56:44 -04:00
nvram_offsets.c rev180: Add hierarchy field to OBJECT and use it 2024-07-25 11:17:42 -04:00
object_size.c tests: Use %zu for size_t 2024-07-26 22:34:38 -04:00
oss-fuzz.sh tests: oss-fuzz.sh: Append -fno-sanitize=bounds to CFLAGS 2024-01-15 14:53:19 -05:00
run-fuzzer.sh build-sys: don't tweak LD_LIBRARY_PATH 2019-04-16 07:17:53 -04:00
tpm2_createprimary.c tests: Add license identifier to test cases 2022-07-12 11:30:53 -04:00
tpm2_createprimary.sh tests: Refactor repetitive test scripts to use one common script 2023-03-02 09:32:38 -05:00
tpm2_cve-2023-1017.c tests: Add test cases for CVE-2023-1017 and CVE-2023-1018 2023-03-02 09:32:38 -05:00
tpm2_cve-2023-1017.sh tests: Add test cases for CVE-2023-1017 and CVE-2023-1018 2023-03-02 09:32:38 -05:00
tpm2_cve-2023-1018.c tests: Add test cases for CVE-2023-1017 and CVE-2023-1018 2023-03-02 09:32:38 -05:00
tpm2_cve-2023-1018.sh tests: Add test cases for CVE-2023-1017 and CVE-2023-1018 2023-03-02 09:32:38 -05:00
tpm2_pcr_read.c tests: Add license identifier to test cases 2022-07-12 11:30:53 -04:00
tpm2_pcr_read.sh tests: Refactor repetitive test scripts to use one common script 2023-03-02 09:32:38 -05:00
tpm2_run_test.sh tests: Refactor repetitive test scripts to use one common script 2023-03-02 09:32:38 -05:00
tpm2_selftest.c tests: Add license identifier to test cases 2022-07-12 11:30:53 -04:00
tpm2_selftest.sh tests: Refactor repetitive test scripts to use one common script 2023-03-02 09:32:38 -05:00
tpm2_setprofile.c WIP: tpm2: Add RuntimeAttribute fips-140-3 to restrict TPM 2 (StateFormatLevel 8) 2024-10-15 15:11:32 -04:00
tpm2_setprofile.sh tests: Add test case for TPMLIB_SetProfile() 2024-07-15 11:51:38 -04:00