From: Cihula, J. <jos...@in...> - 2008-02-14 18:28:18
|
On Thursday, February 14, 2008 3:30 AM, Jun Koi wrote: > Hi, > > I am enjoying reading the tboot source code. I found that one of the > first steps of tboot is to check some TPM functions. However, I dont > understand the idea behind some tests, like in the function > tpm_unit_test_before_senter(). > > Joseph, could you explain a bit about the motivation of those tests? The various test routines were used to validate that the TPM code was working correctly. They are not actually invoked by default and require that TPM_UNIT_TEST be defined in order to be compiled in. The current code has actually moved all of this test code into a test-patches directory to make the regular code easier to read. We felt that it was useful to keep these tests as part of the distribution so that we could re-validate the code if we needed to make some changes and so that others could benefit by seeing what and how it was tested. > > Many thanks, > Jun > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > tboot-devel mailing list > tbo...@li... > https://lists.sourceforge.net/lists/listinfo/tboot-devel |