Do a constant-time-comparison when checking provided secrets