Calling CRC functions from Lua

asked 2018-06-05 23:58:45 +0000

cmcqueen1975 gravatar image

Does Wireshark provide an API for CRC calculations from Lua dissectors? I see Wireshark has many CRC functions in C; can they be called from Lua?

If they can't be called from Lua, are there good Lua bindings available for CRC calculations? I've managed to build luagcrypt to call libgcrypt, and I am using that to do CRC-32. But libgcrypt doesn't have 16-bit CRCs such as CRC-CCITT.

edit retag flag offensive close merge delete