Commit Graph

673 Commits

Author SHA1 Message Date
Steffen Jaeckel
d153d1303a Update makefiles 2017-03-28 22:57:22 +02:00
Steffen Jaeckel
8af93d1d0d Remove ccm_memory_ex() 2017-03-28 22:57:22 +02:00
Steffen Jaeckel
363a57fc87 Merge branch 'fix/6' into develop
This closes #6 & #179
2017-03-28 22:55:49 +02:00
Steffen Jaeckel
8518b56dbf Revert "fix rotate_test to pass rotate by zero with LTC_NO_ASM"
This reverts commit 82080f0b87.
2017-03-28 21:18:22 +02:00
Steffen Jaeckel
70ee598c5e fix LTC_NO_ASM rotate macros when compiling with clang 2017-03-28 21:18:22 +02:00
Karel Miko
82080f0b87 fix rotate_test to pass rotate by zero with LTC_NO_ASM 2017-03-27 22:03:33 +02:00
Karel Miko
e5aa2bd453 added rotate_test 2017-03-27 19:32:05 +02:00
Steffen Jaeckel
7532b89a6d Merge pull request #177 from libtom/pr/177
Add -Wdeclaration-after-statement to travis-ci tests
2017-03-26 23:47:42 +02:00
Steffen Jaeckel
862a02767d fix constants and sizes demo 2017-03-26 21:38:02 +02:00
Steffen Jaeckel
101a7a71ae enable -Wdeclaration-after-statement by default 2017-03-26 19:30:18 +02:00
Steffen Jaeckel
7885c91af3 print math provider when running tests 2017-03-26 15:46:41 +02:00
Steffen Jaeckel
ea355dbc79 there's no reason to disable DH when using GMP as MPI provider 2017-03-24 16:58:04 +01:00
Steffen Jaeckel
ba338eced8 also build executables in makefile.shared from template 2017-03-24 16:42:49 +01:00
Karel Miko
b465881b58 fix "declaration-after-statement" warnings (tests only) 2017-03-24 10:17:02 +01:00
Steffen Jaeckel
fd1e351316 Merge pull request #78 from libtom/idea/ltc_rng
add ltc_rng function pointer
2017-03-22 12:16:46 +01:00
Karel Miko
15db3eab59 fix travis failure 2017-03-22 11:24:21 +01:00
Steffen Jaeckel
27f8e8bf75 Update makefiles 2017-03-22 11:24:21 +01:00
Steffen Jaeckel
cd08a8cec3 disable ltc_rng by default 2017-03-22 11:24:21 +01:00
Steffen Jaeckel
fcae7e2c49 test the ltc_rng 2017-03-22 11:24:21 +01:00
Steffen Jaeckel
fe7c4e3993 add ltc_rng function pointer
the idea is to be able to easily provide a plug-in rng for a specific
platform without the need to touch the library.
2017-03-22 11:24:21 +01:00
Steffen Jaeckel
a00aba8370 add pre-commit hook 2017-03-22 11:21:49 +01:00
Steffen Jaeckel
f7bd454dd5 Revert "add release flag to makefile.shared"
This reverts commit 14272976d0.

This is neither a 'package-internal library' nor
one 'whose interfaces change very frequently' so we remove the
release information again from the shared library.
2017-03-22 11:21:39 +01:00
Karel Miko
283ea0c426 improving helper.pl 2017-03-21 19:56:43 +01:00
karel-m
63e6f7647f Merge pull request #169 from libtom/pr/more-src-checks
Improved source checks
2017-03-15 23:14:40 +01:00
Karel Miko
39425a94c5 improved source checks 2017-03-15 23:13:46 +01:00
Steffen Jaeckel
9babf374ee add '-c' option (again) to updatemakes.sh 2017-03-15 22:21:53 +01:00
karel-m
6df687403a Merge pull request #167 from libtom/pr/avoid-cpp-style-comments
avoid C++ style comments
2017-03-15 15:22:40 +01:00
Karel Miko
54a26525dc avoid C++ style comments 2017-03-15 15:22:06 +01:00
Karel Miko
db32cc3a81 Merge branch 'fperrad-20170315_lint' into develop 2017-03-15 13:07:54 +01:00
karel-m
bda8019862 Merge pull request #161 from libtom/pr/83-polished
Just polished #83 (Add OpenSSL-Compatible PKCSv5#1)
2017-03-15 09:05:58 +01:00
Karel Miko
3396513e81 improving demos/openssl-enc.c 2017-03-15 08:59:49 +01:00
Francois Perrad
937f186db1 use #ifdef instead of #if 2017-03-15 06:55:19 +01:00
Karel Miko
4503868da2 fix pkcs_5_test crash 2017-03-14 18:22:46 +01:00
Karel Miko
0e9b3da3ea PKCS#5 alg1 tests 2017-03-14 18:22:46 +01:00
BJ Black
c7d6c3ad28 Add OpenSSL-compatible PKCS#5v1 KDF, demo of OpenSSL-compatible aes-256-cbc command. 2017-03-14 18:22:46 +01:00
karel-m
bbe54053ec Merge pull request #109 from libtom/fix/109-alternative-approach
crc32 test fails on ppc64 BE (tomcrypt_cfg.h facelift)
2017-03-14 18:18:44 +01:00
Karel Miko
e26078d2f7 fix #109 - improved arch/endianness detection + tomcrypt_cfg.h facelift 2017-03-14 18:14:57 +01:00
karel-m
44f29d895c Merge pull request #164 from libtom/pr/wchar-warnings-visual-studio-2008
fix wchar_t related warnings on Visual Studio 2008
2017-03-09 21:01:26 +01:00
Karel Miko
591ef19c7a comment: it might happen that LTC_WCHAR_MAX is undefined 2017-03-09 20:48:24 +01:00
Karel Miko
02b92405e2 simplified #ifdef 2017-03-09 20:48:24 +01:00
Karel Miko
7ab76a464e introducing LTC_WCHAR_MAX 2017-03-09 20:48:24 +01:00
Karel Miko
2f9c426487 fix wchar_t related warnings on Visual Studio 2008 2017-03-09 20:48:24 +01:00
karel-m
78e9b0fca8 Merge pull request #122 from libtom/fix/122
adler32 vs. crc32 inconsistency
2017-03-09 20:33:13 +01:00
Karel Miko
a4d61e0bea fixes #122 adler32 vs. crc32 inconsistency (bad byte order) 2017-03-09 20:32:29 +01:00
karel-m
33e1c4acca Merge pull request #158 from libtom/pr/check-makefiles
check makefiles (check_source.sh)
2017-03-09 20:29:28 +01:00
Karel Miko
84f2557cc2 updatemakes.sh newline at end of file 2017-03-09 20:19:54 +01:00
Karel Miko
6f9e427f77 comment with aes_enc "hack" (but still disabled for MS Win *.vcproj builds) 2017-03-09 20:19:53 +01:00
Karel Miko
df258453ba msvc sorting hack 2017-03-09 20:19:52 +01:00
Karel Miko
c260954b52 ordering file list whe generating msvc.proj 2017-03-09 20:19:51 +01:00
Karel Miko
8c831e1e30 no aes_enc on ms windows 2017-03-09 20:19:50 +01:00