1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-19 10:10:40 +03:00
SoftEtherVPN/src/Cedar
Davide Beatrici 32082eb8af Proto_IkePacket.c: fix and improve IkeHMac() function
Pull request #294 added SHA-256, SHA-384, and SHA-512 support to the protocol, but part of it was removed in faee11ff09, because it caused a buffer over-read crash.

It also broke the MD5 implementation because the switch-case block didn't handle the type anymore.

This pull request fixes all the implementations and improves the IkeHMac() function by using the dedicated hashing functions.
2018-09-11 15:29:12 +02:00
..
winpcap Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Account.c Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Account.h remove unused functions (identified by cppcheck) 2018-02-08 00:20:07 +01:00
Admin.c src/Cedar/Admin.c: remove unused condition, make coverity scan cleaner 2018-08-05 22:33:16 +05:00
Admin.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
AzureClient.c Remove SSLv3 support 2018-08-09 00:25:40 +02:00
AzureClient.h Preparing the development branch 2017-10-19 15:00:41 +09:00
AzureServer.c Preparing the development branch 2017-10-19 15:00:41 +09:00
AzureServer.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Bridge.c Preparing the development branch 2017-10-19 15:00:41 +09:00
Bridge.h Preparing the development branch 2017-10-19 15:00:41 +09:00
BridgeUnix.c src/Cedar/BridgeUnix.c: resolve possible null pointer dereference 2018-09-01 15:00:42 +05:00
BridgeUnix.h src/Cedar/BridgeUnix: null pointer dereference resolved, unused variables, functions removed 2018-08-18 18:59:51 +05:00
BridgeWin32.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
BridgeWin32.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Cedar.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
Cedar.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Cedar.vcproj Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
CedarPch.c Preparing the development branch 2017-10-19 15:00:41 +09:00
CedarPch.h Preparing the development branch 2017-10-19 15:00:41 +09:00
CedarType.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Client.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
Client.h src/Cedar/Client: remove dead code, unused functions, variables 2018-08-18 19:24:12 +05:00
CM.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
CM.h Preparing the development branch 2017-10-19 15:00:41 +09:00
CMakeLists.txt CMake: set build info as compiler macros 2018-08-27 05:50:40 +02:00
CMInner.h Retry connection on untrusted server certificate 2018-08-05 20:48:16 +02:00
Command.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
Command.h src/Cedar/Command: remove dead code, null pointer dereference, unused functions, variables 2018-08-18 17:55:24 +05:00
Connection.c src/Cedar/Connection: resolve null pointer dereference found by coverity, 2018-08-24 15:26:14 +05:00
Connection.h src/Cedar/Connection: resolve null pointer dereference found by coverity, 2018-08-24 15:26:14 +05:00
Console.c Console.c: fix "implicit declaration of function 'getch'" warning 2018-08-10 21:22:36 +02:00
Console.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Database.c Preparing the development branch 2017-10-19 15:00:41 +09:00
Database.h Preparing the development branch 2017-10-19 15:00:41 +09:00
DDNS.c src/Cedar/DDNS.c: "interval" is unsigned, so MIN can only return 0 2018-08-11 21:49:27 +02:00
DDNS.h Preparing the development branch 2017-10-19 15:00:41 +09:00
EM.c Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
EM.h Preparing the development branch 2017-10-19 15:00:41 +09:00
EMInner.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
EtherLog.c src/Cedar/EtherLog: silence coverity, remove unused functions 2018-08-18 10:25:30 +05:00
EtherLog.h src/Cedar/EtherLog: silence coverity, remove unused functions 2018-08-18 10:25:30 +05:00
Hub.c src/Cedar/Hub: resolve null pointer dereference found by coverity 2018-08-31 00:59:06 +05:00
Hub.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
IPC.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
IPC.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Layer3.c Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Layer3.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Link.c Put TUN down on client disconnect. 2018-08-05 17:36:05 +02:00
Link.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Listener.c Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Listener.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Logging.c src/Cedar/Logging: remove unused functions, redundant condition 2018-08-13 07:13:56 +05:00
Logging.h src/Cedar/Logging: remove unused functions, redundant condition 2018-08-13 07:13:56 +05:00
Nat.c src/Cedar/Nat.c: resolve possible null dereference 2018-08-13 15:40:17 +05:00
Nat.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
NativeStack.c Preparing the development branch 2017-10-19 15:00:41 +09:00
NativeStack.h Preparing the development branch 2017-10-19 15:00:41 +09: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 Preparing the development branch 2017-10-19 15:00:41 +09:00
NM.h Preparing the development branch 2017-10-19 15:00:41 +09:00
NMInner.h Preparing the development branch 2017-10-19 15:00:41 +09:00
NullLan.c Preparing the development branch 2017-10-19 15:00:41 +09:00
NullLan.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Proto_EtherIP.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_EtherIP.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_IKE.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_IKE.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_IkePacket.c Proto_IkePacket.c: fix and improve IkeHMac() function 2018-09-11 15:29:12 +02:00
Proto_IkePacket.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_IPsec.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_IPsec.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_L2TP.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_L2TP.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_OpenVPN.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_OpenVPN.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_PPP.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_PPP.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_SSTP.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_SSTP.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_Win7.c Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_Win7.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Proto_Win7Inner.h Cedar: replace "Interop_" and "IPsec_" with "Proto_" in the protocol-specific source/header files' names 2018-09-10 00:46:29 +02:00
Protocol.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
Protocol.h Merge PR #594: Remove SSLv3 support 2018-08-18 07:38:05 +02:00
Radius.c Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Radius.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Remote.c Preparing the development branch 2017-10-19 15:00:41 +09:00
Remote.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Sam.c Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Sam.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
SecureInfo.c Preparing the development branch 2017-10-19 15:00:41 +09:00
SecureInfo.h Preparing the development branch 2017-10-19 15:00:41 +09:00
SecureNAT.c Preparing the development branch 2017-10-19 15:00:41 +09:00
SecureNAT.h Preparing the development branch 2017-10-19 15:00:41 +09:00
SeLowUser.c Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
SeLowUser.h Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Server.c src/Cedar/Server: resolve possible null reference exception, remove unused functions, variable, duplicate assignment and conditional 2018-09-01 17:49:08 +05:00
Server.h src/Cedar/Server: resolve possible null reference exception, remove unused functions, variable, duplicate assignment and conditional 2018-09-01 17:49:08 +05:00
Session.c src/Cedar/Session: modify code to avoid "Identical code for different branches", remove unused functions. 2018-08-29 12:36:09 +05:00
Session.h src/Cedar/Session: modify code to avoid "Identical code for different branches", remove unused functions. 2018-08-29 12:36:09 +05:00
SM.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
SM.h Preparing the development branch 2017-10-19 15:00:41 +09:00
SMInner.h Preparing the development branch 2017-10-19 15:00:41 +09:00
SW.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
SW.h Preparing the development branch 2017-10-19 15:00:41 +09:00
SWInner.h Preparing the development branch 2017-10-19 15:00:41 +09:00
UdpAccel.c Preparing the development branch 2017-10-19 15:00:41 +09:00
UdpAccel.h Preparing the development branch 2017-10-19 15:00:41 +09:00
UT.c Preparing the development branch 2017-10-19 15:00:41 +09:00
UT.h Preparing the development branch 2017-10-19 15:00:41 +09:00
VG.c Preparing the development branch 2017-10-19 15:00:41 +09:00
VG.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Virtual.c src/Cedar/Virtual: coverity suspects null pointer dereference here 2018-08-22 10:33:29 +05:00
Virtual.h Added the function to save the DNS query log on the packet logs. 2017-12-21 23:23:17 +09:00
VLan.c Preparing the development branch 2017-10-19 15:00:41 +09:00
VLan.h Preparing the development branch 2017-10-19 15:00:41 +09:00
VLanUnix.c Cedar: custom TAP interface name support for FreeBSD, function refactor 2018-08-26 04:20:57 +02:00
VLanUnix.h VLanUnix: fix "implicit declaration of function 'FreeTap'" warning 2018-08-10 21:21:19 +02:00
VLanWin32.c Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
VLanWin32.h Preparing the development branch 2017-10-19 15:00:41 +09:00
WaterMark.c Preparing the development branch 2017-10-19 15:00:41 +09:00
WaterMark.h Preparing the development branch 2017-10-19 15:00:41 +09:00
WebUI.c Merge pull request #275 from chipitsine/master 2018-02-01 00:06:08 +01:00
WebUI.h Preparing the development branch 2017-10-19 15:00:41 +09:00
Win32Com.cpp Preparing the development branch 2017-10-19 15:00:41 +09:00
Win32Com.h Preparing the development branch 2017-10-19 15:00:41 +09:00
WinJumpList.cpp Preparing the development branch 2017-10-19 15:00:41 +09:00
WinUi.c Divide version in multiple macros and set default values 2018-08-27 05:44:32 +02:00
WinUi.h Remove SSLv3 support 2018-08-09 00:25:40 +02:00
Wpc.c Remove SSLv3 support 2018-08-09 00:25:40 +02:00
Wpc.h Preparing the development branch 2017-10-19 15:00:41 +09:00