Skip to content

Commit

Permalink
Add tpm2_extendpcrs function
Browse files Browse the repository at this point in the history
This commit adds tpm2_extendpcrs function to test a TPM v2.0 vulnerability.
  • Loading branch information
kkamagui committed Feb 5, 2019
1 parent 1e08ba6 commit 9286374
Show file tree
Hide file tree
Showing 2 changed files with 668 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ sbin_PROGRAMS = src/tpm2_listpcrs \
src/tpm2_unseal \
src/tpm2_verifysignature \
src/tpm2_listpersistent \
src/tpm2_rc_decode
src/tpm2_rc_decode \
src/tpm2_extendpcrs

if UNIT
check_PROGRAMS = \
Expand Down Expand Up @@ -133,6 +134,7 @@ src_tpm2_unseal_SOURCES = src/tpm2_unseal.cpp
src_tpm2_verifysignature_SOURCES = src/tpm2_verifysignature.cpp
src_tpm2_listpersistent_SOURCES = src/tpm2_listpersistent.cpp
src_tpm2_rc_decode_SOURCES = src/rc-decode.c src/tpm2_rc_decode.c
src_tpm2_extendpcrs_SOURCES = src/tpm2_extendpcrs.cpp

if UNIT
test_tpm2_rc_decode_unit_CFLAGS = $(AM_CXXFLAGS) $(CMOCKA_CFLAGS)
Expand Down
Loading

0 comments on commit 9286374

Please sign in to comment.