Make signature comparison constant-time.