Commit Graph

1965 Commits

Author SHA1 Message Date
Steffen Jaeckel
55fbe256ad
Merge pull request #395 from libtom/feature/private_header
Add a new header file for private functions
2018-06-03 17:48:30 +02:00
Steffen Jaeckel
c725be276a add blake2-hash API documentation 2018-06-03 15:07:28 +02:00
Steffen Jaeckel
d752f90d18 fix Doxygen docs 2018-06-03 15:07:28 +02:00
Steffen Jaeckel
7cfc0c93e6 use tomcrypt_private.h 2018-06-03 15:07:28 +02:00
Steffen Jaeckel
2cb77edf4c update makefiles etc. for tomcrypt_private.h 2018-06-03 15:07:27 +02:00
Steffen Jaeckel
f55039bfeb add tomcrypt_private.h 2018-06-03 15:07:27 +02:00
Steffen Jaeckel
5d8f35e5ed
Merge pull request #397 from fperrad/20180601_lint
xsalsa20: some linting
2018-06-02 12:16:01 +02:00
Francois Perrad
57bffbaa82 remove useless initialization 2018-06-01 21:05:49 +02:00
Francois Perrad
772a9e68cf make _sha256 a static function 2018-06-01 21:05:47 +02:00
Steffen Jaeckel
b7493253ea fix misplaced #endif 2018-06-01 14:47:19 +02:00
Karel Miko
7f6a4e1ff1 fix chmod 2018-06-01 10:07:17 +02:00
Larry Bugbee
82ac9a2275
Merge pull request #387 from libtom/add_xsalsa20
Add XSalsa20
2018-05-31 16:42:08 -07:00
buggywhip
8144209695 add XSalsa20 2018-05-31 11:58:21 -07:00
buggywhip
2ffcd1706e update makefiles 2018-05-31 11:58:08 -07:00
Steffen Jaeckel
94132324a9 fix testvectors for two-key 3des
(cherry picked from commit e4a03ca72a)
2018-05-31 14:18:44 +02:00
Steffen Jaeckel
4c2ae4758e fix "two-key 3des"-related things
(cherry picked from commit 715103a203)
2018-05-31 14:18:44 +02:00
Steffen Jaeckel
615b361673 no need to include wchar.h in all cases
(cherry picked from commit a32d1afd10)
2018-05-31 14:18:44 +02:00
Steffen Jaeckel
4c2bb90dec Merge pull request #382 from ararslan/aa/freebsd
Make the build logic more robust for BSD systems
(cherry picked from commit 5ab8dcf04d)
2018-05-31 14:18:13 +02:00
Steffen Jaeckel
e7f4c6e47f Merge pull request #392 from orbea/libtool
makefile.shared: Respect LIBTOOL.
(cherry picked from commit a528528a2b)
2018-05-31 14:18:01 +02:00
Steffen Jaeckel
3d6181d0a7 there should be no need to pass CFLAGS when linking
(cherry picked from commit 196f25e32f)
2018-05-31 14:16:54 +02:00
Steffen Jaeckel
5ab8dcf04d
Merge pull request #382 from ararslan/aa/freebsd
Make the build logic more robust for BSD systems
2018-05-31 13:51:54 +02:00
Alex Arslan
f5c665b9f6
Make the build logic more robust for BSD systems
This properly sets MAKE (when undefined) on BSDs to gmake rather than
make, which refers to the incompatible BSD Make. Further, it betters
detection of Clang as the default compiler, which is the case on FreeBSD
11.0+ and OpenBSD 6.0+.
2018-05-29 14:05:41 -07:00
karel-m
a94b02be94
Merge pull request #390 from libtom/fixes/and/improvements
Fixes and improvements
2018-05-24 17:08:28 +02:00
Steffen Jaeckel
e4a03ca72a fix testvectors for two-key 3des 2018-05-23 10:33:47 +02:00
Steffen Jaeckel
0011f7f927 add generic test_process_dir() 2018-05-23 10:33:47 +02:00
Steffen Jaeckel
715103a203 fix "two-key 3des"-related things 2018-05-23 10:33:47 +02:00
Steffen Jaeckel
a32d1afd10 no need to include wchar.h in all cases 2018-05-23 10:33:47 +02:00
karel-m
fe665c5246
Merge pull request #236 from libtom/pr/ecc-non-asn1-part
ECC curves y^2 = x^3 + ax + b
2018-05-23 09:30:39 +02:00
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