Versions in this module Expand all Collapse all v1 v1.1.1 Aug 18, 2020 Changes in this version + const ATT_HDR_LEN + const AT_ANY_ID_REQ + const AT_AUTN + const AT_AUTN_ATTR_LEN + const AT_AUTS + const AT_CHECKCODE + const AT_CLIENT_ERROR_CODE + const AT_COUNTER + const AT_COUNTER_TOO_SMALL + const AT_ENCR_DATA + const AT_FULLAUTH_ID_REQ + const AT_IDENTITY + const AT_IV + const AT_MAC + const AT_MAC_ATTR_LEN + const AT_NEXT_PSEUDONYM + const AT_NEXT_REAUTH_ID + const AT_NONCE_MT + const AT_NONCE_S + const AT_NOTIFICATION + const AT_PADDING + const AT_PERMANENT_ID_REQ + const AT_RAND + const AT_RAND_ATTR_LEN + const AT_RES + const AT_RESULT_IND + const AT_SELECTED_VERSION + const AT_VERSION_LIST + const AUTN_LEN + const DefaultChallengeTimeout + const DefaultErrorNotificationTimeout + const DefaultSessionAuthenticatedTimeout + const DefaultSessionTimeout + const EapAkaServiceName + const MAC_LEN + const MIN_PACKET_LEN + const MaxImsiLen + const MinImsiLen + const NOTIFICATION_ACCESS_DENIED + const NOTIFICATION_FAILURE + const NOTIFICATION_FAILURE_AUTH + const NOTIFICATION_NOT_SUBSCRIBED + const NOTIFICATION_SUCCESS + const RAND_LEN + const RandAutnLen + const TYPE + func AppendMac(p eap.Packet, K_aut []byte) (eap.Packet, error) + func EapErrorRes(id uint8, code uint16, rpcCode codes.Code, ctx *aaa.Context, f string, ...) (*protos.Eap, error) + func EapErrorResPacket(id uint8, code uint16, rpcCode codes.Code, f string, a ...interface{}) (eap.Packet, error) + func EapErrorResPacketWithMac(id uint8, code uint16, K_aut []byte, rpcCode codes.Code, f string, ...) (eap.Packet, error) + func Error(code codes.Code, err error) error + func Errorf(code codes.Code, format string, a ...interface{}) error + func GSum(h *[5]uint32, data []byte) []byte + func GenMac(data, K_aut []byte) []byte + func HmacSha1(data, key []byte) []byte + func MK(identity, IK, CK []byte) []byte + func MakeAKAKeys(identity, IK, CK []byte) (K_encr, K_aut, MSK, EMSK []byte) + func NewAKANotificationReq(identifier uint8, code uint16) eap.Packet + func NewIdentityReq(identifier uint8, attr eap.AttrType) eap.Packet + func XSum(xkey []byte) []byte + type AkaState int16 + const StateAuthenticated + const StateChallenge + const StateCreated + const StateIdentity + const StateNone + type IMSI string + func (i IMSI) Validate() error + type Subtype uint8 + const SubtypeAuthenticationReject + const SubtypeChallenge + const SubtypeClientError + const SubtypeIdentity + const SubtypeNotification + const SubtypeReauthentication + const SubtypeSynchronizationFailure Other modules containing this package github.com/go-magma/magma