Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeyOnCurve25519 ¶
type KeyOnCurve25519 struct {
// contains filtered or unexported fields
}
func NewKeyOnCurve25519 ¶
func NewKeyOnCurve25519() (KeyOnCurve25519, error)
func (KeyOnCurve25519) PairVerifySharedSecret ¶
func (k KeyOnCurve25519) PairVerifySharedSecret(otherPublicKey []byte) ([]byte, error)
func (KeyOnCurve25519) PublicKey ¶
func (k KeyOnCurve25519) PublicKey() []byte
type SRPSession ¶
type SRPSession struct {
// contains filtered or unexported fields
}
func NewSRPSession ¶
func NewSRPSession(pin []byte) (*SRPSession, []byte, error)
func (SRPSession) ExchangeProof ¶
func (s SRPSession) ExchangeProof(clientProof []byte) ([]byte, bool)
func (SRPSession) PairSetupSharedSecret ¶
func (s SRPSession) PairSetupSharedSecret(otherPublicKey []byte) ([]byte, error)
func (SRPSession) PublicKey ¶
func (s SRPSession) PublicKey() []byte
type SRPSharedSecret ¶
type SRPSharedSecret []byte
func (SRPSharedSecret) AccessorySign ¶
func (s SRPSharedSecret) AccessorySign() ([]byte, error)
func (SRPSharedSecret) ControllerSign ¶
func (s SRPSharedSecret) ControllerSign() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.