Commit Graph

1328 Commits

Author SHA1 Message Date
Steffen Jaeckel
fc65352261 moar doc
[skip ci]
2017-09-20 15:06:40 +02:00
Steffen Jaeckel
dd01232bcb review stream ciphers
[skip ci]
2017-09-20 15:06:40 +02:00
Steffen Jaeckel
2ccb3fb53d update OCB3 doc
[skip ci]
2017-09-20 15:06:40 +02:00
Steffen Jaeckel
56d17c8e55 some more doc updates 2017-09-20 15:06:40 +02:00
Karel Miko
5d74fee9dc doc tuning 2017-09-20 15:06:40 +02:00
Karel Miko
468245ce56 doc: stream ciphers 2017-09-20 15:06:40 +02:00
Karel Miko
9584975a6d some crypt.tex hacking 2017-09-20 15:06:40 +02:00
Karel Miko
7edc41162d fix crypt.pdf building 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
39650b4a08 add doc of new RSA API functions 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
583b2b3938 document PKCS#1 v1.5 signatures w/o ASN.1 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
09c3196930 use v1.18.0 instead of v1.18 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
9a0e208f5e add 'ltc_mp_digit' docs 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
728bc4a6a4 update "Primality Testing" 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
ce68fa34ee add rand_bn_X() doc 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
a0a7daea6f add termdoc option to view documentation on the terminal 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
01cb819c48 trim trailing spaces 2017-09-20 15:06:40 +02:00
Steffen Jaeckel
a9d9466694 beautify some strings
[skip-ci]
2017-09-20 15:06:28 +02:00
karel-m
632d2b757b Merge pull request #291 from libtom/pr/dsa-test-wycheproof
dsa_verify_hash fix + dsa_wycheproof_test
2017-09-20 13:23:51 +02:00
Karel Miko
66abefc54b add dsa_wycheproof_test + fix old dsa tests 2017-09-20 11:59:03 +02:00
Karel Miko
155e29dd68 dsa_verify_hash must set stat=0 on any error 2017-09-20 11:58:32 +02:00
Steffen Jaeckel
4b36f0654f Add 'Installation' section
This closes #293

[skip-ci]
2017-09-19 14:19:43 +02:00
Steffen Jaeckel
d169aa2af2 Merge pull request #290 from libtom/pr/write-strings
Add -Wwrite-strings (char* vs. const char*)
2017-09-19 13:24:13 +02:00
Karel Miko
b2813480bf LTC_CFLAGS += -Wwrite-strings 2017-09-18 12:35:03 +02:00
Karel Miko
5057af3ef1 fix char* vs. const char* 2017-09-18 12:35:03 +02:00
karel-m
565be29bb0 Merge pull request #292 from libtom/pr/write-strings-test-part
Partial changes from #290 (char* vs. const char* - tests related part)
2017-09-18 12:34:14 +02:00
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