Versions in this module Expand all Collapse all v1 v1.1.1 Aug 18, 2020 Changes in this version + const AnonymityKeyBytes + const AutnBytes + const ConfidentialityKeyBytes + const ExpectedAmfBytes + const ExpectedAutsBytes + const ExpectedKeyBytes + const ExpectedOpBytes + const ExpectedOpcBytes + const ExpectedPlmnBytes + const IntegrityKeyBytes + const KasmeBytes + const RandChallengeBytes + const XresBytes + func GenerateOpc(key, op []byte) ([ExpectedOpcBytes]byte, error) + type EutranVector struct + Autn [AutnBytes]byte + Kasme [KasmeBytes]byte + Rand [RandChallengeBytes]byte + Xres [XresBytes]byte + type MilenageCipher struct + func NewMilenageCipher(amf []byte) (*MilenageCipher, error) + func NewMockMilenageCipher(amf []byte, rand []byte) (*MilenageCipher, error) + func (milenage *MilenageCipher) GenerateEutranVector(key []byte, opc []byte, sqn uint64, plmn []byte) (*EutranVector, error) + func (milenage *MilenageCipher) GenerateResync(auts, key, opc, rand []byte) (uint64, [8]byte, error) + func (milenage *MilenageCipher) GenerateSIPAuthVector(key []byte, opc []byte, sqn uint64) (*SIPAuthVector, error) + func (milenage *MilenageCipher) GenerateSIPAuthVectorWithRand(rand []byte, key []byte, opc []byte, sqn uint64) (*SIPAuthVector, error) + type MockRNG struct + func (rng MockRNG) Read(b []byte) (int, error) + type SIPAuthVector struct + AnonymityKey [AnonymityKeyBytes]byte + Autn [AutnBytes]byte + ConfidentialityKey [ConfidentialityKeyBytes]byte + IntegrityKey [IntegrityKeyBytes]byte + Rand [RandChallengeBytes]byte + Xres [XresBytes]byte Other modules containing this package github.com/go-magma/magma