Make early protocol auth mechanism generic, and add SRP
authorest31 <MTest31@outlook.com>
Sun, 12 Apr 2015 02:49:13 +0000 (04:49 +0200)
committerest31 <MTest31@outlook.com>
Mon, 11 May 2015 16:40:27 +0000 (18:40 +0200)
commit82e35edff52d88dcd64a9bfc9d2c4c93f1341b78
treebf55839e296c6d1cb9b7f81b8f5cf69e0492b4c0
parent181f7baa453c58d4070de7196fd74663110946a8
Make early protocol auth mechanism generic, and add SRP

Adds everything needed for SRP (and everything works too),
but still deactivated, as protocol v25 init packets aren't final yet.
Can be activated by changing the LATEST_PROTOCOL_VERSION header to 25
inside networkprotocol.h.
25 files changed:
build/android/jni/Android.mk
src/client.cpp
src/client.h
src/client/clientlauncher.cpp
src/clientiface.cpp
src/clientiface.h
src/network/clientopcodes.cpp
src/network/clientpackethandler.cpp
src/network/networkpacket.h
src/network/networkprotocol.h
src/network/serveropcodes.cpp
src/network/serverpackethandler.cpp
src/script/lua_api/l_util.cpp
src/server.cpp
src/server.h
src/util/CMakeLists.txt
src/util/auth.cpp [new file with mode: 0644]
src/util/auth.h [new file with mode: 0644]
src/util/md32_common.h [new file with mode: 0644]
src/util/sha2.h [new file with mode: 0644]
src/util/sha256.c [new file with mode: 0644]
src/util/srp.cpp [new file with mode: 0644]
src/util/srp.h [new file with mode: 0644]
src/util/string.cpp
src/util/string.h