Commit Graph

1303 Commits

Author SHA1 Message Date
Karel Miko
3b663a199f fix char* vs. const char* (tests related part) 2017-09-18 09:24:19 +02:00
karel-m
0ceb1c1213 Merge pull request #289 from libtom/pr/scan-build-status-bugs
scan-build --status-bugs, related to #287
2017-09-15 06:47:08 +02:00
Karel Miko
84fcd4aec7 scan_build --status-bugs - related to #287 2017-09-14 23:07:18 +02:00
karel-m
04cc6cc652 Merge pull request #288 from libtom/pr/fix-tv_gen-scan-build
Fix scan-build bug/warning in tv_gen - related to #287
2017-09-14 23:05:10 +02:00
Karel Miko
3ddb45a6b7 fix scan-build bug/warning in tv_gen 2017-09-14 20:32:47 +02:00
Karel Miko
5e71849942 properly exit dsa_int_validate_pqg 2017-09-14 20:07:32 +02:00
karel-m
5934eb3b7c Merge pull request #280 from libtom/pr/fix-dsa-cdf
fixes necessary to pass DSA cdf tests
2017-09-14 19:10:13 +02:00
Karel Miko
bb6a7e1c6c if dsa_int_validate_* fails return consistently CRYPT_INVALID_PACKET 2017-09-14 18:53:09 +02:00
Karel Miko
a990a8252e mp_clear_multi - reverse the order 2017-09-14 18:51:02 +02:00
Karel Miko
6200f301a5 add comment #ifdef LTC_SOURCE + internal helper functions 2017-09-14 18:49:42 +02:00
Karel Miko
d91d59421f fix de-referencing stat before checking for NULL 2017-09-14 18:48:04 +02:00
Karel Miko
444d9f3fb7 do dsa_int_validate_* in dsa_import 2017-09-14 17:38:12 +02:00
Karel Miko
fd94e9540f move qord trest to dsa_int_validate_pqg 2017-09-14 17:37:39 +02:00
Karel Miko
9765befd6b do dsa_int_validate_pqg in dsa_set_pqg_dsaparam 2017-09-14 17:29:59 +02:00
Karel Miko
45b6b947da dsa_int_validate_primes & LTC_MILLER_RABIN_REPS 2017-09-14 17:21:48 +02:00
Karel Miko
c806ea17f9 fix dsa_int_validate_xy 2017-09-14 17:21:48 +02:00
Karel Miko
1ea4fecc81 FIPS 186-4 DSA validity tests 2017-09-14 17:21:48 +02:00
Karel Miko
5fb4c9f89b another approach for dsa_int_validate_* 2017-09-14 17:21:48 +02:00
Karel Miko
aa5b9dafc4 fix dsa_int_validate_key related compiler warnings 2017-09-14 17:21:48 +02:00
Steffen Jaeckel
1625ce4001 re-factor & re-name internal dsa key validation 2017-09-14 17:21:48 +02:00
Karel Miko
053ba6d600 introducing dsa_verify_key_ex 2017-09-14 17:21:48 +02:00
Karel Miko
2505e3b609 add basic validity tests to dsa_set 2017-09-14 17:21:48 +02:00
Karel Miko
c908eb16bb Merge pull request #283 from apjanke-build-on-mac-darnit 2017-09-14 17:15:53 +02:00
Steffen Jaeckel
2dd446dbdb clang and -Wno-missing-field-initializers 2017-09-14 17:11:06 +02:00
Andrew Janke
cfce691a50 initialize ltc_mp to force allocation under all compilers, including clang on macOS 2017-09-14 17:07:49 +02:00
karel-m
32d60ac134 Merge pull request #278 from libtom/pr/fix-dsa-wycheproof
DSA wycheproof tests
2017-09-10 14:00:54 +02:00
Karel Miko
c927e4315a dsa_verify_hash: fix wycheproof - appending unused 0's 2017-09-02 14:16:52 +02:00
Karel Miko
7e4bd971de dsa_verify_hash: properly handle (=reject) negative r, s 2017-09-02 14:16:52 +02:00
karel-m
aade47c62c Merge pull request #286 from libtom/pr/fix-dsa-rsa-trouble
Fix DSA dependency on RSA
2017-09-01 20:15:52 +02:00
Karel Miko
59857ba5e0 fix DSA dependency on RSA #285 2017-09-01 18:24:15 +02:00
Karel Miko
87f94e1f0d Merge branch 'apjanke-add-sizes-and-constants-demo-targets' into release/1.18.0
PR #282
2017-08-31 19:08:00 +02:00
Andrew Janke
f5353a613d makefile.msvc: add targets for sizes and constants demos 2017-08-31 18:55:31 +02:00
Andrew Janke
d7461a91bc makefile.mingw: add targets for sizes and constants demos 2017-08-31 18:55:31 +02:00
Andrew Janke
509086253e makefile.unix: add targets for sizes and constants demos 2017-08-31 18:55:31 +02:00
Karel Miko
c04e8a397f Merge branch 'apjanke-fix-typos-in-makefile.shared-help' into release/1.18.0
PR #284
2017-08-31 18:52:53 +02:00
Andrew Janke
39c721c8da makefile.shared: protect commas in function calls through variable substitution 2017-08-31 05:51:37 -04:00
Karel Miko
9ea6247da1 Revert "add basic validity tests to dsa_set"
This reverts commit 9003e87e5a.
2017-08-30 00:03:04 +02:00
Karel Miko
9003e87e5a add basic validity tests to dsa_set 2017-08-30 00:01:00 +02:00
karel-m
a86287b698 Merge pull request #277 from libtom/pr/fix-rsa-wycheproof
RSA wycheproof tests
2017-08-29 22:13:35 +02:00
Steffen Jaeckel
43e6860925 fix RSA - wycheproof "wrong length" 2017-08-29 17:26:14 +02:00
Karel Miko
fe9af6cfbd RSA: handle wycheproof test vectors - Legacy:missing NULL 2017-08-29 17:26:14 +02:00
Steffen Jaeckel
a22140f94c oops, fix .common_uninstall make-target
[skip-ci]
2017-08-28 17:31:44 +02:00
Steffen Jaeckel
e6d23834ae Merge pull request #276 from libtom/pr/fix-gcm-iv
GCM zero size IV
2017-08-28 17:28:30 +02:00
Karel Miko
105abdd8cd GCM: 0 size IV is not valid #273 2017-08-28 16:10:30 +02:00
Steffen Jaeckel
042df8ca20 Merge pull request #279 from libtom/cleanup/2
Yet another clean-up and bugfix PR
2017-08-28 09:14:25 +02:00
Steffen Jaeckel
bb42345234 fix missing registration of PRNG's in ltcrypt 2017-08-26 12:07:24 +02:00
Steffen Jaeckel
b49ce35b2c fix DH timing when compiling with TFM support 2017-08-26 12:05:53 +02:00
Steffen Jaeckel
33e70b427a CRYPT_INVALID_KEYSIZE isn't only used for block ciphers 2017-08-26 12:03:35 +02:00
Steffen Jaeckel
041b7aa5c0 Update makefiles 2017-08-23 22:35:35 +02:00
Steffen Jaeckel
0afbefc549 bump version 2017-08-23 22:35:32 +02:00