Heimdal includes a bundled libtommath. See linked issue for some context. This patch may let us use the system one for now: https://github.com/heimdal/heimdal/issues/324#issuecomment-612601258 Looks like changes in Heimdal were/are needed because of custom function(s) added.