From: Hal F. <hal...@gm...> - 2006-09-10 15:58:45
|
On 9/10/06, Burak O=D0UZ <bur...@ya...> wrote: > Are there any URL taht i can find sample TSS TSPI codes? I am new to this > concept and these sources will help me a lot.. Burak - Go to the same place you can download Trousers from: http://sourceforge.net/project/showfiles.php?group_id=3D126012 Then take a look at the TSS API test suite - it has many files that exercise all the different Trousers API (TSPI) calls. One thing to be aware of, most of the calls get tested both to make sure they work but also to make sure they fail when they should. Usually the files that end with "01.c" are the ones that are supposed to work, and the "02.c" and higher numbers are supposed to fail. So if you are looking for examples the "01" files are the best ones. An exception seems to be the "highlevel" directory, I think all the files in that are supposed to work. The tpm-tools is another download from the page above, and has more useful samples. Hal |