X25519_Lua.h (421B)
1 /* 2 * X25519_Lua.h - Lua bindings for X25519 key exchange 3 */ 4 5 #ifndef X25519_LUA_H 6 #define X25519_LUA_H 7 8 #include <lua.h> 9 #include <lauxlib.h> 10 11 /* Lua function bindings */ 12 int l_x25519_keypair(lua_State *L); /* Generate keypair from seed */ 13 int l_x25519_public_key(lua_State *L); /* Derive public key from secret */ 14 int l_x25519_shared_secret(lua_State *L); /* Compute shared secret */ 15 16 #endif /* X25519_LUA_H */