A device for processing the external gear of an internal gear pump