LuaJIT中ctypes和FFI的一點雜談 on 2021 年 4 月 2 日 Lua 0 14329 轉為簡體 因為聽到了兩聲雷,所以要發兩篇博客。 ——魯迅 這篇博客來聊聊LuaJIT FFI裏面ctypes的實現。 Read More→
lua-resty-openssl: 基於FFI的Lua OpenSSL庫 on 2019 年 9 月 26 日 Lua 0 12456 轉為簡體 FFI-based OpenSSL binding for OpenResty https://github.com/fffonion/lua-resty-openssl 52 forks. 170 stars. 7 open issues. Recent commits: release: 1.8.0 (#237), GitHub fix(*) correct error message from bn:mod_sqr and pkey (#233)- pkey.lua: use builtin tostring (not the file-local __tostring serializer) and preserve the original padding value in the "invalid padding" error message.- bn.lua: fix copy-paste mistakes in error reporting — mod_sqr now tags check_args as "mod_sqr" (was "mod_sub"), and __shr reports "BN_rshift() failed" (was "BN_lshift() failed").Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>, GitHub chore(ci) bump actions version, Wangchong Zhou chore(ci) add openssl 4.0 matrix and bump fips provider, Wangchong Zhou doc(readme) improve English, Wangchong Zhou 支持OpenSSL 1.1.x, 1.0.x和1.0.2系列