[tor-commits] [tor/master] Refactor digest allocation backend code