Commit Graph

75 Commits

Author SHA1 Message Date
Peter Huewe
6df34b5488 Update Link to latest AppNote
As of 2019-01-11 a new Application Note is available.
Fixes #12 

Signed-off-by: Peter Huewe <peter.huewe@infineon.com>
2019-02-18 15:23:35 +01:00
Peter Huewe
f1c86517a0 Use HTTPs for links 2018-11-05 23:07:46 +01:00
Peter Huewe
ec518c5e04 Improve help message for Get Random
The previous help message for Get Random indicated that the user can enter a value of 32 for 0x32 (=50 bytes) .
However the maximum supported number of bytes is 0x20 = 32 bytes.
This patch improves the help message to reflect this maximum.
Reported by @zveriu in issue #11.
Signed-off-by: Peter Huewe <peter.huewe@infineon.com>
2018-05-08 10:32:32 +02:00
Peter Huewe
db61889621 Fix whitespace/indention to make code more readable
For some reason the indention and whitespaces were quite messed up.
This patchset fixes this and makes the code much more readable

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
2018-03-22 23:29:33 +01:00
Peter Huewe
b01a7f2786 Use architecture independent format specifiers.
On 64bit machines the compilation yielded some warnings due to incorrect
format specifiers. Use the standard one from inttypes.h.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
2018-03-22 23:29:33 +01:00
Peter Huewe
771b11f775 Make eltt2 c99 compliant
Some implicit headerfiles were missing, if used without -std=gnu99.
Since we do not rely on gnu99 behavior by including the header files,
we can use -std=c99, which we state explicitly in the Makefile now.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
2018-03-22 23:29:33 +01:00
Thomas Furtner
aa19ece77f Merge pull request #9 from PeterHuewe/master
Fix and improve TPM2_GetCapability Flag handling
2018-03-12 19:08:34 +01:00
Peter Huewe
b465094f23 Fix and improve TPM2_GetCapability Flag handling
Instead of using pre-defined offsets within the response buffer,
this patch now uses the property tags to match the flags.
This is less error prone in case some structures get added to the
response of TPM2_GetCapability.

Tested with SLB9670 FW Version 7.40.2098.0 on Raspberry Pi 3

Signed-off-by: Peter Huewe <peter.huewe@infineon.com>
2018-03-12 17:58:00 +00:00
Thomas Furtner
411d21d8a1 Merge pull request #6 from Infineon/dev
Replace tabs with white spaces to align function descriptions
2017-09-11 14:55:06 +02:00
Thomas
fb49692046 replace tabs of parameter explanation comments of functions with spaces 2017-09-11 14:52:13 +02:00
Thomas
81b03fef5a replace tabs of parameter explanation comments of functions with spaces 2017-09-11 14:50:46 +02:00
Thomas
ded6b58ba1 replace tabs of parameter explanation comments of functions with spaces 2017-09-11 14:47:56 +02:00
Thomas
2b4fad42d4 edit parameter description of eltt2.c to align second column 2017-09-11 14:38:10 +02:00
Thomas
767e322105 edit parameter description of eltt2.c to align second column in line 32 2017-09-11 14:36:42 +02:00
Thomas
a6d0996f0c edit parameter description of eltt2.c 2017-09-11 14:33:43 +02:00
Thomas Furtner
28e7ba0b4a Merge pull request #5 from Infineon/dev
edit header description of eltt2.c
2017-09-11 14:32:31 +02:00
Thomas
b677fc9ecf edit header description of eltt2.c 2017-09-11 14:30:56 +02:00
Thomas Furtner
7957b2befb Merge pull request #4 from Infineon/dev
Dev
Version_1.1
2017-09-11 14:24:27 +02:00
Furtner Thomas (IFAG CCS M CS AE)
bc8a126309 Merge pull request #2 in CCSESS/eltt2 from dev to master
change bit selection of capability function

* commit '5bf0910e5a2b544c3e75c3f02f3913689f8a9fe9':
  change bit selection in print_capability_flags
2017-09-11 14:11:50 +02:00
Thomas
5bf0910e5a change bit selection in print_capability_flags 2017-09-11 14:05:34 +02:00
Furtner Thomas (IFAG CCS M CS AE)
f01fd20cc6 Merge pull request #1 in CCSESS/eltt2 from dev to master
* commit 'e857919d341185669191b31751c305358dd6bfa9':
  update
2017-07-20 13:10:17 +02:00
Furtner Thomas (IFAG CCS M CS AE)
e857919d34 update 2017-07-20 12:52:14 +02:00
Thomas Furtner
c248520926 Update eltt2.c 2017-06-23 08:46:20 +02:00
Thomas Furtner
c1395f17cc Merge pull request #3 from Infineon/dev
Dev
2017-06-13 11:24:44 +02:00
Thomas Furtner
faeb14b17f Update README.md 2017-05-03 09:22:45 +02:00
Thomas Furtner
aebce7245f Update README.md 2017-05-03 09:22:18 +02:00
Thomas Furtner
697adef451 Update README.md 2017-05-03 09:19:45 +02:00
Thomas Furtner
8d80a0305f Delete TPM_SLB9670_Raspberry.JPG 2017-05-03 09:17:22 +02:00
Thomas Furtner
bdb861a8e6 Update README.md 2017-05-03 09:15:18 +02:00
Thomas Furtner
6815295f8b Update README.md 2017-05-03 09:13:28 +02:00
Thomas Furtner
94180894d9 Add files via upload 2017-05-03 09:12:45 +02:00
Thomas Furtner
0863c315d4 Update README.md 2017-05-03 09:11:24 +02:00
Thomas Furtner
27a961ac7d Update README.md 2017-05-03 09:06:48 +02:00
thomas
758a41f16d edit README file to show new command line option
edit eltt2.c to show new option in help menu
2017-04-16 21:16:42 +02:00
thomas
785d85fbc1 remove Startup Clear print from -g option 2017-04-16 20:56:35 +02:00
thomas
1d26835070 rm compiled ellt2 file 2017-04-16 20:46:05 +02:00
thomas
31fc059693 add -v option to print variable TPM capabilites 2017-04-16 20:41:12 +02:00
Thomas Furtner
69fc6e84e9 Update README.md Version_1.0 2017-04-10 11:38:39 +02:00
Thomas Furtner
f4ce6cb061 Update README.md 2017-04-10 11:25:56 +02:00
Thomas Furtner
71b27e61fe Update README.md 2017-04-10 11:24:06 +02:00
Thomas Furtner
846e9e566a Update README.md 2017-04-10 11:23:20 +02:00
Thomas Furtner
d07a5a3abf Update README.md 2017-04-10 11:23:08 +02:00
Thomas Furtner
2a46bf3a39 Update README.md 2017-04-10 11:13:45 +02:00
Thomas Furtner
b4f964836a Update README.md 2017-04-10 11:11:59 +02:00
Thomas Furtner
1ed99100e0 Update README.md 2017-04-10 11:09:30 +02:00
Thomas Furtner
8292ac79d0 Update README.md 2017-04-10 11:08:20 +02:00
Thomas Furtner
45354f0d49 Update README.md 2017-04-10 11:03:53 +02:00
Thomas Furtner
6cc28fe0b0 Update README.md 2017-04-10 11:02:45 +02:00
Thomas Furtner
026fadcd05 Update README.md 2017-04-10 10:56:32 +02:00
Thomas Furtner
9b3c949c65 Update README.md 2017-04-10 10:53:53 +02:00