Commit Graph

2145 Commits

Author SHA1 Message Date
Steffen Jaeckel
55d6661d48 Update makefiles 2019-06-09 23:20:45 +02:00
Steffen Jaeckel
fef07fd843 add documentation of Curve25519 API 2019-06-09 23:20:45 +02:00
Steffen Jaeckel
e0a9114129 move setting of sig-verification result to crypto_sign_open() 2019-06-09 23:20:45 +02:00
Steffen Jaeckel
0392867678 use shared {ed,x}25519_export() implementation 2019-06-09 23:20:45 +02:00
Steffen Jaeckel
3957c22e28 remove unused code from tweetnacl 2019-06-09 23:20:45 +02:00
Steffen Jaeckel
819656a12f add ed25519_make_key() testcase 2019-06-09 23:20:45 +02:00
Steffen Jaeckel
41731855c9 fix comment 2019-06-09 23:20:45 +02:00
Steffen Jaeckel
e3766e16ca add real pkcs#8 import of Curve25519 private keys 2019-06-09 22:46:57 +02:00
Steffen Jaeckel
8ea0fb1195 rename x25519_set_ku() to x25519_set_key() 2019-06-09 22:46:57 +02:00
Steffen Jaeckel
5d87aa21a5
Merge pull request #364 from libtom/feature/curve25519
Add curve25519
2019-06-09 22:22:39 +02:00
Steffen Jaeckel
47c34b37ef Update makefiles 2019-06-09 20:41:04 +02:00
Steffen Jaeckel
94b894fda9 update tests 2019-06-09 20:41:04 +02:00
Steffen Jaeckel
34196b90b9 add {ed,x}25519_import_x509() 2019-06-09 20:41:04 +02:00
Steffen Jaeckel
54d7c6782b clean-up macros
no need to enable them separately now
2019-06-09 20:41:04 +02:00
Steffen Jaeckel
233f8af490 draft-ietf-curdle-pkix is meanwhile rfc8410 2019-06-09 20:41:02 +02:00
Steffen Jaeckel
fe00be4abc Fix removed oid_st 2019-06-09 20:40:42 +02:00
Steffen Jaeckel
52a24ca3a3 add Curve25519 API 2019-06-09 20:40:40 +02:00
Steffen Jaeckel
59190c4f3c fix warnings & apply required changes 2019-06-09 11:43:54 +02:00
Steffen Jaeckel
a5072b17d5 add new signed datatype 2019-06-09 11:43:54 +02:00
Steffen Jaeckel
5698e0592c remove not required stuff & re-implement crypto_hash() 2019-06-09 11:43:54 +02:00
Steffen Jaeckel
ee11f2d500 add headers & footers 2019-06-09 11:43:54 +02:00
Steffen Jaeckel
85e902bcc0 add tweetnacl.c Version 20140427 2019-06-09 11:43:54 +02:00
Steffen Jaeckel
c600d81e31
Merge pull request #489 from libtom/pr/fix-stringop-truncation
Fix gcc 8.3 warning (stringop-truncation)
2019-06-09 11:40:51 +02:00
Karel Miko
5f09c2c584 Fix gcc 8.3 warning (stringop-truncation) 2019-06-09 11:40:27 +02:00
Steffen Jaeckel
65282c17b5
Merge pull request #488 from libtom/update/ltm
Update ltm
2019-06-09 11:39:19 +02:00
Steffen Jaeckel
7c56243a0f use replacement functions if they're available
we use the fact that in the same move of deprecating those functions,
tommath_class.h also isn't included anymore in tommath.h so those defines
are gone as well and can be used as an indication if the new functions are
available
2019-06-06 15:06:20 +02:00
Steffen Jaeckel
c11287a0ad latest version of ltm deprecated DIGIT_BIT 2019-06-06 15:06:20 +02:00
Steffen Jaeckel
4ed50d8da1
Merge pull request #485 from libtom/minor-fixes
Minor fixes
2019-06-05 09:24:19 +02:00
Steffen Jaeckel
b0bb7c830a fix missing dependencies 2019-06-04 08:50:27 +02:00
Steffen Jaeckel
4b3ef78901 TGTLIBTOOL wasn't always defined 2019-06-04 08:50:27 +02:00
Steffen Jaeckel
061237e6b1
Merge pull request #484 from fperrad/20190603_indent
fix indentation
2019-06-03 09:31:01 +02:00
Francois Perrad
b40cc35c2d fix indentation 2019-06-03 04:18:53 +02:00
Steffen Jaeckel
e9b2277a49
Merge pull request #483 from libtom/improve/x509
Improve/x509
2019-06-02 22:19:43 +02:00
Steffen Jaeckel
f6299995f8 update ecc_import_x509() 2019-05-27 10:05:11 +02:00
Steffen Jaeckel
21fa9cd92e Update makefiles 2019-05-27 10:05:11 +02:00
Steffen Jaeckel
dfa5258db5 update rsa_import_x509() 2019-05-27 10:05:11 +02:00
Steffen Jaeckel
5119e71023 add x509_decode_public_key_from_certificate() 2019-05-27 10:05:11 +02:00
Steffen Jaeckel
c28a8495d2
Merge pull request #481 from RektInator/develop
fixed compile issue on msvc++
2019-05-08 17:19:56 +02:00
Micky Langeveld
596e9a65e6 fixed compile issue on msvc++ 2019-04-18 09:22:38 +02:00
Steffen Jaeckel
e8afa13d5c
Merge pull request #476 from libtom/fix/474
Fix issue #474
2019-04-10 17:05:59 +02:00
Steffen Jaeckel
19e7f73948 fix scan-build warnings 2019-04-10 11:26:33 +02:00
Steffen Jaeckel
99fcbea2a2 don't error-out if no MPI is available 2019-04-10 11:26:33 +02:00
Steffen Jaeckel
a72aa2fc14 try to make travis job error-out if first build fails 2019-04-10 11:26:33 +02:00
Steffen Jaeckel
a76c823992 fix unused-function _sha256() in xsalsa20_test.c 2019-04-10 11:26:32 +02:00
Steffen Jaeckel
5f7feeab59 fix build
* LDFLAGS were missing when building the demo's
* change how CFLAGS and EXTRALIBS are passed
* also use EXTRALIBS when running testbuild.sh
2019-04-10 11:26:32 +02:00
Steffen Jaeckel
1bfde18513 FIPS 186.4 compliant usage of ltm mp_prime_is_prime() 2019-04-10 11:26:32 +02:00
Steffen Jaeckel
5ed32b73e6 improve ecc_test() output 2019-04-10 11:26:32 +02:00
Steffen Jaeckel
27d09b6104 also provide LTC_NORETURN for msvc 2019-04-10 09:17:50 +02:00
Steffen Jaeckel
a9ff2d0dac fixup meta_builds.sh after 798d7dc61f 2019-01-02 23:30:00 +01:00
Steffen Jaeckel
d58103d54f oops, NORETURN isn't only used in crypt_argchk() 2019-01-02 22:22:34 +01:00