Commit Graph

34 Commits

Author SHA1 Message Date
arvidn cb0d6a057f remove dead code in ed25519 2018-12-08 11:37:31 +01:00
arvidn 5383854768 make span's and sha1_hash's index and size types signed (instead of unsigned). Specifically std::ptrdiff_t. In line with the direction of gsl span and reduce signed->unsigned casts 2018-11-16 14:06:22 +01:00
arvidn e0c1b3403c add header guards to ConvertUTP.h and fixedint.h 2018-11-12 17:56:16 +01:00
arvidn 27836ede70 run clang tidy on travis 2018-07-24 21:37:37 +02:00
Andrei Kurushin 5fa48c65da move const data to readonly segment 2017-01-09 14:41:44 -05:00
Angel Leon 9ed948b3b1 [typos] fixing comment in ed25519_add_scalar (#1276) 2016-10-30 22:29:51 -04:00
arvidn 1c89fcda48 merge RC_1_1 into master 2016-10-08 14:17:51 -04:00
Arvid Norberg 5f7e2eb928 run undefined sanitier on travis/linux (#1134)
run undefined sanitizer on travis/linux. back-port ed25519 unit test from master
2016-10-08 12:29:46 -04:00
Alden Torres 32f5f8f257 better integration and API for ed25519 (#1037)
better integration and API for ed25519. using shared_ptr in ed25519_add_scalar
2016-08-29 20:28:42 -04:00
Alden Torres 44d9f456f8 adding support for a more configurable sha512 hasher (#1028)
adding support for a more configurable sha512 hasher, digest32 template, using hasher512.
2016-08-25 19:07:16 -04:00
Arvid Norberg ed077c8358 use cstdint intead of boost/cstdint.hpp (#833)
use cstdint intead of boost/cstdint.hpp
2016-06-18 14:01:38 -04:00
Andrei Kurushin 7b5d48c02a fix default release build with VS2015 UP2 compiler warnings (#624)
* fix default release build with VS2015 UP2 compiler warnings
this will allow to successfully build:
bjam toolset=msvc-14.0 release deprecated-functions=off character-set=unicode link=static warnings-as-errors=on
2016-04-17 16:56:07 -04:00
arvidn 06b648203f clean up use of error categories 2015-11-24 00:50:51 -05:00
Alden Torres 611d0c1c6e Fixed to make it compatible with mingw-w64 and generic linux 2015-11-13 07:55:28 -05:00
John Sebastian Peterson 30142e35ac conform crypt api detection to coding standard 2015-07-04 01:42:33 +02:00
John Sebastian Peterson 43c1de33b4 use cryptgenrandom successor in winrt 2015-07-02 09:55:35 +02:00
Arvid Norberg b3d7668e7a properly report errors when failing to generate randomness 2015-05-09 04:08:32 +00:00
Arvid Norberg 87c46a144d fix more warnings and some build issues 2015-04-22 04:24:45 +00:00
Arvid Norberg bfaf7cb28c another window build fix 2015-03-08 02:11:42 +00:00
Arvid Norberg 78f65bb37f some windows fixes 2015-03-08 01:21:43 +00:00
Arvid Norberg f4ee43a1f9 fix linux build 2015-01-20 17:05:45 +00:00
Arvid Norberg c4b6128521 merged change from RC_1_0 2014-07-23 01:47:09 +00:00
Arvid Norberg f15182a737 merged changes from RC_1_0 2014-07-19 07:12:20 +00:00
Arvid Norberg 6e0e64e2ff merged change from RC_1_0 2014-07-12 06:59:52 +00:00
Arvid Norberg 24b9101075 merged changes from RC_1_0 2014-07-12 06:20:16 +00:00
Arvid Norberg 6c6fe4dfe2 merged fixes of warnings from RC_1_0 2014-07-04 23:40:31 +00:00
Arvid Norberg 4988a410b1 fixed typo 2014-07-01 07:51:23 +00:00
Arvid Norberg 5b89c3f5f9 merged some of steven siloti's changes. expose optimistic unchoke logic to plugins 2014-05-12 07:28:34 +00:00
Arvid Norberg e225259481 fix some msvc warnings 2014-05-10 03:23:05 +00:00
Arvid Norberg 80011a4715 fix build error in config.hpp when included by C-files (like the ed25519 source for instance) 2014-03-09 00:49:36 +00:00
Arvid Norberg cff82fa319 export ed25519 functions from libtorrent. fix tools/dht_put build when dht is disabled. fix shared linking in tools Jamfile 2014-03-06 09:45:16 +00:00
Arvid Norberg 6c22d426d4 make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts) 2014-02-05 09:38:32 +00:00
Arvid Norberg d4032c6101 fix compile warnings in ed25519 code 2013-10-14 01:04:02 +00:00
Arvid Norberg 6bd07fd65f pull in an ed25519 implementation and replace use of RSA in the DHT with ECC. fix up makefiles 2013-08-18 16:01:20 +00:00