Versions in this module Expand all Collapse all v0 v0.1.0 Oct 13, 2026 Changes in this version + var ErrAuthFailed = errors.New("cpace: the other party does not hold the same password") + var ErrMalformed = errors.New("cpace: malformed message") + var ErrNoPassword = errors.New("cpace: no password") + type Config struct + AD []byte + CI []byte + PRS []byte + SID []byte + type Initiator struct + func NewInitiator(cfg Config) (*Initiator, []byte, error) + func (i *Initiator) Finish(reply []byte) ([]byte, Result, error) + type Responder struct + func NewResponder(cfg Config, start []byte) (*Responder, []byte, error) + func (r *Responder) Finish(confirm []byte) (Result, error) + type Result struct + ISK []byte + PeerAD []byte