Commit Graph

2051 Commits

Author SHA1 Message Date
Steffen Jaeckel
c971205404 fix clang-tidy warnings: do not use else after return 2019-06-10 12:48:16 +02:00
Steffen Jaeckel
e673906026 fix differing parameter names 2019-06-10 12:48:16 +02:00
Steffen Jaeckel
0b06979b10 prefix tweetnacl crypto_ API 2019-06-10 12:48:16 +02:00
Karel Miko
10056ed540 make crypto_verify_32 static 2019-06-10 12:32:28 +02:00
Karel Miko
1301cc5d2f fix clang-tidy warnings: do not use else after return 2019-06-10 12:31:56 +02:00
Steffen Jaeckel
3da27d71a0 Improve comments&doc
[skip ci]
2019-06-10 03:28:42 +02:00
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