Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libspdm: responder: Support PSK with ResponderContext #93

Merged
merged 1 commit into from
Jul 29, 2024

Commits on Jul 25, 2024

  1. libspdm: responder: Support PSK with ResponderContext

    We currently advertise that we support
    
        Pre-Shared Key but does not provide ResponderContext for session key derivation.
    
    Let's update this to instead advertise
    
        Pre-Shared Key and provides ResponderContext for session key derivation
    
    The SPDM spec states that:
    
         the Responder is required to use ResponderContext if it can generate a nonce
    
    which we can, so let's adertise ResponderContext.
    
    This also allows the libspdm function libspdm_get_response_psk_finish() to
    work correctly.
    
    Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
    alistair23 committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    881534e View commit details
    Browse the repository at this point in the history