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 |
|
Steffen Jaeckel
|
cfff656e25
|
re-factor dsa_make_key() etc.
|
2017-06-28 14:40:30 +02:00 |
|
Steffen Jaeckel
|
24946d08b7
|
use mp_cleanup_multi()
|
2017-06-28 14:40:30 +02:00 |
|
Steffen Jaeckel
|
ed149c9396
|
add tests for radix_to_bin()
|
2017-06-28 14:40:30 +02:00 |
|
Steffen Jaeckel
|
76b9bba857
|
introduce mp_cleanup_multi()
|
2017-06-28 14:40:30 +02:00 |
|
Steffen Jaeckel
|
292f42d3c0
|
Merge pull request #227 from libtom/pr/dh_make_key_ex
DH facelift part 2 (dh_make_key_ex & co.)
|
2017-06-27 22:25:00 +02:00 |
|
Steffen Jaeckel
|
37ce78fdc8
|
Update makefiles
|
2017-06-27 22:10:10 +02:00 |
|
Steffen Jaeckel
|
f2f113880b
|
also rename file
|
2017-06-27 22:10:07 +02:00 |
|
Steffen Jaeckel
|
c493a2a0a3
|
re-factor dh_export_radix() to dh_export_key()
|
2017-06-27 22:09:21 +02:00 |
|
Steffen Jaeckel
|
f226efc9a9
|
Update makefiles
|
2017-06-27 22:00:13 +02:00 |
|
Steffen Jaeckel
|
9d6689fc08
|
re-factor dh_make_key() and variants
|
2017-06-27 22:00:13 +02:00 |
|
Steffen Jaeckel
|
fbc54756c1
|
replace dh_import_radix() by dh_set_{pg,key}
|
2017-06-27 21:53:02 +02:00 |
|
Karel Miko
|
b3e535f933
|
update makefiles
|
2017-06-27 20:11:52 +02:00 |
|
Karel Miko
|
f60e2902ed
|
dh_make_key_ex dh_export_radix dh_import_radix
|
2017-06-27 20:11:52 +02:00 |
|
Steffen Jaeckel
|
a42f467ff1
|
Update makefiles
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
ae7d4d2947
|
re-factor rsa_test() to new rsa_set_X() API
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
627f6696cb
|
add radix_to_bin()
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
6b798ca6a6
|
replace rsa_import_radix() by rsa_set_{key,factors,crt_params}()
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
05e9f0ee79
|
Revert "use ltc_pk_part in rsa_import_radix()"
This reverts commit 023e4a2c23641d852cf47000948fa29a53249457.
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
083e8af78b
|
Revert "also test binary import"
This reverts commit 8b6f8c8cce325fa1ce3b61805aa80cdabc1826b4.
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
4afc024f6a
|
also test binary import
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
bfae92e4ab
|
use compare_testvector() in rsa_test()
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
00a5212d99
|
use ltc_pk_part in rsa_import_radix()
|
2017-06-27 20:05:36 +02:00 |
|
Steffen Jaeckel
|
51ac4da8fc
|
Merge pull request #241 from libtom/cleanup/4
Fourth general clean-up
|
2017-06-27 20:04:59 +02:00 |
|
Steffen Jaeckel
|
0a6af8d333
|
rsa_exptmod(): verify that p and q are valid before going the CRT path
|
2017-06-27 19:01:56 +02:00 |
|
Steffen Jaeckel
|
f5b8cc9dae
|
this should really implement a patch for the illegal access
|
2017-06-27 12:35:39 +02:00 |
|