# Packages
Package client (eap.client) provides interface to supported & registered EAP Authenticator Providers
.
Package main implements eap_router service.
No description provided by the author
Copyright 2020 The Magma Authors.
Package test provides common definitions and function for eap related tests.
# Functions
CreateSessionId creates & returns unique session ID string.
EncodeMsMppeKey implements RFC 2048 encoding for MS-MPPE-Send-Key & MS-MPPE-Recv-Key radius keys, returns padded & encoded key.
NewAttribute creates and returns new attribute of given type (typ) & value the new attribute is padded with zeros to 4 byte boundary.
No description provided by the author
NewDuplicateDetector returns a new detector supporting bitLen possible combinations.
NewPacket creates an EAP Packet with initialized header and appends provided data if additionalCapacity is specified, NewPacket reserves extra additionalCapacity bytes capacity in the returned packet byte slice.
NewPreallocatedPacket creates an EAP Packet from/in passed data slice & initializes its header.
NewRawAttribute 'casts' given slice to Attribute type without any validations.
XorBytes returns a new byte slice c where c[i] = a[i] ^ b[i].
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EapMaxLen maximum possible length of EAP Packet.
EAP Message Payload Offsets.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EapSubtype - pseudonym for EapMsgData.
No description provided by the author
EAP Related Consts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
attribute EAP Method's attribute implementation attribute provides the following interface:
.