Documentation ¶
Index ¶
- Constants
- Variables
- func ClientHandshake(ID, B []byte) (client_handshake []byte, X_, x_ *[G_LENGTH]byte)
- func ClientVerifyHandshake(ID, B_ []byte, X, x *[G_LENGTH]byte, serverHandshake []byte) (io.Reader, error)
- func H(message, tweak []byte) []byte
- func ServerHandshake(b *[G_LENGTH]byte, client_handshake []byte) (serverHandshake []byte, kdf io.Reader)
Constants ¶
View Source
const ( H_LENGTH = 32 ID_LENGTH = 20 G_LENGTH = 32 CLIENT_HANDSHAKE_LENGTH = ID_LENGTH + G_LENGTH + G_LENGTH )
Variables ¶
Functions ¶
func ClientHandshake ¶
func ClientVerifyHandshake ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.