compatibility with nettle version 2.4