Skip to content

Curious about key exchange construction #586

@taylortrimble

Description

@taylortrimble

I noticed that for the kx construction, both public keys are added to the KDF hash. (source)

I am under the impression that the public keys are already incorporated into the derived key, in a way, by the scalarmult step. (source)

Is adding the public keys to the KDF hash done merely out of an abundance of caution, or does it prevent a concrete attack on the plain scalarmult?

Thank you for writing this package so cleanly that I can link to small pieces of the source to help ask my question. 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions