// ComputeAll fills all the fields in *Milenage struct.
ComputeAll fills all the fields in *Milenage struct.
// ComputeAll fills all the fields in * Milenage struct .
func (m *Milenage) ComputeAll() error {
	if err := m.validateLength(); err != nil {
		return err
	}
	if _, err := m.F1(); err != nil {
		return fmt.Errorf("F1() failed: %w", err)
	}
	if _, err := m.F1Star(m.SQN, m.AMF); err != nil {
		return fmt.Errorf("F1Star() failed: %w", err)
	}
	if _, _, _, _, err := m.F2345(); err != nil {
		return fmt.Errorf("F2345() failed: %w", err)
	}
	if _, err := m.F5Star(); err != nil {
		return fmt.Errorf("F5Star() failed: %w", err)
	}
	return nil
}
func ( m * Milenage ) ComputeAll ( ) error { if err := m . validateLength ( ) ; err != nil { return err } if _ , err := m . F1 ( ) ; err != nil { return fmt . Errorf ( " " , err ) } if _ , err := m . F1Star ( m . SQN , m . AMF ) ; err != nil { return fmt . Errorf ( " " , err ) } if _ , _ , _ , _ , err := m . F2345 ( ) ; err != nil { return fmt . Errorf ( " " , err ) } if _ , err := m . F5Star ( ) ; err != nil { return fmt . Errorf ( " " , err ) } return nil }
ComputeAll fills all the fields in *Milenage struct.
ComputeAll fills all the fields in * Milenage struct .