Git Product home page Git Product logo

Comments (4)

steven-bellock avatar steven-bellock commented on August 22, 2024 1

The Integrator needs to monitor request_attribute and the SignatureRequested bit, since content_change can only be asserted when a signature is requested. So it keeps track of measurements when SignatureRequested is not set, and does a comparison when SignatureRequested is set.

from libspdm.

rw8896 avatar rw8896 commented on August 22, 2024

Thanks and I think that works for normal scenario. But as "Any communication between Requester and Responder other than a GET_MEASUREMENTS request or response re-initializes L1/L2 computation to null .", the integrator seems not able to know if L1/L2 has been re-inited?

from libspdm.

steven-bellock avatar steven-bellock commented on August 22, 2024

Yes, that looks like it's an issue. The state of the l1/l2 transcript is stored in the spdm_context but it is currently not public. We would need to provide a public function to query the transcript state. @jyao1 does that sound good?

from libspdm.

rw8896 avatar rw8896 commented on August 22, 2024

I feel a callback function to notify L1/L2 was reset might be easier for integrators to track the measurement.
Maybe provide a callback function for transcript state change (similar to connection state callback)?

from libspdm.

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.