github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/src/tpm2/testall.sh (about)

     1  #!/bin/bash
     2  ./tpm2_util.exe --command=Flushall
     3  ./tpm2_util.exe --command=ReadPcr --pcr_num=7
     4  ./tpm2_util.exe --command=Flushall
     5  ./tpm2_util.exe --command=KeyCombinedTest --pcr_num=7
     6  ./tpm2_util.exe --command=Flushall
     7  ./tpm2_util.exe --command=SealCombinedTest --pcr_num=7
     8  ./tpm2_util.exe --command=Flushall
     9  ./tpm2_util.exe --command=QuoteCombinedTest --pcr_num=7
    10  ./tpm2_util.exe --command=Flushall
    11  ./tpm2_util.exe --command=ContextCombinedTest --pcr_num=7
    12  ./tpm2_util.exe --command=Flushall
    13  ./tpm2_util.exe --command=NvCombinedTest --pcr_num=7
    14  ./tpm2_util.exe --command=Flushall
    15  ./tpm2_util.exe --command=EndorsementCombinedTest --pcr_num=7
    16  ./tpm2_util.exe --command=Flushall
    17  ./tpm2_util.exe --command=NvCombinedSessionTest --pcr_num=7
    18  ./tpm2_util.exe --command=Flushall
    19  
    20  openssl x509 -inform DER -in endorsement_cert -purpose -text
    21  
    22