package ssh
import "crypto/internal/fips140/ssh"
Package ssh implements the SSH KDF as specified in RFC 4253, Section 7.2 and allowed by SP 800-135 Revision 1.
Index ¶
- func Keys[Hash fips140.Hash](hash func() Hash, d Direction, K, H, sessionID []byte, ivKeyLen, keyLen, macKeyLen int, ) (ivKey, key, macKey []byte)
- type Direction
Functions ¶
func Keys ¶
func Keys[Hash fips140.Hash](hash func() Hash, d Direction, K, H, sessionID []byte, ivKeyLen, keyLen, macKeyLen int, ) (ivKey, key, macKey []byte)
Types ¶
type Direction ¶
type Direction struct {
// contains filtered or unexported fields
}
var ServerKeys, ClientKeys Direction
Source Files ¶
- Version
- v1.24.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 36 minutes ago –
Tools for package owners.