Commit Graph

649 Commits

Author SHA1 Message Date
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
Karel Miko
2711e40309 updatet MSVC projects 2017-03-09 20:19:48 +01:00
Karel Miko
58375b0287 updatemakes.sh now updates MS Visual C++ projects as well 2017-03-09 20:19:47 +01:00
Karel Miko
421a241ccf travis script - check wheather makefiles are updated 2017-03-09 20:19:46 +01:00
karel-m
14a7ed4609 Merge pull request #156 from libtom/improve/tests
Improve tests
2017-03-09 20:10:50 +01:00
Steffen Jaeckel
ea1228d3ab I like aligned output :)
...and I dislike c&p'ed code
2017-03-09 20:09:55 +01:00
Steffen Jaeckel
90da7e71e1 There's no need running the same test multiple times
If there would be some random input okay, but like that it's just running
the same functionality over and over again.
2017-03-09 20:09:55 +01:00
karel-m
4ef8c27031 Merge pull request #163 from libtom/pr/xts_test-move-declaration
move declaration at block beginning (+msvc 2008 tuning)
2017-03-09 20:08:45 +01:00
Karel Miko
ac3f55fd92 there is no snprintf before Visual C++ 2015 2017-03-09 20:07:39 +01:00
Karel Miko
52eaabefa9 msvc 2008 does not like { } initialization 2017-03-06 19:53:04 +01:00
Karel Miko
fb749199db moving declaration to block beginning 2017-03-06 19:51:46 +01:00
Karel Miko
081ee45712 move declaration at block beginning 2017-03-06 10:43:39 +01:00
karel-m
456908eb90 Merge pull request #159 from libtom/fix/159
Travis-CI + the latest libtommath
2017-03-02 19:45:13 +01:00
Steffen Jaeckel
2277b420f0 also install binutils from debian-sid 2017-03-02 12:18:47 +01:00
Steffen Jaeckel
f94ee4a5a7 location of new libtommath.a has changed 2017-03-02 11:41:01 +01:00
Steffen Jaeckel
8c90cba6f6 install libtommath-dev from debian sid 2017-03-02 11:27:39 +01:00
Karel Miko
61ae75a823 sort filenames on perl level during updatemakes.sh 2017-03-01 22:07:28 +01:00
Steffen Jaeckel
1e977e662f fix updatemakes.sh indentation 2017-03-01 17:52:05 +01:00
Steffen Jaeckel
199ff63e5f add '-c' option to updatemakes.sh 2017-03-01 16:00:35 +01:00
Steffen Jaeckel
2df86d65e8 don't execute coverage script for private travis 2017-03-01 15:19:34 +01:00
Steffen Jaeckel
d4cc79011b Merge branch 'pr/crc32-declaration-block-beginning' into develop
This closes #155
2017-03-01 15:03:16 +01:00
Karel Miko
1a1addcefd move declarations at the block beginning (ANSI C) 2017-03-01 15:02:08 +01:00
Steffen Jaeckel
9092470843 fix doxygen warnings 2017-03-01 15:00:41 +01:00
Steffen Jaeckel
3dd0845dec Merge pull request #139 from libtom/fix/139
rand_prime undefined reference when using  CFLAGS="-DLTM_DESC -DLTC_EASY
2017-03-01 14:58:35 +01:00
Steffen Jaeckel
4f120531ab add separate CHECK_SOURCES build target 2017-03-01 14:09:29 +01:00