XTEA with erlang nif