Menu

Disable testing some algorithms

2016-10-10
2016-11-17
  • Fuzail Khan

    Fuzail Khan - 2016-10-10

    Hi,

    I am using a this stack on a HW TPM which is uninitialized (without platform authentication). I modified few things and was able to run the script for many tests. However I am stuck in few tests because my TPM does not support SHA384 and ECC curves (except P256 and BN256).

    Is there anyway to disable few algorithms (maybe in a makefile or config file) and compile the code ?

    Thanks,

     
    • Ken Goldman

      Ken Goldman - 2016-10-10

      Please specify what "the script" is.

      If you are referring to the regression test, the documentation says, "I would not expect the regression test to run against a hardware TPM, since the platform firmware will have set the platform authorization. There are likely to be other errors due to protected or unsupported TPM features."

      If this was not clear, can you suggest better wording?

      You are welcome to alter the regression test, but I don't understand why you would want to.

       
  • Fuzail Khan

    Fuzail Khan - 2016-11-17

    Thanks Ken,

     
  • Fuzail Khan

    Fuzail Khan - 2016-11-17

    When I saw that the commands worked against the HW TPM, I wanted to try to run the regression test too.

    My platform firmware is not setting any authorization for the TPM. I successfully ran most of the tests but the 'PCR test', where SHA384 is tested, failed.

     

Log in to post a comment.