Paul Bakker
|
caf0e60969
|
Forced cast to unsigned int for %u format in the ecdsa application
|
2013-12-30 19:15:48 +01:00 |
|
Paul Bakker
|
f0fc2a27b0
|
Properly put the pragma comment for the MSVC linker in defines
|
2013-12-30 15:42:43 +01:00 |
|
Paul Bakker
|
29e86eae29
|
Removed 'z' length modifier from format in ecdsa program
|
2013-12-30 15:38:48 +01:00 |
|
Paul Bakker
|
3e72f6effd
|
Only search for Pthread on Windows platforms
|
2013-12-30 15:28:46 +01:00 |
|
Paul Bakker
|
f9c4953e39
|
Added version of the SSL pthread server example
|
2013-12-30 14:55:54 +01:00 |
|
Paul Bakker
|
5a607d26b7
|
Merged IPv6 support in the NET module
|
2013-12-17 14:34:19 +01:00 |
|
Paul Bakker
|
f70fe81a6e
|
Fixed memory leak in benchmark application
|
2013-12-17 13:09:12 +01:00 |
|
Manuel Pégourié-Gonnard
|
18d31f8e59
|
Make listening address configurable in ssl_server2
|
2013-12-17 12:00:57 +01:00 |
|
Paul Bakker
|
014f143c2a
|
Merged EC key generation support
|
2013-12-02 14:55:09 +01:00 |
|
Manuel Pégourié-Gonnard
|
6e16cdb37c
|
Allow curve selection in gen_key
|
2013-11-30 15:32:47 +01:00 |
|
Paul Bakker
|
fdda785248
|
Removed dependency on unistd.h for MSVC in apps
|
2013-11-30 15:15:31 +01:00 |
|
Paul Bakker
|
840ab20ea2
|
Explicit conversions to int from size_t for MSVC (64-bit) in apps
|
2013-11-30 15:14:38 +01:00 |
|
Paul Bakker
|
c97f9f6465
|
Removed making commandline arguments case insensitive
|
2013-11-30 15:14:11 +01:00 |
|
Manuel Pégourié-Gonnard
|
49d738b50d
|
Ignore file generated by gen_key
|
2013-11-30 14:39:15 +01:00 |
|
Manuel Pégourié-Gonnard
|
8c237710a0
|
Start adding EC support in gen_key
|
2013-11-30 14:36:54 +01:00 |
|
Paul Bakker
|
a8239a4490
|
Removed Windows auto-spawn client code
|
2013-11-29 11:16:37 +01:00 |
|
Manuel Pégourié-Gonnard
|
0f2eacbd09
|
crypt_and_hash: check MAC earlier
|
2013-11-26 15:19:57 +01:00 |
|
Paul Bakker
|
e4c71f0e11
|
Merged Prime generation improvements
|
2013-11-25 14:27:28 +01:00 |
|
Paul Bakker
|
8fc30b178c
|
Various const fixes
|
2013-11-25 13:29:43 +01:00 |
|
Manuel Pégourié-Gonnard
|
5e1e61124a
|
Insert warning about time in dh_genprime
|
2013-11-22 21:16:10 +01:00 |
|
Paul Bakker
|
993e386a73
|
Merged renegotiation refactoring
|
2013-10-31 14:32:38 +01:00 |
|
Manuel Pégourié-Gonnard
|
291f9af935
|
Make all hash checking in programs constant-time
|
2013-10-31 14:22:27 +01:00 |
|
Paul Bakker
|
424cd6943c
|
Check HMAC in constant-time in crypt_and_hash
|
2013-10-31 14:22:08 +01:00 |
|
Manuel Pégourié-Gonnard
|
6d8404d6ba
|
Server: enforce renegotiation
|
2013-10-30 16:48:10 +01:00 |
|
Manuel Pégourié-Gonnard
|
9c1e1898b6
|
Move some code around, improve documentation
|
2013-10-30 16:48:09 +01:00 |
|
Manuel Pégourié-Gonnard
|
f3dc2f6a1d
|
Add code for testing server-initiated renegotiation
|
2013-10-30 16:46:46 +01:00 |
|
Manuel Pégourié-Gonnard
|
53b3e0603b
|
Add code for testing client-initiated renegotiation
|
2013-10-30 16:46:46 +01:00 |
|
Paul Bakker
|
60b1d10131
|
Fixed spelling / typos (from PowerDNS:codespell)
|
2013-10-29 10:02:51 +01:00 |
|
Paul Bakker
|
93c6aa4014
|
Fixed that selfsign copies issuer_name to subject_name
|
2013-10-28 22:29:11 +01:00 |
|
Paul Bakker
|
08bb187bb6
|
Merged Public Key framwork tests
|
2013-10-28 14:11:09 +01:00 |
|
Manuel Pégourié-Gonnard
|
3daaf3d21d
|
X509 key identifiers depend on SHA1
|
2013-10-28 13:58:32 +01:00 |
|
Manuel Pégourié-Gonnard
|
b0a467fdbe
|
Start adding a PK test suite
|
2013-10-15 15:19:59 +02:00 |
|
Paul Bakker
|
f34673e37b
|
Merged RSA-PSK key-exchange and ciphersuites
|
2013-10-15 12:46:41 +02:00 |
|
Paul Bakker
|
376e8153a0
|
Merged ECDHE-PSK ciphersuites
|
2013-10-15 12:45:36 +02:00 |
|
Manuel Pégourié-Gonnard
|
8a3c64d73f
|
Fix and simplify *-PSK ifdef's
|
2013-10-14 19:54:10 +02:00 |
|
Manuel Pégourié-Gonnard
|
1b62c7f93d
|
Fix dependencies and related issues
|
2013-10-14 14:02:19 +02:00 |
|
Paul Bakker
|
b799dec4c0
|
Merged support for Brainpool curves and ciphersuites
|
2013-10-11 10:05:43 +02:00 |
|
Manuel Pégourié-Gonnard
|
2f77ce3658
|
Fix forgotten snprintf define for MSVC
|
2013-10-11 09:17:19 +02:00 |
|
Manuel Pégourié-Gonnard
|
22f64c8a9a
|
Cosmetics in benchmark
|
2013-10-10 13:21:48 +02:00 |
|
Paul Bakker
|
1337affc91
|
Buffer allocator threading support
|
2013-09-29 15:02:11 +02:00 |
|
Paul Bakker
|
1ffefaca1e
|
Introduced entropy_free()
|
2013-09-29 15:01:42 +02:00 |
|
Paul Bakker
|
396333e0a3
|
Updated ssl_test to handle EOF return value
|
2013-09-28 11:08:43 +02:00 |
|
Manuel Pégourié-Gonnard
|
a0fdf8b0a0
|
Simplify the way default certs are used
|
2013-09-25 14:05:49 +02:00 |
|
Manuel Pégourié-Gonnard
|
641de714b6
|
Use both RSA and ECDSA CA if available
|
2013-09-25 13:23:33 +02:00 |
|
Manuel Pégourié-Gonnard
|
ac8474fb1c
|
Changed default cert loading in ssl_server2
|
2013-09-25 11:35:15 +02:00 |
|
Manuel Pégourié-Gonnard
|
b095a7bf29
|
Offer both RSA and ECDSA by default in ssl_server2
|
2013-09-24 21:25:54 +02:00 |
|
Manuel Pégourié-Gonnard
|
3ebb2cdb52
|
Add support for multiple server certificates
|
2013-09-24 21:25:53 +02:00 |
|
Manuel Pégourié-Gonnard
|
cbf3ef3861
|
RSA and ECDSA key exchanges don't depend on CRL
|
2013-09-24 21:25:53 +02:00 |
|
Paul Bakker
|
15b9b3a7e0
|
Key generation tool
|
2013-09-23 13:25:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
abd6e02b7b
|
Rm _CRT_SECURE_NO_DEPRECATE for programs
(Already in config.h.)
|
2013-09-20 16:51:13 +02:00 |
|
Manuel Pégourié-Gonnard
|
3bd2aae5a5
|
Add forgotten initializations
|
2013-09-20 16:51:13 +02:00 |
|
Manuel Pégourié-Gonnard
|
7831b0cb3c
|
A few more issues with small configurations
|
2013-09-20 12:30:21 +02:00 |
|
Manuel Pégourié-Gonnard
|
a7496f00ff
|
Fix a few more warnings in small configurations
|
2013-09-20 11:29:59 +02:00 |
|
Manuel Pégourié-Gonnard
|
92e5b59355
|
Fix some dependencies/warnings in programs
|
2013-09-20 10:58:58 +02:00 |
|
Manuel Pégourié-Gonnard
|
da179e4870
|
Add ecp_curve_list(), hide ecp_supported_curves
|
2013-09-18 15:37:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
56cd319f0e
|
Add human-friendly name in ecp_curve_info
|
2013-09-18 15:37:44 +02:00 |
|
Manuel Pégourié-Gonnard
|
803bb312a3
|
Remove ecp-bench (now in general benchmark)
|
2013-09-18 15:37:43 +02:00 |
|
Paul Bakker
|
940f9ce515
|
Added pk_decrypt, pk_encrypt, pk_sign, pk_verify example applications
|
2013-09-18 15:34:57 +02:00 |
|
Paul Bakker
|
2e24ca74b0
|
Updated key_app.c and key_app_writer.c for EC key printing
|
2013-09-18 15:25:16 +02:00 |
|
Manuel Pégourié-Gonnard
|
cc34f95b43
|
Include ECDSA and ECDH in benchmark
|
2013-09-18 14:35:57 +02:00 |
|
Manuel Pégourié-Gonnard
|
ed7cbe92d5
|
Allow selection of what to benchmark
|
2013-09-18 14:35:56 +02:00 |
|
Manuel Pégourié-Gonnard
|
8271f2ffb5
|
Shorten benchmark source using macros and loops
|
2013-09-18 14:35:56 +02:00 |
|
Manuel Pégourié-Gonnard
|
15d5de1969
|
Simplify usage of DHM blinding
|
2013-09-18 14:35:55 +02:00 |
|
Manuel Pégourié-Gonnard
|
568c9cf878
|
Add ecp_supported_curves and simplify some code
|
2013-09-18 14:34:34 +02:00 |
|
Manuel Pégourié-Gonnard
|
1b57878e4a
|
Add missing VS project files, generated by script
|
2013-09-18 14:34:33 +02:00 |
|
Manuel Pégourié-Gonnard
|
68821da01e
|
Fix clang warnings in applications
Some fd would be used uninitialized if we goto exit early.
|
2013-09-18 14:34:33 +02:00 |
|
Manuel Pégourié-Gonnard
|
4cf0686d6d
|
Remove spurious '+ 3' in ecdsa_write_signature()
|
2013-09-18 14:34:33 +02:00 |
|
Paul Bakker
|
c559c7a680
|
Renamed x509_cert structure to x509_crt for consistency
|
2013-09-18 14:32:52 +02:00 |
|
Paul Bakker
|
ddf26b4e38
|
Renamed x509parse_* functions to new form
e.g. x509parse_crtfile -> x509_crt_parse_file
|
2013-09-18 13:46:23 +02:00 |
|
Paul Bakker
|
369d2eb2a2
|
Introduced x509_crt_init(), x509_crl_init() and x509_csr_init()
|
2013-09-18 12:01:43 +02:00 |
|
Paul Bakker
|
86d0c1949e
|
Generalized function names of x509 functions not parse-specific
x509parse_serial_gets -> x509_serial_gets
x509parse_dn_gets -> x509_dn_gets
x509parse_time_expired -> x509_time_expired
|
2013-09-18 12:01:42 +02:00 |
|
Paul Bakker
|
7fc7fa630f
|
cert_write application also works without POLARSSL_X509_CSR_PARSE_C
|
2013-09-17 14:44:00 +02:00 |
|
Paul Bakker
|
36713e8ed9
|
Fixed bunch of X509_PARSE related defines / dependencies
|
2013-09-17 13:25:29 +02:00 |
|
Paul Bakker
|
30520d1776
|
Moved rsa_sign_pss / rsa_verify_pss to use PK for key reading
|
2013-09-17 11:39:31 +02:00 |
|
Paul Bakker
|
1525495330
|
Key app updated to support pk_context / ECP keypairs
|
2013-09-17 11:24:56 +02:00 |
|
Paul Bakker
|
7504d7f806
|
Fixed X509 define in selftest.c
|
2013-09-16 22:56:18 +02:00 |
|
Paul Bakker
|
7c6b2c320e
|
Split up X509 files into smaller modules
|
2013-09-16 21:41:54 +02:00 |
|
Paul Bakker
|
ace02867f6
|
Do not lowercase key values in arguments in cert_app.c
|
2013-09-16 21:40:34 +02:00 |
|
Paul Bakker
|
40ce79f1e6
|
Moved DHM parsing from X509 module to DHM module
|
2013-09-15 17:43:54 +02:00 |
|
Paul Bakker
|
9a97c5d894
|
Fixed warnings in case application dependencies are not met
|
2013-09-15 17:07:33 +02:00 |
|
Paul Bakker
|
c7bb02be77
|
Moved PK key writing from X509 module to PK module
|
2013-09-15 14:54:56 +02:00 |
|
Paul Bakker
|
1a7550ac67
|
Moved PK key parsing from X509 module to PK module
|
2013-09-15 13:47:30 +02:00 |
|
Manuel Pégourié-Gonnard
|
92cb1d3a91
|
Make CBC an option, step 3: individual ciphers
|
2013-09-13 17:25:43 +02:00 |
|
Paul Bakker
|
9013af76a3
|
Merged major refactoring of x509write module into development
This refactoring adds support for proper CSR writing and X509
certificate generation / signing
|
2013-09-12 11:58:04 +02:00 |
|
Manuel Pégourié-Gonnard
|
26b4d45f49
|
Fix key_app_writer
|
2013-09-12 11:57:02 +02:00 |
|
Manuel Pégourié-Gonnard
|
31e59400d2
|
Add missing f_rng/p_rng arguments to x509write_crt
|
2013-09-12 11:57:02 +02:00 |
|
Manuel Pégourié-Gonnard
|
f38e71afd5
|
Convert x509write_crt interface to PK
|
2013-09-12 11:57:02 +02:00 |
|
Manuel Pégourié-Gonnard
|
ee73179b2f
|
Adapt x509write_csr prototypes for PK
|
2013-09-12 11:57:00 +02:00 |
|
Paul Bakker
|
8f0423afbc
|
Fix for benchmark app after GCM refactoring merge
|
2013-09-10 14:51:50 +02:00 |
|
Paul Bakker
|
c0dcf0ceb1
|
Merged blinding additions for EC, RSA and DHM into development
|
2013-09-10 14:44:27 +02:00 |
|
Paul Bakker
|
b2d7f23592
|
Ability to selfsign certificates added to cert_write app
|
2013-09-09 16:24:18 +02:00 |
|
Paul Bakker
|
4122f3eacf
|
Removed POLARSSL_ERROR_C define and added as requirement defing for
cert_req and cert_write apps
|
2013-09-09 16:01:46 +02:00 |
|
Paul Bakker
|
80d44fee2e
|
Moved 'define handling code' to top
|
2013-09-09 15:59:20 +02:00 |
|
Paul Bakker
|
e2673fb34b
|
cert_write app now parses presented CSR for subject name and key
|
2013-09-09 15:56:09 +02:00 |
|
Paul Bakker
|
f9f377e652
|
CSR Parsing (without attributes / extensions) implemented
|
2013-09-09 15:35:10 +02:00 |
|
Paul Bakker
|
8693274219
|
Small typo in usage of cert_req app
|
2013-09-09 14:09:42 +02:00 |
|
Paul Bakker
|
1014e95775
|
Use issuer_name from the issuer_certificate in cert_write app
|
2013-09-09 13:59:42 +02:00 |
|
Paul Bakker
|
52be08c299
|
Added support for writing Key Usage and NS Cert Type extensions
|
2013-09-09 12:38:45 +02:00 |
|
Paul Bakker
|
cd35803684
|
Changes x509_csr to x509write_csr
|
2013-09-09 12:38:45 +02:00 |
|
Manuel Pégourié-Gonnard
|
e8ea0c0421
|
Fix exit value on SERVERQUIT
|
2013-09-08 20:08:24 +02:00 |
|