go_chacha20poly1305_openssh/types.go

12 lines
257 B
Go

package cc20p1305ssh
/*
ChaCha20Poly1305OpenSSH is an implementation of the chacha20poly1305@openssh.com private key cipher.
Use New to return a usable version.
*/
type ChaCha20Poly1305OpenSSH struct {
kdfKey [KDFKeySize]byte
realKey [KeySize]byte
}