Oxidation of cobalt at high temperature