Fix and test HMACs.