Commit Graph

1923 Commits

Author SHA1 Message Date
Steffen Jaeckel
35c4d157d0 as of POSIX.1-2008 gettimeofday() is obsolete 2017-12-16 16:02:00 +01:00
Steffen Jaeckel
b84bea8e78 easier calculation 2017-12-16 16:02:00 +01:00
Steffen Jaeckel
38143771d7 Update makefiles 2017-12-16 16:02:00 +01:00
Steffen Jaeckel
fd46a74331 re-order tomcrypt_mac.h 2017-12-16 16:02:00 +01:00
Steffen Jaeckel
8fffebc395 fix .travis.yml 2017-12-16 16:02:00 +01:00
Steffen Jaeckel
5c0b1b4bf6 add copy_or_zeromem() 2017-12-16 16:02:00 +01:00
Steffen Jaeckel
c0b7c8dd67 more output in debug build
make compare_testvector() a bit more verbose in debug build
2017-12-10 12:35:59 +01:00
Steffen Jaeckel
5546e85218 introduce LTC_EXTRALIBS
it's used for libraries added in the makefile
2017-12-10 12:35:59 +01:00
Karel Miko
6d71d657ef fix staticfunc_name detection 2017-12-10 12:35:59 +01:00
Steffen Jaeckel
5e3e7e5304 fixup type of type in ltc_asn1_list doc 2017-12-10 12:35:59 +01:00
Steffen Jaeckel
ea43e5dd68 suppress 'missing-braces' warnings 2017-12-10 12:35:59 +01:00
Steffen Jaeckel
196f25e32f there should be no need to pass CFLAGS when linking 2017-12-10 12:35:59 +01:00
Steffen Jaeckel
45db2a9d9a
Merge pull request #337 from libtom/fix/prng_pthread
prevent undefined behavior with LTC_PTHREAD
2017-12-10 12:35:01 +01:00
Steffen Jaeckel
c0eefc2b20 prevent undefined behavior with LTC_PTHREAD
as of `man pthread_mutex_init`:

"Attempting to initialize an already initialized mutex
results in undefined behavior."
2017-12-07 14:56:44 +01:00
Larry Bugbee
479cce29ab
Merge pull request #332 from libtom/sosemanuk--cleanup-comments-and-doc
sosemanuk updated comments and doc
2017-12-05 12:20:06 -08:00
Larry Bugbee
b6ae9ab000
grammatical change 2017-12-05 09:53:15 -08:00
Steffen Jaeckel
cec171c17e Update changes 2017-12-05 18:41:11 +01:00
Steffen Jaeckel
c7bdb247bf Update makefiles 2017-12-05 18:40:57 +01:00
Steffen Jaeckel
cfaf964284 Bump version 2017-12-05 18:40:49 +01:00
Steffen Jaeckel
ce93eaa577 add fixme-check to zipup make-target
(cherry picked from commit 6c83a2f363)
2017-12-05 18:39:46 +01:00
Steffen Jaeckel
f9e90f5b1c revert the change of MAXBLOCKSIZE
Currently this only plays a role in HMAC which still uses dynamic
allocation depending on the real blocksize defined by the hash
algorithm.
2017-12-05 17:46:08 +01:00
Steffen Jaeckel
f122e9b887 Merge pull request #329 from libtom/pr/sha3-blocksize
Correct SHA3 block sizes
(cherry picked from commit 64d028832b)
2017-12-05 17:43:46 +01:00
Steffen Jaeckel
64d028832b
Merge pull request #329 from libtom/pr/sha3-blocksize
Correct SHA3 block sizes
2017-12-05 17:41:44 +01:00
Karel Miko
8fdc46cc4b updated tv_gen outputs 2017-12-05 13:00:13 +01:00
Karel Miko
e89a1f2ae6 correct SHA3 block sizes 2017-12-05 13:00:13 +01:00
Larry Bugbee
83ee79ac56
change crypt() length data name to match doc 2017-12-05 01:02:10 -08:00
Larry Bugbee
c4fdf5c1fc
rephrase one sentence 2017-12-05 00:55:07 -08:00
Steffen Jaeckel
13d91e7c8b Merge pull request #327 from libtom/fix/ccm_segfault
Fix ccm_memory() cleaning user-supplied key
(cherry picked from commit 85ac227862)
2017-12-05 09:23:06 +01:00
Steffen Jaeckel
368dc60ff3 Merge pull request #326 from libtom/pr/ccm_process
fixes #323 ccm_process fails to process input buffer longer than 256
(cherry picked from commit 7c4c61d7ef)
2017-12-05 09:21:52 +01:00
Karel Miko
153b897984 helper.pl - detect sizeof without brackets
(cherry picked from commit b7e35e9f57)
2017-12-05 09:21:27 +01:00
Karel Miko
f10c2055dc helper.pl - improved detection of static functions without _
(cherry picked from commit 5c34fb2bad)
2017-12-05 09:21:17 +01:00
Karel Miko
a674de7408 Merge branch 'diamondo25-patch-2' into develop
Fix not defined warnings (-Wundef)

(cherry picked from commit 617698e544)
2017-12-05 09:20:41 +01:00
karel-m
7f6af93798 Merge pull request #320 from diamondo25/patch-1
Remove duplicate prototypes
(cherry picked from commit b4eae5231d)
2017-12-05 09:20:15 +01:00
karel-m
00ca140c57 Merge pull request #316 from libtom/pr/register-all
register_all_* should return CRYPT_OK on success
(cherry picked from commit e4763d940a)
2017-12-05 09:19:40 +01:00
Steffen Jaeckel
521d0737ea fix typo
(cherry picked from commit 442bb90a51)
2017-12-05 09:17:30 +01:00
Steffen Jaeckel
035e958edd Merge pull request #310 from libtom/pr/fix-changes
proper 1.18.0 date in changes
(cherry picked from commit a6c8be292e)
2017-12-05 09:16:30 +01:00
Larry Bugbee
f42bf2f942 updated comments and doc 2017-12-04 22:15:18 -08:00
Steffen Jaeckel
c6cccf9120
Merge pull request #330 from J08nY/fix/sosemanuk-doc
Fix docs build in Sosemanuk section.
2017-11-29 09:52:39 +01:00
J08nY
684c0890e7 Fix docs build in Sosemanuk section. 2017-11-28 17:13:09 +01:00
karel-m
af10ad084d
Merge pull request #328 from fperrad/20171122_lint
sosemanuk: some linting
2017-11-22 18:00:51 +01:00
Francois Perrad
77b0aff4e6 remove always true condition
ivlen is unsigned, so always >= 0
2017-11-22 10:34:45 +01:00
Francois Perrad
e985a9c111 add const 2017-11-22 10:34:42 +01:00
Karel Miko
2dec37044c chmod sosemanuk.c 2017-11-21 08:55:01 +01:00
Larry Bugbee
174f0aaf33
Merge pull request #322 from libtom/add-sosemanuk
add Sosemanuk
2017-11-20 14:35:56 -08:00
Steffen Jaeckel
85ac227862
Merge pull request #327 from libtom/fix/ccm_segfault
Fix ccm_memory() cleaning user-supplied key
2017-11-20 14:25:45 +01:00
Steffen Jaeckel
2a5f5cff16 test that ccm_memory() doesn't touch user-supplied key 2017-11-20 12:11:12 +01:00
Steffen Jaeckel
e05097e413 fix segfault in ccm_memory() with LTC_CLEAN_STACK
we shouldn't clean user-supplied variables
2017-11-20 12:11:12 +01:00
Larry Bugbee
108ddf5b50 add Sosemanuk 2017-11-20 02:41:30 -08:00
Larry Bugbee
807ae09916 Update makefiles 2017-11-20 02:40:45 -08:00
Steffen Jaeckel
7c4c61d7ef
Merge pull request #326 from libtom/pr/ccm_process
fixes #323 ccm_process fails to process input buffer longer than 256
2017-11-10 00:41:50 +01:00