Change signature calculation to data/IV/secret