crypto/ecdh: document, that a key-derivation function is necessary #55977
Labels
Documentation
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I am excited for the new package
crypto/ecdh
that will be added to go 1.20.In the current documentation it says, that
Curve.ECHD()
returns a shared secret. Later it says, that it performs ECDH as specified in RFC 7748, Section 6.1.In RFC 7748 in Section 6.1 there is the sentence:
The current code of X25519().ECHD does not do the key-derivation but returns the shared secret. This is the documented behavior.
I have two questions about this:
The text was updated successfully, but these errors were encountered: