package

ssh

crypto/internal/fips140/v1.0.0/ssh

Package ssh implements the SSH KDF as specified in RFC 4253, Section 7.2 and allowed by SP 800-135 Revision 1.

Functions

Keyssource

func Keys[Hash fips140.Hash](hash func() Hash, d Direction,
	K, H, sessionID []byte,
	ivKeyLen, keyLen, macKeyLen int,
) (ivKey, key, macKey []byte)

type Direction source

type Direction struct {
	// contains filtered or unexported fields
}