GithubHelp home page GithubHelp logo

Comments (1)

bradlitterell avatar bradlitterell commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.