// F1Star is the re-synchronisation message authentication function.
// F1Star computes resynch authentication code MAC-S from key K, random challenge RAND,
// sequence number SQN and authentication management field AMF.
//
// Note that the AMF value should be zero to be compliant with the specification
// TS 33.102 6.3.3 (This method just computes with the given value).
F1Star is the re-synchronisation message authentication function.
F1Star computes resynch authentication code MAC-S from key K, random challenge RAND,
sequence number SQN and authentication management field AMF.

Note that the AMF value should be zero to be compliant with the specification
TS 33.102 6.3.3 (This method just computes with the given value).
// F1Star is the re - synchronisation message authentication function . // F1Star computes resynch authentication code MAC - S from key K random challenge RAND // sequence number SQN and authentication management field AMF . // // Note that the AMF value should be zero to be compliant with the specification // TS 33 . 102 6 . 3 . 3 ( This method just computes with the given value ) .
func (m *Milenage) F1Star(sqn, amf []byte) ([]byte, error) {
	mac, err := m.f1base(sqn, amf)
	if err != nil {
		return nil, err
	}
	m.MACS = mac[8:]
	return mac[8:], nil
}
func ( m * Milenage ) F1Star ( sqn , amf [ ] byte ) ( [ ] byte , error ) { mac , err := m . f1base ( sqn , amf ) if err != nil { return nil , err } m . MACS = mac [ 8 : ] return mac [ 8 : ] , nil }
F1Star is the re-synchronisation message authentication function.
F1Star is the re - synchronisation message authentication function .