Both. Good question.
Although it would be much harder to prove, of course, that I never saw the original code/implementation.