make reinitialisation work for CMAC