Karel Miko
24c0eb84f9
ECC curves y^2 = x^3 + ax + b
2018-05-22 23:02:44 +02:00
Karel Miko
ea32b2b194
Update makefiles
2018-05-22 23:02:44 +02:00
Steffen Jaeckel
a528528a2b
Merge pull request #392 from orbea/libtool
...
makefile.shared: Respect LIBTOOL.
2018-05-20 10:29:56 +02:00
orbea
f2918866bc
makefile.shared: Respect LIBTOOL.
2018-05-19 08:36:41 -07:00
karel-m
b0c098e9c0
Merge pull request #389 from libtom/pr/avoid-exit
...
avoid calling exit() in sosemanuk_setup
2018-05-07 08:18:32 +02:00
Karel Miko
cdc256258a
avoid calling exit() in sosemanuk_setup
2018-05-06 22:47:06 +02:00
karel-m
49001f01b3
Merge pull request #383 from libtom/pr/fortuna-fix
...
new fortuna: fix getting current time
2018-05-05 17:59:26 +02:00
Karel Miko
29af2d95cc
fix getting current time on MS Windows + improve gettimeofday/clock_gettime usage on UNIX
2018-05-04 16:42:47 +02:00
Karel Miko
a8aa207381
change fortuna_prng.wd to ulong64
2018-05-04 16:42:47 +02:00
Karel Miko
d2ba3c93f6
introducing LTC_CLOCK_GETTIME macro
2018-05-04 16:42:47 +02:00
karel-m
73465cfb95
Merge pull request #388 from libtom/pr/check-all
...
do --check-all in check_source.sh
2018-05-04 16:42:02 +02:00
Karel Miko
41341195c5
do --check-all in check_source.sh
2018-05-04 12:48:42 +02:00
karel-m
c2548bf190
Merge pull request #386 from libtom/pr/fix-issue-384
...
fix #384 "const" related warnings
2018-05-04 07:17:52 +02:00
Karel Miko
11e15eaaa7
fix #384 "const" related warnings
2018-05-03 12:32:32 +02:00
karel-m
d16e5b0b05
Merge pull request #379 from libtom/pr/clang-tidy-misc-misplaced-widening-cast
...
clang-tidy: misc-misplaced-widening-cast
(cherry picked from commit 248352c36f
)
With back-ported patch from src/misc/copy_or_zeromem.c back to
src/encauth/ccm/ccm_memory.c
2018-04-13 09:56:43 +02:00
karel-m
00dfe66081
Merge pull request #378 from libtom/pr/clang-tidy-misc-suspicious-string-compare
...
clang-tidy: misc-suspicious-string-compare
(cherry picked from commit 24f933d22a
)
2018-04-13 09:54:03 +02:00
karel-m
1783100e7b
Merge pull request #377 from libtom/pr/clang-tidy-void-return
...
clang-tidy: readability-redundant-control-flow
(cherry picked from commit 4cc8d08e50
)
2018-04-13 09:53:59 +02:00
karel-m
92c5082a25
Merge pull request #375 from libtom/pr/fix-unused-const-variable
...
Fix -Wunused-const-variable in aes_tab.c
(cherry picked from commit 5c31c3d016
)
2018-04-13 09:53:59 +02:00
Steffen Jaeckel
719d297e9f
Merge pull request #373 from libtom/fix/der-recursion-limit
...
implement DER recursion limit
(cherry picked from commit af67321bf3
)
2018-04-13 09:52:11 +02:00
Steffen Jaeckel
af67321bf3
Merge pull request #373 from libtom/fix/der-recursion-limit
...
implement DER recursion limit
2018-04-13 09:42:47 +02:00
Steffen Jaeckel
62c2124b82
implement DER resursion limit
2018-04-11 11:15:21 +02:00
Steffen Jaeckel
2e8371ce0b
Merge pull request #381 from felixdoerre/const_hash
...
add const to the hashes' compress functions
2018-04-11 11:14:49 +02:00
Felix Dörre
332ae41a2b
add const to the hashes' compress functions
2018-04-10 13:30:12 +02:00
Steffen Jaeckel
8236ade38e
Merge pull request #363 from libtom/improve/fortuna
...
Improve Fortuna PRNG
2018-04-10 04:23:19 +02:00
Steffen Jaeckel
c7a880f222
update docs
2018-04-09 23:30:27 +02:00
Steffen Jaeckel
2dfc2d87da
make fortuna_update_seed() public
...
In order to be able to implement UpdateSeedFile from the original paper
this is required to be available on the public API.
2018-04-09 23:30:27 +02:00
Steffen Jaeckel
7b97911cc6
add build with LTC_FORTUNA_RESEED_RATELIMIT_STATIC to travis
2018-04-09 23:30:27 +02:00
Steffen Jaeckel
ca91ae5a1f
add fortuna_add_random_event()
2018-04-09 23:30:27 +02:00
Steffen Jaeckel
75dad9473d
implement FORTUNA's reseed rate limit based on time
2018-04-09 23:30:27 +02:00
Steffen Jaeckel
1fb478ea31
Merge pull request #324 from TrinityCoder/fix-missing-const-params
...
Added missing 'const' qualifier to many functions' parameters
2018-04-09 11:58:37 +02:00
Steffen Jaeckel
1c3629fc06
add more missing const
2018-04-09 10:29:29 +02:00
Miroslav Mareš
228d29d1e7
Added missing 'const' qualifier to many functions' parameters
2018-04-09 10:29:29 +02:00
karel-m
248352c36f
Merge pull request #379 from libtom/pr/clang-tidy-misc-misplaced-widening-cast
...
clang-tidy: misc-misplaced-widening-cast
2018-04-09 08:56:53 +02:00
Karel Miko
7465d0bac3
fix clang-tidy misc-misplaced-widening-cast
2018-04-09 08:56:41 +02:00
karel-m
24f933d22a
Merge pull request #378 from libtom/pr/clang-tidy-misc-suspicious-string-compare
...
clang-tidy: misc-suspicious-string-compare
2018-04-09 08:55:32 +02:00
Karel Miko
fa01052b32
fix memcmp is called without explicitly comparing result
2018-04-09 08:55:13 +02:00
karel-m
4cc8d08e50
Merge pull request #377 from libtom/pr/clang-tidy-void-return
...
clang-tidy: readability-redundant-control-flow
2018-04-09 08:53:20 +02:00
Karel Miko
061fe36114
fix redundant return statement at the end of a function with a void return type
2018-04-08 18:04:34 +02:00
karel-m
5c31c3d016
Merge pull request #375 from libtom/pr/fix-unused-const-variable
...
Fix -Wunused-const-variable in aes_tab.c
2018-04-08 16:22:05 +02:00
Karel Miko
318451ce66
Fix -Wunused-const-variable in aes_tab.c
2018-04-08 14:28:57 +02:00
Steffen Jaeckel
49b3425de7
Merge pull request #374 from libtom/fix/cygwin
...
fix aesgcm on cygwin
2018-04-08 02:56:20 +02:00
Steffen Jaeckel
3249dcb963
allow TAB_SIZE to be defined at compile-time
2018-04-06 10:27:12 +02:00
Steffen Jaeckel
ba54b891b9
fix aesgcm on cygwin
...
This fixes #372
2018-04-06 10:19:53 +02:00
Steffen Jaeckel
70ec9b3b35
back-port of the bugfix done in #363
2018-04-04 19:31:36 +02:00
Steffen Jaeckel
24aab18d5b
Merge pull request #359 from vchong/ltc_ctr
...
ltc: ctr: improve performance
(cherry picked from commit 9b80d07487
)
2018-04-04 19:27:40 +02:00
Steffen Jaeckel
affb3d70cb
improve fortuna_import()
...
This makes fortuna_import() kinda compliant to the "Update seed file"
behavior of the original paper.
It differs from the original behavior in that it allows to import
seed files which are larger than 64 bytes.
(cherry picked from commit 39d4a14c29
)
2018-04-04 19:25:31 +02:00
Steffen Jaeckel
89dffe6c7e
add comment to Fortuna docs
...
(cherry picked from commit cccd1e3053
)
2018-04-04 19:25:31 +02:00
Steffen Jaeckel
415c57f3af
don't ignore additional data on SOBER128-PRNG import
...
(cherry picked from commit d502869728
)
2018-04-04 19:25:31 +02:00
Steffen Jaeckel
b9fa4c063a
fortuna_import() shouldn't ignore additional input
...
(cherry picked from commit 0c05e5386f
)
2018-04-04 19:25:31 +02:00
Steffen Jaeckel
67d8ca19f5
ensure that fortuna has been seeded properly
...
(cherry picked from commit 04ce8cf613
)
2018-04-04 19:25:31 +02:00