Versions in this module Expand all Collapse all v1 v1.1.1 Aug 18, 2020 Changes in this version + const BitsPerUint + const CodeResponse + const EapFirstAttribute + const EapFirstAttributeLen + const EapHeaderLen + const EapMaxLen + const EapMsgCode + const EapMsgData + const EapMsgIdentifier + const EapMsgLenHigh + const EapMsgLenLow + const EapMsgMethodType + const EapReserved1 + const EapReserved2 + const EapSubtype + const FailureCode + const MethodIdentity + const MethodNak + const RequestCode + const ResponseCode + const SuccessCode + const UndefinedCode + func CreateSessionId() string + func EncodeMsMppeKey(salt, key, authenticatorKey, sharedSecret []byte) []byte + func NewAttribute(typ AttrType, data []byte) attribute + func NewAttributeScanner(eapData Packet) (*attributeScanner, error) + func NewDuplicateDetector(bitLen uint) *duplicateDetector + func NewRawAttribute(data []byte) attribute + func XorBytes(a, b []byte) []byte + type AttrType uint8 + type Attribute interface + AttrLen func() uint8 + Len func() int + Marshaled func() []byte + String func() string + Type func() AttrType + Value func() []byte + type Packet []byte + func NewPacket(code, identifier uint8, data []byte, additionalCapacity ...uint) Packet + func NewPreallocatedPacket(identifier uint8, data []byte) (Packet, error) + func (eap Packet) Append(a Attribute) (Packet, error) + func (p Packet) Code() uint8 + func (p Packet) Failure() Packet + func (p Packet) Identifier() uint8 + func (p Packet) IsSuccess() bool + func (p Packet) Len() int + func (p Packet) Truncate() Packet + func (p Packet) Type() uint8 + func (p Packet) TypeData() []byte + func (p Packet) TypeDataUnsafe() []byte + func (p Packet) Validate() error Other modules containing this package github.com/go-magma/magma