The algorithm isn't under GPL, the code is. John took the algorithm itself from code which was written earlier.