Documentation
¶
Overview ¶
Package kdf provides a key derivation function to calculate key output and negotiate shared secrets for curve X25519 keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateSharedSecret ¶
CalculateSharedSecret uses DH Curve25519 to find a shared secret. The result of this function should be used in `DeriveSecrets` to output the Root and Chain keys.
Types ¶
type KeyMaterial ¶
KeyMaterial is a structure for representing a cipherkey, mac, and iv
Click to show internal directories.
Click to hide internal directories.