├── .gitignore ├── C++ ├── custom_blinds.h ├── ed25519.cpp ├── ed25519.h ├── x25519.cpp └── x25519.h ├── Makefile ├── README.md ├── Rules.mk ├── custom ├── Makefile ├── custom_code.bat ├── main.c ├── random.c └── random.h ├── include ├── curve25519_dh.h ├── ed25519_signature.h └── external_calls.h ├── license.txt ├── source ├── BaseTypes.h ├── Makefile ├── asm64 │ ├── Makefile │ ├── amd64.gnu │ │ ├── Add.s │ │ ├── Fold.s │ │ ├── Mult.s │ │ ├── Square.s │ │ ├── Sub.s │ │ ├── Tsc.s │ │ ├── WordMulAdd.s │ │ └── defines.inc │ ├── amd64.masm │ │ ├── Add.asm │ │ ├── Fold.asm │ │ ├── Mult.asm │ │ ├── Square.asm │ │ ├── Sub.asm │ │ ├── Tsc.asm │ │ ├── WordMulAdd.asm │ │ └── defines.inc │ ├── curve25519_mehdi_x64.c │ ├── curve25519_order_x64.c │ └── curve25519_utils_x64.c ├── base_folding8.h ├── curve25519_dh.c ├── curve25519_mehdi.c ├── curve25519_mehdi.h ├── curve25519_order.c ├── curve25519_utils.c ├── custom_blind.c ├── custom_blind.h ├── ed25519_sign.c ├── ed25519_verify.c ├── sha512.c └── sha512.h ├── test ├── Makefile ├── curve25519_donna.c ├── curve25519_donna.h ├── curve25519_selftest.c ├── curve25519_test.c └── openssl_test.c └── windows ├── Asm64Lib ├── Asm64Lib.vcxproj ├── Asm64Lib.vcxproj.filters └── Asm64Lib.vcxproj.user ├── Asm64Test ├── Asm64Test.vcxproj ├── Asm64Test.vcxproj.filters └── Asm64Test.vcxproj.user ├── CppLib ├── CppLib.vcxproj └── CppLib.vcxproj.filters ├── Curve25519Lib ├── Curve25519Lib.vcxproj ├── Curve25519Lib.vcxproj.filters └── Curve25519Lib.vcxproj.user ├── CustomTool ├── CustomTool.vcxproj └── CustomTool.vcxproj.filters ├── EC25519.sln ├── EC25519.vcxproj ├── EC25519.vcxproj.filters └── EC25519.vcxproj.user /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/.gitignore -------------------------------------------------------------------------------- /C++/custom_blinds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/C++/custom_blinds.h -------------------------------------------------------------------------------- /C++/ed25519.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/C++/ed25519.cpp -------------------------------------------------------------------------------- /C++/ed25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/C++/ed25519.h -------------------------------------------------------------------------------- /C++/x25519.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/C++/x25519.cpp -------------------------------------------------------------------------------- /C++/x25519.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/C++/x25519.h -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/README.md -------------------------------------------------------------------------------- /Rules.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/Rules.mk -------------------------------------------------------------------------------- /custom/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/custom/Makefile -------------------------------------------------------------------------------- /custom/custom_code.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/custom/custom_code.bat -------------------------------------------------------------------------------- /custom/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/custom/main.c -------------------------------------------------------------------------------- /custom/random.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/custom/random.c -------------------------------------------------------------------------------- /custom/random.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/custom/random.h -------------------------------------------------------------------------------- /include/curve25519_dh.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/include/curve25519_dh.h -------------------------------------------------------------------------------- /include/ed25519_signature.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/include/ed25519_signature.h -------------------------------------------------------------------------------- /include/external_calls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/include/external_calls.h -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/license.txt -------------------------------------------------------------------------------- /source/BaseTypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/BaseTypes.h -------------------------------------------------------------------------------- /source/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/Makefile -------------------------------------------------------------------------------- /source/asm64/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/Makefile -------------------------------------------------------------------------------- /source/asm64/amd64.gnu/Add.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.gnu/Add.s -------------------------------------------------------------------------------- /source/asm64/amd64.gnu/Fold.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.gnu/Fold.s -------------------------------------------------------------------------------- /source/asm64/amd64.gnu/Mult.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.gnu/Mult.s -------------------------------------------------------------------------------- /source/asm64/amd64.gnu/Square.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.gnu/Square.s -------------------------------------------------------------------------------- /source/asm64/amd64.gnu/Sub.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.gnu/Sub.s -------------------------------------------------------------------------------- /source/asm64/amd64.gnu/Tsc.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.gnu/Tsc.s -------------------------------------------------------------------------------- /source/asm64/amd64.gnu/WordMulAdd.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.gnu/WordMulAdd.s -------------------------------------------------------------------------------- /source/asm64/amd64.gnu/defines.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.gnu/defines.inc -------------------------------------------------------------------------------- /source/asm64/amd64.masm/Add.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.masm/Add.asm -------------------------------------------------------------------------------- /source/asm64/amd64.masm/Fold.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.masm/Fold.asm -------------------------------------------------------------------------------- /source/asm64/amd64.masm/Mult.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.masm/Mult.asm -------------------------------------------------------------------------------- /source/asm64/amd64.masm/Square.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.masm/Square.asm -------------------------------------------------------------------------------- /source/asm64/amd64.masm/Sub.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.masm/Sub.asm -------------------------------------------------------------------------------- /source/asm64/amd64.masm/Tsc.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.masm/Tsc.asm -------------------------------------------------------------------------------- /source/asm64/amd64.masm/WordMulAdd.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.masm/WordMulAdd.asm -------------------------------------------------------------------------------- /source/asm64/amd64.masm/defines.inc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/amd64.masm/defines.inc -------------------------------------------------------------------------------- /source/asm64/curve25519_mehdi_x64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/curve25519_mehdi_x64.c -------------------------------------------------------------------------------- /source/asm64/curve25519_order_x64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/curve25519_order_x64.c -------------------------------------------------------------------------------- /source/asm64/curve25519_utils_x64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/asm64/curve25519_utils_x64.c -------------------------------------------------------------------------------- /source/base_folding8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/base_folding8.h -------------------------------------------------------------------------------- /source/curve25519_dh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/curve25519_dh.c -------------------------------------------------------------------------------- /source/curve25519_mehdi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/curve25519_mehdi.c -------------------------------------------------------------------------------- /source/curve25519_mehdi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/curve25519_mehdi.h -------------------------------------------------------------------------------- /source/curve25519_order.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/curve25519_order.c -------------------------------------------------------------------------------- /source/curve25519_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/curve25519_utils.c -------------------------------------------------------------------------------- /source/custom_blind.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/custom_blind.c -------------------------------------------------------------------------------- /source/custom_blind.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/custom_blind.h -------------------------------------------------------------------------------- /source/ed25519_sign.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/ed25519_sign.c -------------------------------------------------------------------------------- /source/ed25519_verify.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/ed25519_verify.c -------------------------------------------------------------------------------- /source/sha512.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/sha512.c -------------------------------------------------------------------------------- /source/sha512.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/source/sha512.h -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/test/Makefile -------------------------------------------------------------------------------- /test/curve25519_donna.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/test/curve25519_donna.c -------------------------------------------------------------------------------- /test/curve25519_donna.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/test/curve25519_donna.h -------------------------------------------------------------------------------- /test/curve25519_selftest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/test/curve25519_selftest.c -------------------------------------------------------------------------------- /test/curve25519_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/test/curve25519_test.c -------------------------------------------------------------------------------- /test/openssl_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/test/openssl_test.c -------------------------------------------------------------------------------- /windows/Asm64Lib/Asm64Lib.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Asm64Lib/Asm64Lib.vcxproj -------------------------------------------------------------------------------- /windows/Asm64Lib/Asm64Lib.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Asm64Lib/Asm64Lib.vcxproj.filters -------------------------------------------------------------------------------- /windows/Asm64Lib/Asm64Lib.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Asm64Lib/Asm64Lib.vcxproj.user -------------------------------------------------------------------------------- /windows/Asm64Test/Asm64Test.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Asm64Test/Asm64Test.vcxproj -------------------------------------------------------------------------------- /windows/Asm64Test/Asm64Test.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Asm64Test/Asm64Test.vcxproj.filters -------------------------------------------------------------------------------- /windows/Asm64Test/Asm64Test.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Asm64Test/Asm64Test.vcxproj.user -------------------------------------------------------------------------------- /windows/CppLib/CppLib.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/CppLib/CppLib.vcxproj -------------------------------------------------------------------------------- /windows/CppLib/CppLib.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/CppLib/CppLib.vcxproj.filters -------------------------------------------------------------------------------- /windows/Curve25519Lib/Curve25519Lib.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Curve25519Lib/Curve25519Lib.vcxproj -------------------------------------------------------------------------------- /windows/Curve25519Lib/Curve25519Lib.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Curve25519Lib/Curve25519Lib.vcxproj.filters -------------------------------------------------------------------------------- /windows/Curve25519Lib/Curve25519Lib.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/Curve25519Lib/Curve25519Lib.vcxproj.user -------------------------------------------------------------------------------- /windows/CustomTool/CustomTool.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/CustomTool/CustomTool.vcxproj -------------------------------------------------------------------------------- /windows/CustomTool/CustomTool.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/CustomTool/CustomTool.vcxproj.filters -------------------------------------------------------------------------------- /windows/EC25519.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/EC25519.sln -------------------------------------------------------------------------------- /windows/EC25519.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/EC25519.vcxproj -------------------------------------------------------------------------------- /windows/EC25519.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/EC25519.vcxproj.filters -------------------------------------------------------------------------------- /windows/EC25519.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/msotoodeh/curve25519/HEAD/windows/EC25519.vcxproj.user --------------------------------------------------------------------------------