1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-29 03:20:33 +03:00
SoftEtherVPN/src/Cedar
Davide Beatrici 233e28f38c Refactor Base64 functions, encode/decode using OpenSSL's EVP interface
Our own implementation works fine, however we should use OpenSSL's one since we already link to the library.

Base64Decode() and Base64Encode() return the required buffer size when "dst" is NULL.

This allows to efficiently allocate a buffer, without wasting memory or risking an overflow.

Base64FromBin() and Base64ToBin() perform all steps, returning a heap-allocated buffer with the data in it.
2021-07-02 09:24:41 +02:00
..
winpcap Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Account.c Include headers properly 2021-04-05 04:48:25 +02:00
Account.h Include headers properly 2021-04-05 04:48:25 +02:00
Admin.c Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00
Admin.h Include headers properly 2021-04-05 04:48:25 +02:00
AzureClient.c Include headers properly 2021-04-05 04:48:25 +02:00
AzureClient.h Include headers properly 2021-04-05 04:48:25 +02:00
Bridge.c Include headers properly 2021-04-05 04:48:25 +02:00
Bridge.h Include headers properly 2021-04-05 04:48:25 +02:00
BridgeUnix.c Fix compile errors on OpenBSD 2021-05-03 19:58:12 +02:00
BridgeUnix.h Include headers properly 2021-04-05 04:48:25 +02:00
BridgeWin32.c Include headers properly 2021-04-05 04:48:25 +02:00
BridgeWin32.h Include headers properly 2021-04-05 04:48:25 +02:00
Cedar.c Include headers properly 2021-04-05 04:48:25 +02:00
Cedar.h Include headers properly 2021-04-05 04:48:25 +02:00
CedarType.h Include headers properly 2021-04-05 04:48:25 +02:00
Client.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Client.h Include headers properly 2021-04-05 04:48:25 +02:00
CM.c Remove obsolete hardcoded build number checks 2021-06-27 07:21:06 +02:00
CM.h Include headers properly 2021-04-05 04:48:25 +02:00
CMakeLists.txt CMake: Fix regular expression for BLAKE2 SSE2 source files selection 2021-03-01 23:24:34 +01:00
CMInner.h Include headers properly 2021-04-05 04:48:25 +02:00
Command.c Cedar: Add support for 32 bit unsigned integer Proto options 2021-04-21 08:12:45 +02:00
Command.h Include headers properly 2021-04-05 04:48:25 +02:00
Connection.c Rewrite DNS API from scratch into dedicated file(s) 2021-04-18 01:46:59 +02:00
Connection.h Include headers properly 2021-04-05 04:48:25 +02:00
Console.c Include headers properly 2021-04-05 04:48:25 +02:00
Console.h Include headers properly 2021-04-05 04:48:25 +02:00
Database.c Include headers properly 2021-04-05 04:48:25 +02:00
Database.h Include headers properly 2021-04-05 04:48:25 +02:00
DDNS.c Include headers properly 2021-04-05 04:48:25 +02:00
DDNS.h Include headers properly 2021-04-05 04:48:25 +02:00
EM.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
EM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
EMInner.h Include headers properly 2021-04-05 04:48:25 +02:00
EtherLog.c Include headers properly 2021-04-05 04:48:25 +02:00
EtherLog.h Include headers properly 2021-04-05 04:48:25 +02:00
Hub.c Fix IPv6 Neighbor Discovery for PPP based protocols 2021-05-09 13:55:31 +02:00
Hub.h Include headers properly 2021-04-05 04:48:25 +02:00
IPC.c Fix IPv6 Neighbor Discovery for PPP based protocols 2021-05-09 13:55:31 +02:00
IPC.h Include headers properly 2021-04-05 04:48:25 +02:00
Layer3.c Include headers properly 2021-04-05 04:48:25 +02:00
Layer3.h Include headers properly 2021-04-05 04:48:25 +02:00
Link.c Include headers properly 2021-04-05 04:48:25 +02:00
Link.h Include headers properly 2021-04-05 04:48:25 +02:00
Listener.c Include headers properly 2021-04-05 04:48:25 +02:00
Listener.h Include headers properly 2021-04-05 04:48:25 +02:00
Logging.c Rewrite DNS API from scratch into dedicated file(s) 2021-04-18 01:46:59 +02:00
Logging.h Include headers properly 2021-04-05 04:48:25 +02:00
Nat.c Include headers properly 2021-04-05 04:48:25 +02:00
Nat.h Include headers properly 2021-04-05 04:48:25 +02:00
NativeStack.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
NativeStack.h Include headers properly 2021-04-05 04:48:25 +02:00
netcfgn.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
netcfgx.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
NM.c Include headers properly 2021-04-05 04:48:25 +02:00
NM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
NMInner.h Include headers properly 2021-04-05 04:48:25 +02:00
NullLan.c Include headers properly 2021-04-05 04:48:25 +02:00
NullLan.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_EtherIP.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_EtherIP.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_IKE.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Proto_IKE.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_IkePacket.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Proto_IkePacket.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_IPsec.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_IPsec.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_L2TP.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_L2TP.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_OpenVPN.c Cedar/Proto_OpenVPN: Make timeout and ping transmission interval configurable 2021-04-21 08:29:30 +02:00
Proto_OpenVPN.h Cedar/Proto_OpenVPN: Make timeout and ping transmission interval configurable 2021-04-21 08:29:30 +02:00
Proto_PPP.c Cedar/Proto_PPP: Fix EAP-TLS fragmentation 2021-06-17 11:34:09 +00:00
Proto_PPP.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_SSTP.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_SSTP.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_Win7.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
Proto_Win7.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_Win7Inner.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto_WireGuard.c Include headers properly 2021-04-05 04:48:25 +02:00
Proto_WireGuard.h Include headers properly 2021-04-05 04:48:25 +02:00
Proto.c Cedar: Add support for 32 bit unsigned integer Proto options 2021-04-21 08:12:45 +02:00
Proto.h Cedar: Add support for 32 bit unsigned integer Proto options 2021-04-21 08:12:45 +02:00
Protocol.c Remove obsolete hardcoded build number checks 2021-06-27 07:21:06 +02:00
Protocol.h Include headers properly 2021-04-05 04:48:25 +02:00
Radius.c Rewrite DNS API from scratch into dedicated file(s) 2021-04-18 01:46:59 +02:00
Radius.h Include headers properly 2021-04-05 04:48:25 +02:00
Remote.c Include headers properly 2021-04-05 04:48:25 +02:00
Remote.h Include headers properly 2021-04-05 04:48:25 +02:00
Sam.c Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00
Sam.h Include headers properly 2021-04-05 04:48:25 +02:00
SecureNAT.c Include headers properly 2021-04-05 04:48:25 +02:00
SecureNAT.h Include headers properly 2021-04-05 04:48:25 +02:00
SeLowUser.c Include headers properly 2021-04-05 04:48:25 +02:00
SeLowUser.h Include headers properly 2021-04-05 04:48:25 +02:00
Server.c Cedar: Add support for 32 bit unsigned integer Proto options 2021-04-21 08:12:45 +02:00
Server.h Include headers properly 2021-04-05 04:48:25 +02:00
Session.c Include headers properly 2021-04-05 04:48:25 +02:00
Session.h Include headers properly 2021-04-05 04:48:25 +02:00
SM.c Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00
SM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SMInner.h Include headers properly 2021-04-05 04:48:25 +02:00
SW.c Include headers properly 2021-04-05 04:48:25 +02:00
SW.h Include headers properly 2021-04-05 04:48:25 +02:00
SWInner.h Include headers properly 2021-04-05 04:48:25 +02:00
UdpAccel.c Rewrite DNS API from scratch into dedicated file(s) 2021-04-18 01:46:59 +02:00
UdpAccel.h Cedar: Make use of IP address reported by NAT-T server for UDP acceleration 2021-04-14 19:49:30 +02:00
UT.c Include headers properly 2021-04-05 04:48:25 +02:00
UT.h Include headers properly 2021-04-05 04:48:25 +02:00
Virtual.c Rewrite DNS API from scratch into dedicated file(s) 2021-04-18 01:46:59 +02:00
Virtual.h Include headers properly 2021-04-05 04:48:25 +02:00
VLan.h Include headers properly 2021-04-05 04:48:25 +02:00
VLanUnix.c Include headers properly 2021-04-05 04:48:25 +02:00
VLanUnix.h Include headers properly 2021-04-05 04:48:25 +02:00
VLanWin32.c Include headers properly 2021-04-05 04:48:25 +02:00
VLanWin32.h Include headers properly 2021-04-05 04:48:25 +02:00
WaterMark.c Include headers properly 2021-04-05 04:48:25 +02:00
WaterMark.h Include headers properly 2021-04-05 04:48:25 +02:00
WebUI.c Include headers properly 2021-04-05 04:48:25 +02:00
WebUI.h Include headers properly 2021-04-05 04:48:25 +02:00
Win32Com.cpp Include headers properly 2021-04-05 04:48:25 +02:00
Win32Com.h Include headers properly 2021-04-05 04:48:25 +02:00
WinJumpList.cpp Include headers properly 2021-04-05 04:48:25 +02:00
WinUi.c Change IP structure so that IPv4 addresses are stored in RFC3493 format 2021-04-07 21:24:55 +02:00
WinUi.h Include headers properly 2021-04-05 04:48:25 +02:00
Wpc.c Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00
Wpc.h Refactor Base64 functions, encode/decode using OpenSSL's EVP interface 2021-07-02 09:24:41 +02:00