17#ifndef _FGE_FGE_CRYPT_HPP_INCLUDED
18#define _FGE_FGE_CRYPT_HPP_INCLUDED
20#include "FastEngine/network/C_client.hpp"
21#include "FastEngine/network/C_packet.hpp"
26[[nodiscard]]
bool CryptClientInit(
void*& ctx);
27[[nodiscard]]
bool CryptServerInit(
void*& ctx);
28void CryptUninit(
void*& ctx);
30[[nodiscard]]
bool CryptClientCreate(
void* ctx, net::Client& client);
31[[nodiscard]]
bool CryptServerCreate(
void* ctx, net::Client& client);
32void CryptClientDestroy(net::Client& client);
34[[nodiscard]]
bool CryptEncrypt(net::Client& client, net::Packet& packet);
35[[nodiscard]]
bool CryptDecrypt(net::Client& client, net::Packet& packet);