Online-offline homomorphic signatures for polynomial functions