hash lib from quagga added