Commit Graph

1061 Commits

Author SHA1 Message Date
Steffen Jaeckel
7453eddae9 improve ltc_math_descriptor a bit
* introduce LTC_MILLER_RABIN_REPS which is used as default value
  in the isprime() implementations
2017-06-22 11:55:08 +02:00
karel-m
6f85293672 Merge pull request #235 from libtom/pr/ecc_sign+verify_hash_rfc7518
ECC ecc_sign+verify_hash_raw > ecc_sign+verify_hash_rfc7518
2017-06-21 14:33:37 +02:00
Karel Miko
ac02f7422b ecc_sign+verify_hash_rfc7518 tests 2017-06-21 13:43:25 +02:00
Karel Miko
b8f22157b3 PK_MAX_RETRIES 2017-06-21 13:38:39 +02:00
Karel Miko
0c115a162d whitespace 2017-06-21 13:26:52 +02:00
Karel Miko
fff832091f ecc_sign_hash max_iterations 2017-06-21 13:25:06 +02:00
Karel Miko
cdf04b6140 fix mp_montgomery_setup 2017-06-21 13:01:22 +02:00
Karel Miko
a937f23821 static functions name fix 2017-06-21 12:49:19 +02:00
Karel Miko
67200b641d ecc_sign+verify_hash_raw > ecc_sign+verify_hash_rfc7518 2017-06-21 12:11:35 +02:00
Steffen Jaeckel
c14bcf4d30 Merge pull request #233 from libtom/cleanup/2
Second general clean-up
2017-06-20 17:51:16 +02:00
Steffen Jaeckel
18c00ddcd6 better usage of find() 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
5246c7de64 fix links in pdf doc 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
8e29a6061f use {BIN,DATA,INC,LIB}PATH in makefile.unix 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
6fc0a90a1e fix headers & footers in demos & tests 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
4cd1355b8f more clean-up of headers/footers 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
fe19dad623 replace SVN tags 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
8c11490e2d fix usage of PREFIX vs. DESTDIR
This closes #232
2017-06-20 15:16:11 +02:00
Steffen Jaeckel
7597d20c78 use CROSS_COMPILE instead of PREFIX to indicate toolchain prefix 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
b16066cbfc Add possibility to change install options
This closes #231
2017-06-20 15:16:11 +02:00
Steffen Jaeckel
66527b3e5e include "tomcrypt.h", not <tomcrypt.h>
we want to include the local version of the header, not the system-version
2017-06-20 15:16:11 +02:00
Steffen Jaeckel
fb35d5be54 more clean-up of headers 2017-06-20 15:16:11 +02:00
Steffen Jaeckel
4dc211e19d clean-up headers 2017-06-20 15:16:11 +02:00
Karel Miko
2fd5808897 timing - silence valgrind warning (memleak) 2017-06-20 01:33:23 +02:00
Karel Miko
e5f25b6553 tests+timing - silence valgrind warning (memleak) 2017-06-19 20:34:08 +02:00
Karel Miko
03437a1bdd timing - silence valgrind warning 2017-06-19 18:51:04 +02:00
Karel Miko
8dec4d9ac4 prng_test - silence valgrind warning 2017-06-19 12:28:22 +02:00
Steffen Jaeckel
cbc4260314 Merge pull request #229 from libtom/cleanup/1
First general clean-up
2017-06-15 10:31:14 +02:00
Steffen Jaeckel
f2076f0700 use zeromem() where appropriate 2017-06-15 01:07:44 +02:00
Steffen Jaeckel
258de3cecc use ltc_mp_digit instead of unsigned long 2017-06-15 01:07:44 +02:00
Steffen Jaeckel
d6e2a585d0 sync doc from ltc_math_descriptor 2017-06-15 01:07:44 +02:00
Steffen Jaeckel
98b500e873 update crypt_build_settings et al. 2017-06-15 01:07:44 +02:00
Steffen Jaeckel
0cf7c49045 sync ltc_math_descriptor from doc 2017-06-15 00:46:50 +02:00
Steffen Jaeckel
a0e5c2e4ff add some makefile docs 2017-06-15 00:46:50 +02:00
Steffen Jaeckel
3995f971d7 make sure to use makefile.shared on Mac 2017-06-15 00:46:50 +02:00
Steffen Jaeckel
048cbc55b0 disable yet another warning 2017-06-15 00:46:50 +02:00
Karel Miko
2cd69fb541 improved helper.pl (check mandatory comments - not included in "--check-all" yet) 2017-06-14 17:16:26 +02:00
Steffen Jaeckel
23d5a02ecd Merge pull request #217 from libtom/scan-build
Travis-CI: clang static analyzer
2017-06-14 09:19:19 +02:00
Steffen Jaeckel
31ddf7c894 ...
https://www.youtube.com/watch?v=6bbIBs0P2t0
2017-06-13 18:41:09 +02:00
Steffen Jaeckel
ac41d07247 try libtommath from ubuntu 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
ea08fbb777 use libtommath from debian sid 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
ba94b536be this is a horrible PR 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
1ee2662ab5 only run scan_build.sh once 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
52672bc358 m( 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
9baba0a83a fix usage of makefile.unix 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
ebfd164246 alright, let's also use ltm from packagecloud 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
3bb9193d6f alright, let's try if upgrading to trusty helps... 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
75e00e097c well, then install a new clang version and see... 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
ff2de0b07a looks like precise doesn't have scan-build under that name
...but we should be able to find it somewhere in /usr/bin/
2017-06-13 18:41:09 +02:00
Steffen Jaeckel
742b4cee78 add clang scan-build 2017-06-13 18:41:09 +02:00
Steffen Jaeckel
bda493d770 Merge pull request #226 from fperrad/20170609_lint
some linting

[skip ci]
2017-06-13 12:17:16 +02:00