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
|
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
|
f60e2902ed
|
dh_make_key_ex dh_export_radix dh_import_radix
|
2017-06-27 20:11:52 +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
|
00a5212d99
|
use ltc_pk_part in rsa_import_radix()
|
2017-06-27 20:05:36 +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 |
|
Steffen Jaeckel
|
1a3880fda5
|
Revert "re-factor size checks in blake2 implementations"
This reverts commit af38b1830eef6f56586c22e15800a2a3f1d37d47.
|
2017-06-27 12:33:40 +02:00 |
|
Steffen Jaeckel
|
af38b1830e
|
re-factor size checks in blake2 implementations
|
2017-06-26 14:02:52 +02:00 |
|
Steffen Jaeckel
|
3cfb2a5e2e
|
hide some of the 'new since 1.17' internal functions
|
2017-06-23 14:14:05 +02:00 |
|
Steffen Jaeckel
|
a80d3c00a8
|
no need for DH_BUF_SIZE
|
2017-06-23 14:05:57 +02:00 |
|
Francois Perrad
|
446fec1bc4
|
refactor switch with default
|
2017-06-22 17:13:40 +02:00 |
|
Steffen Jaeckel
|
e3937a2906
|
fix compile warning when building w/o tests
|
2017-06-22 14:21:14 +02:00 |
|
Steffen Jaeckel
|
11338d2496
|
introduce XMEMMOVE and check for its usage
|
2017-06-22 14:21:14 +02:00 |
|
Steffen Jaeckel
|
e9c90e7f63
|
no need to use XMEM_NEQ() in PK crypto
|
2017-06-22 14:21:14 +02:00 |
|
Steffen Jaeckel
|
ae698927ff
|
improve mem_neq() documentation
|
2017-06-22 14:21:14 +02:00 |
|
Steffen Jaeckel
|
1bf42ea99a
|
update some of the static functions
|
2017-06-22 14:21:14 +02:00 |
|
Steffen Jaeckel
|
27b3ffc627
|
use compare_testvector() instead of XMEMCMP() in tests
|
2017-06-22 14:21:14 +02:00 |
|
Steffen Jaeckel
|
05e28d6cfa
|
fix potential timing attacks in rsa, eax, ocb and ocb3
|
2017-06-22 14:21:14 +02:00 |
|
Karel Miko
|
243a1dc33e
|
drop _dh_make_key_ex
|
2017-06-22 13:19:48 +02:00 |
|
Karel Miko
|
cba1569c82
|
fix tomcrypt_pk.h
|
2017-06-22 13:19:48 +02:00 |
|
Karel Miko
|
5eaff56d90
|
remove dh_export_radix.c dh_import_radix.c
|
2017-06-22 13:19:47 +02:00 |
|
Karel Miko
|
771d67e102
|
DH facelift part1
|
2017-06-22 13:19:47 +02:00 |
|
Steffen Jaeckel
|
26b57032e7
|
use correct amount of M-R tests in dsa_make_params()
|
2017-06-22 11:55:08 +02:00 |
|
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 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
|
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
|
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 |
|
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
|
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 |
|
Francois Perrad
|
0bc0d55245
|
refactor REGISTER_*
|
2017-06-12 20:07:23 +02:00 |
|
Francois Perrad
|
ec51f880b5
|
Right hand side of assignment needs parenthesis
|
2017-06-12 20:07:23 +02:00 |
|
Francois Perrad
|
f40bda7cb3
|
fix indentation
|
2017-06-12 20:07:23 +02:00 |
|