// F1 is the network authentication function.
// F1 computes network authentication code MAC-A from key K, random challenge RAND,
// sequence number SQN and authentication management field AMF.
F1 is the network authentication function.
F1 computes network authentication code MAC-A from key K, random challenge RAND,
sequence number SQN and authentication management field AMF.
// F1 is the network authentication function . // F1 computes network authentication code MAC - A from key K random challenge RAND // sequence number SQN and authentication management field AMF .
func (m *Milenage) F1() ([]byte, error) {
	mac, err := m.f1base(m.SQN, m.AMF)
	if err != nil {
		return nil, err
	}
	m.MACA = mac[:8]
	return mac[:8], nil
}
func ( m * Milenage ) F1 ( ) ( [ ] byte , error ) { mac , err := m . f1base ( m . SQN , m . AMF ) if err != nil { return nil , err } m . MACA = mac [ : 8 ] return mac [ : 8 ] , nil }
F1 is the network authentication function.
F1 is the network authentication function .