Documentation ¶
Index ¶
- func Argon2(time, memory uint32, threads uint8) suite.MHF
- func Ed25519Sha256HkdfHmac(mhf suite.MHF) suite.CipherSuite
- func Ed448Sha512HkdfHmac(mhf suite.MHF) suite.CipherSuite
- func P256Sha256HkdfHmac(mhf suite.MHF) suite.CipherSuite
- func P256Sha512HkdfHmac(mhf suite.MHF) suite.CipherSuite
- func P384Sha256HkdfHmac(mhf suite.MHF) suite.CipherSuite
- func P384Sha512HkdfHmac(mhf suite.MHF) suite.CipherSuite
- func Scrypt(N, r, p int) suite.MHF
- type A
- type B
- type Confirmations
- type SharedSecret
- type Spake2
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ed25519Sha256HkdfHmac ¶
func Ed25519Sha256HkdfHmac(mhf suite.MHF) suite.CipherSuite
func Ed448Sha512HkdfHmac ¶
func Ed448Sha512HkdfHmac(mhf suite.MHF) suite.CipherSuite
func P256Sha256HkdfHmac ¶
func P256Sha256HkdfHmac(mhf suite.MHF) suite.CipherSuite
func P256Sha512HkdfHmac ¶
func P256Sha512HkdfHmac(mhf suite.MHF) suite.CipherSuite
func P384Sha256HkdfHmac ¶
func P384Sha256HkdfHmac(mhf suite.MHF) suite.CipherSuite
func P384Sha512HkdfHmac ¶
func P384Sha512HkdfHmac(mhf suite.MHF) suite.CipherSuite
Types ¶
type Confirmations ¶
type Confirmations struct {
// contains filtered or unexported fields
}
func NewConfirmations ¶
func NewConfirmations(confirmation, remoteConfirmation []byte, suite suite.CipherSuite) *Confirmations
func (Confirmations) Bytes ¶
func (c Confirmations) Bytes() []byte
func (Confirmations) Verify ¶
func (c Confirmations) Verify(incomingConfirmation []byte) error
type SharedSecret ¶
type SharedSecret struct {
// contains filtered or unexported fields
}
func (SharedSecret) Bytes ¶
func (s SharedSecret) Bytes() []byte
func (*SharedSecret) Confirmation ¶
func (s *SharedSecret) Confirmation() []byte
func (*SharedSecret) Verify ¶
func (s *SharedSecret) Verify(incomingConfirmation []byte) error
type Spake2 ¶
type Spake2 struct {
// contains filtered or unexported fields
}
func New ¶
func New(s suite.CipherSuite) *Spake2
func (Spake2) ComputeVerifier ¶
type State ¶
type State interface {
Finish([]byte) (*SharedSecret, error)
}
Click to show internal directories.
Click to hide internal directories.