Comments (1)
Is this example designed to work with the general purpose tooling (like the tpm2-tools on Linux)?
The Samples were contributed by various folks at various times in the past and are not maintained on an ongoing basis and consequently are provided on an "AS IS", unsupported basis as indicated in the LICENSE file.
Are there any information available on how it was tested?
I have no idea, sorry.
what we should expect to work ... ?
First, let me mention an overarching premise that qualifies everything else I say... As indicated in the LICENSE file, this repo is technically provided on an AS IS basis, so I can't guarantee any particular level of support or even correctness. What follows is an UNOFFICIAL statement to help you understand what has a good chance of working and what kinds of questions are likely to get the best response.
You can typically expect that the main code line (everything under the TPMCmd/tpm folder) should work according to the TPM specifications using the ExecuteCommand function as the entry point, provided several other assumptions are true: (1) the chosen crypto-library supports the algorithms you are interested in, (2) the implementation and switch headers are correctly configured, and (3) the relevant platform code provided by your application is correct.
Everything "above" ExecuteCommand in the stack to connect the main library to whatever higher level external interface is up to the developer of a particular instantiation or application. Also, the implementation of the platform specific functions (_plat*) are expected to be provided by the platform/application developer as well.
The Simulator in TPMCmd/simulator is one such application that is more commonly used by the code maintainers and therefore is one of the better, most up-to-date examples.
from ms-tpm-20-ref.
Related Issues (20)
- Build fails
- the DFStart function may has two lines of code implementation that may be incorrect
- Building STM32 sample implementation HOT 2
- error: use of undeclared identifier 'tpmHashStateImport_SHA512' HOT 2
- NV_MEMORY_SIZE HOT 2
- Cooperative Checkpointing Implementation HOT 3
- How to enable MEASURED_BOOT macro using a yocto recipe HOT 1
- TPM2_LoadExternal does not validate authPolicy size if private area is not loaded. HOT 1
- This repo is missing important files
- Default branch changed from `master` to `main`
- NO_LONGJMP doesn't work - TpmFail() and _plat__Fail() do not use TPM_FAIL_RETURN as return attribute HOT 10
- Code formatting for TPM reference implementation HOT 1
- Is the generator for the TPM sources available? HOT 8
- fTPM usage of RTC HOT 2
- Where to find the TPM 2.0 Spec
- Does not build with OpenSSL 3 HOT 1
- WolfSSL reference outdated
- Missing dependencies break parallel fTPM builds HOT 1
- bad substitution when configuring TPMCmd in Windows Subsystem for Ubuntu Linux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ms-tpm-20-ref.