Documentation ¶
Index ¶
Constants ¶
View Source
const ( MAC_KEY_SIZE = 16 ENC_KEY_SIZE = 16 )
View Source
const ( AUTH_MIN_DURATION = (10 * time.Second) // 10 sec AUTH_DELAY_RATE = (1 * time.Second) // increase 1 sec per retry AUTH_RETRY_LIMIT = 10 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthClient ¶
func NewClient ¶
func NewClient(cred []byte, n, k int) *AuthClient
func (*AuthClient) Done ¶
func (c *AuthClient) Done(phase int) bool
func (*AuthClient) GetCipherKey ¶
func (c *AuthClient) GetCipherKey() ([]byte, error)
func (*AuthClient) ProcessResponse ¶
type AuthParams ¶
type AuthParams struct {
// contains filtered or unexported fields
}
type AuthPartialSecret ¶
type AuthPartialSecret struct { sss.Coordinate Xi []byte Ni []byte Pi []byte // contains filtered or unexported fields }
type AuthServer ¶
type AuthServer struct {
// contains filtered or unexported fields
}
func (*AuthServer) MakeResponse ¶
Click to show internal directories.
Click to hide internal directories.