Commit Graph

1170 Commits

Author SHA1 Message Date
Steffen Jaeckel
b1c0227d54 introduce LTC_CFLAGS and LTC_LDFLAGS 2017-07-11 15:33:33 +02:00
Steffen Jaeckel
24e69b2956 more printf() clean-up
* remove last occurences in non-test code
* minimize in tests
2017-07-11 15:29:45 +02:00
Steffen Jaeckel
8b7edf5478 update DOT max values 2017-07-11 15:29:45 +02:00
Steffen Jaeckel
c6b93ae72e Merge branch 'pr/245' into release/1.18.0
This closes #245
2017-07-11 15:29:45 +02:00
Francois Perrad
37de73db01 add static _chc_process like in its prototype 2017-07-11 15:29:45 +02:00
Francois Perrad
53c62b3670 remove redundant prototypes
already declared in src/headers/tomcrypt_hash.h
2017-07-11 15:29:45 +02:00
Steffen Jaeckel
70f8a57f01 Merge pull request #249 from libtom/pr/dh-dsa-api
dh_set_key + dsa_set_key
2017-07-11 10:36:09 +02:00
Steffen Jaeckel
1819a02d5a update comments
[skip ci]
2017-07-11 10:32:53 +02:00
Karel Miko
e20e204b8c dh_set_key + dsa_set_key API change described in #248 2017-07-11 00:13:26 +02:00
karel-m
fa4713b68e Merge pull request #246 from libtom/pr/gcm-corner-cases
GCM allow skipping gcm_add_aad and gcm_process
2017-07-10 23:26:13 +02:00
Karel Miko
0792e3701e GCM allow skipping gcm_add_aad and gcm_process 2017-07-10 22:35:42 +02:00
Steffen Jaeckel
dd5996dd1f don't find the lo's to link, but use the list of objects 2017-07-10 10:20:36 +02:00
Steffen Jaeckel
221f7f223d add 'uninstall' make target
[skip ci]
2017-07-10 10:16:35 +02:00
Steffen Jaeckel
3806629e9e fix default make target 2017-07-09 17:34:45 +02:00
Steffen Jaeckel
4d897a36a3 Merge pull request #243 from libtom/pr/fix-chmod
Fix: chmod -x
2017-07-09 17:34:04 +02:00
Karel Miko
b89f3d8b5a fix: chmod -x notes/rsa-testvectors/*.txt 2017-07-09 16:22:28 +02:00
Karel Miko
2aa42f002f fix: chmod -x 2017-07-09 16:22:28 +02:00
Steffen Jaeckel
68bf547f9c use rsa_free() on error in rsa_make_key() 2017-07-09 16:02:11 +02:00
Steffen Jaeckel
749873c306 fix docs generation with TeX Live 2017
[skip ci]
2017-07-06 10:19:38 +02:00
Steffen Jaeckel
f15e0172ca Travis: also build master and 'release/*' branches 2017-07-05 14:43:21 +02:00
Steffen Jaeckel
e53858c740 update VERSION variables in makefiles
VERSION is now VERSION_PC
the new VERSION contains the entire string of SCRYPT
2017-07-05 14:30:17 +02:00
Steffen Jaeckel
a8965f048a Update makefiles 2017-07-05 14:30:17 +02:00
Steffen Jaeckel
fa5acee802 bump version 2017-07-05 14:30:17 +02:00
Steffen Jaeckel
d03635acab support patch-releases in helper.pl 2017-07-05 14:30:17 +02:00
Steffen Jaeckel
ac6f62badc update changes 2017-07-05 14:30:16 +02:00
Steffen Jaeckel
b59f066de3 update prng section in doc 2017-07-05 14:27:05 +02:00
Steffen Jaeckel
ac6fb72ef1 fix some doxygen headers 2017-07-05 14:27:05 +02:00
Steffen Jaeckel
6598dc0c3f update Doxyfile 2017-07-05 14:27:05 +02:00
Steffen Jaeckel
e1fcd3ab04 add hashsum multi-hash option 2017-07-05 14:26:53 +02:00
Steffen Jaeckel
ebc9d2943b Merge pull request #239 from libtom/pr/asn1-small-fixes
ASN.1 changes extracted from ECC stuff
2017-07-05 12:46:59 +02:00
Steffen Jaeckel
7d60fd2bfe don't expose der_length_sequence_ex() 2017-07-05 11:52:46 +02:00
Karel Miko
4bc1489584 small ASN.1 changes extracted from ECC stuff 2017-07-05 11:34:27 +02:00
Steffen Jaeckel
ce1ba58f00 Merge pull request #238 from libtom/proposal/ltc_pk_part
Re-factor X_import_radix() etc. API's
2017-07-05 11:33:17 +02:00
Steffen Jaeckel
c2f50459e2 better doc of radix_to_bin() 2017-07-05 10:25:01 +02:00
Steffen Jaeckel
4221c44fbc rename rand_bn_range() to rand_bn_upto() 2017-07-05 10:03:56 +02:00
Steffen Jaeckel
22919cd4f2 rand_bn_range(): count bits once 2017-07-04 10:58:10 +02:00
Steffen Jaeckel
8167b4d1cc Update makefiles 2017-07-04 10:30:50 +02:00
Steffen Jaeckel
a6aef23438 dh_make_key() is now dh_generate_key() 2017-07-04 10:30:39 +02:00
Steffen Jaeckel
e647f9a0e4 not good to check that prng is non-NULL
e.g. sprng() lives w/o context
2017-07-04 10:25:38 +02:00
Steffen Jaeckel
a0f2abc5b5 re-format 2017-07-04 10:25:38 +02:00
Steffen Jaeckel
a80abb1222 put dh_set_pg_dhparam() in own c file 2017-07-04 10:25:38 +02:00
Steffen Jaeckel
5640f8afc7 put dsa_set_pqg_dsaparam() in own c file 2017-07-04 10:25:38 +02:00
Steffen Jaeckel
3c2e0d6686 dsa_make_key_ex() is now dsa_generate_key() 2017-07-04 10:25:38 +02:00
Steffen Jaeckel
dbeaefd65b remove LTC_{DH,DSA}_KEY_INITIALIZER 2017-07-04 10:25:38 +02:00
Steffen Jaeckel
d1ecd82a42 use rand_bn_range() where possible 2017-06-28 20:50:21 +02:00
Steffen Jaeckel
bdfecc5f3c more doc updates 2017-06-28 16:45:29 +02:00
Steffen Jaeckel
d64880eeb1 add dsa_set_pqg_dsaparam() 2017-06-28 16:07:54 +02:00
Steffen Jaeckel
35e0c5fc71 clean-up a bit around DSA
* comments
* dsa_test()
* order of alloc/free of key parts
2017-06-28 16:07:32 +02:00
Steffen Jaeckel
1cce065676 Update makefiles 2017-06-28 14:44:17 +02:00
Steffen Jaeckel
0aad68c20d clean-up some PK tests
no need to test the same functionality multiple times
these tests were multiplied for the XX_import_radix() functions which
are gone now.
2017-06-28 14:44:06 +02:00