use libnettle for checksumming if libgnutls not available or too old