Commit Graph

  • 1a483833b3 SSL_TLS doesn't depend on PK any more Manuel Pégourié-Gonnard 2013-09-20 12:29:15 +02:00
  • 34ced2dffe Fix mis-sized buffer Manuel Pégourié-Gonnard 2013-09-20 11:37:39 +02:00
  • a7496f00ff Fix a few more warnings in small configurations Manuel Pégourié-Gonnard 2013-09-20 11:29:59 +02:00
  • 4fee79b885 Fix some more depend issues Manuel Pégourié-Gonnard 2013-09-19 18:09:14 +02:00
  • 387a211fad Fix some dependencies in tests Manuel Pégourié-Gonnard 2013-09-18 18:54:01 +02:00
  • 92e5b59355 Fix some dependencies/warnings in programs Manuel Pégourié-Gonnard 2013-09-18 18:57:10 +02:00
  • 1032c1d3ec Fix some dependencies and warnings in small config Manuel Pégourié-Gonnard 2013-09-18 17:18:34 +02:00
  • 5ad403f5b5 Prepared for 1.3.0 RC0 polarssl-1.3.0-rc0 Paul Bakker 2013-09-18 21:21:30 +02:00
  • eaed9dffb7 Added --soversion to help in bump_version.sh Paul Bakker 2013-09-18 21:19:35 +02:00
  • 6db455e6e3 PSK callback added to SSL server Paul Bakker 2013-09-18 17:29:31 +02:00
  • ff29f9c825 Compute public key if absent when reading EC key Manuel Pégourié-Gonnard 2013-09-18 16:13:02 +02:00
  • 4fc090af9c Minor typos in pk.h Paul Bakker 2013-09-18 15:43:25 +02:00
  • da179e4870 Add ecp_curve_list(), hide ecp_supported_curves Manuel Pégourié-Gonnard 2013-09-18 15:31:24 +02:00
  • dace82f805 Refactor cipher information management Manuel Pégourié-Gonnard 2013-09-18 15:12:07 +02:00
  • a310459f5c Fix a few things that broke with RSA compiled out Manuel Pégourié-Gonnard 2013-09-17 21:17:44 +02:00
  • 161ef968db Cache pre-computed points for ecp_mul() Manuel Pégourié-Gonnard 2013-09-17 19:13:10 +02:00
  • 56cd319f0e Add human-friendly name in ecp_curve_info Manuel Pégourié-Gonnard 2013-09-17 17:23:07 +02:00
  • 803bb312a3 Remove ecp-bench (now in general benchmark) Manuel Pégourié-Gonnard 2013-09-17 17:08:05 +02:00
  • 940f9ce515 Added pk_decrypt, pk_encrypt, pk_sign, pk_verify example applications Paul Bakker 2013-09-18 15:34:57 +02:00
  • 45f21c7ad1 PK layer and X509 core refactoring in ChangeLog Paul Bakker 2013-09-18 15:33:49 +02:00
  • 2e24ca74b0 Updated key_app.c and key_app_writer.c for EC key printing Paul Bakker 2013-09-18 15:21:27 +02:00
  • cc34f95b43 Include ECDSA and ECDH in benchmark Manuel Pégourié-Gonnard 2013-09-17 16:04:08 +02:00
  • a79d123a55 Make ecp_supported_curves constant Manuel Pégourié-Gonnard 2013-09-17 15:42:35 +02:00
  • ed7cbe92d5 Allow selection of what to benchmark Manuel Pégourié-Gonnard 2013-09-17 15:30:51 +02:00
  • 8271f2ffb5 Shorten benchmark source using macros and loops Manuel Pégourié-Gonnard 2013-09-17 14:57:55 +02:00
  • 51451f8d26 Replace EC flag with ssl_ciphersuite_uses_ec() Manuel Pégourié-Gonnard 2013-09-17 12:06:25 +02:00
  • 15d5de1969 Simplify usage of DHM blinding Manuel Pégourié-Gonnard 2013-09-17 11:34:11 +02:00
  • c83e418149 Prepare for ECDH point blinding just in case Manuel Pégourié-Gonnard 2013-09-17 10:48:41 +02:00
  • c972770f78 Prepare ecp_group for future extensions Manuel Pégourié-Gonnard 2013-09-16 18:56:28 +02:00
  • 456d3b9b0b Make ECP error codes more specific Manuel Pégourié-Gonnard 2013-09-16 18:04:38 +02:00
  • 568c9cf878 Add ecp_supported_curves and simplify some code Manuel Pégourié-Gonnard 2013-09-16 17:30:04 +02:00
  • 7038039f2e Dissociate TLS and internal EC curve identifiers Manuel Pégourié-Gonnard 2013-09-16 16:19:53 +02:00
  • ef009ffde9 Small fix to check_doxy_blocks script Manuel Pégourié-Gonnard 2013-09-16 13:40:25 +02:00
  • 1b57878e4a Add missing VS project files, generated by script Manuel Pégourié-Gonnard 2013-09-16 13:33:42 +02:00
  • 68821da01e Fix clang warnings in applications Manuel Pégourié-Gonnard 2013-09-16 12:34:33 +02:00
  • a97c015f89 Rm useless/wrong DHM lenght test Manuel Pégourié-Gonnard 2013-09-16 12:12:40 +02:00
  • 4cf0686d6d Remove spurious '+ 3' in ecdsa_write_signature() Manuel Pégourié-Gonnard 2013-09-16 12:07:45 +02:00
  • dd0f57f186 Check key size in cipher_setkey() Manuel Pégourié-Gonnard 2013-09-16 11:47:43 +02:00
  • d331319a38 Check -m option in compat.sh Manuel Pégourié-Gonnard 2013-09-13 19:20:37 +02:00
  • 0a286d9e32 Merged X509 refactoring into development Paul Bakker 2013-09-18 14:33:53 +02:00
  • b6b0956631 Rm of memset instead of x509_crt_init() Paul Bakker 2013-09-18 14:17:41 +02:00
  • c559c7a680 Renamed x509_cert structure to x509_crt for consistency Paul Bakker 2013-09-18 14:13:26 +02:00
  • 9556d3d650 Renamed x509_crt_write.c and x509_csr_write.c Paul Bakker 2013-09-18 13:50:13 +02:00
  • ddf26b4e38 Renamed x509parse_* functions to new form Paul Bakker 2013-09-18 13:46:23 +02:00
  • 369d2eb2a2 Introduced x509_crt_init(), x509_crl_init() and x509_csr_init() Paul Bakker 2013-09-18 11:58:25 +02:00
  • 86d0c1949e Generalized function names of x509 functions not parse-specific Paul Bakker 2013-09-18 11:11:02 +02:00
  • 7fc7fa630f cert_write application also works without POLARSSL_X509_CSR_PARSE_C Paul Bakker 2013-09-17 14:44:00 +02:00
  • 5187656211 Renamed X509 / X509WRITE error codes to generic (non-cert-specific) Paul Bakker 2013-09-17 14:36:05 +02:00
  • 36713e8ed9 Fixed bunch of X509_PARSE related defines / dependencies Paul Bakker 2013-09-17 13:25:29 +02:00
  • 30520d1776 Moved rsa_sign_pss / rsa_verify_pss to use PK for key reading Paul Bakker 2013-09-17 11:39:31 +02:00
  • 1525495330 Key app updated to support pk_context / ECP keypairs Paul Bakker 2013-09-17 11:24:56 +02:00
  • 7504d7f806 Fixed X509 define in selftest.c Paul Bakker 2013-09-16 22:56:18 +02:00
  • e9e6ae338b Moved x509_self_test() from x509_crt.c to x509.c and fixed mem-free bug Paul Bakker 2013-09-16 22:53:25 +02:00
  • f20ba4b7b6 Minor typo in config.h Paul Bakker 2013-09-16 22:46:20 +02:00
  • da7711594e Changed pk_parse_get_pubkey() to pk_parse_subpubkey() Paul Bakker 2013-09-16 22:45:03 +02:00
  • ff3a518e78 Changed doxygen comments in pk.h from x509_module to pk_module Paul Bakker 2013-09-16 22:42:19 +02:00
  • d1a983fe77 Removed x509parse key functions and moved them to compat-1.2.h Paul Bakker 2013-09-16 22:26:53 +02:00
  • f8db11f454 Fixed typo is ssl_list_ciphersuites() prototype Paul Bakker 2013-09-16 22:22:39 +02:00
  • 7c6b2c320e Split up X509 files into smaller modules Paul Bakker 2013-09-16 13:49:26 +02:00
  • ace02867f6 Do not lowercase key values in arguments in cert_app.c Paul Bakker 2013-09-16 21:40:34 +02:00
  • cff6842b39 POLARSSL_PEM_C split into POLARSSL_PEM_PARSE_C and POLARSSL_PEM_WRITE_C Paul Bakker 2013-09-15 20:43:33 +02:00
  • 77e23fb0e0 Move *_pemify() function to PEM module Paul Bakker 2013-09-15 20:03:26 +02:00
  • 40ce79f1e6 Moved DHM parsing from X509 module to DHM module Paul Bakker 2013-09-15 17:43:54 +02:00
  • 3e41fe8938 Remove printf when RSA selftest is skipped Paul Bakker 2013-09-15 17:42:50 +02:00
  • dce7fdcbc9 Fixed warnings in case POLARSSL_PEM_C is not defined Paul Bakker 2013-09-15 17:15:26 +02:00
  • 9a97c5d894 Fixed warnings in case application dependencies are not met Paul Bakker 2013-09-15 17:07:33 +02:00
  • 2292d1fad0 Fixed warnings in case POLARSSL_X509_PARSE_C is not defined Paul Bakker 2013-09-15 17:06:49 +02:00
  • de56ca1097 The suite specific header should only be used when the suite is active Paul Bakker 2013-09-15 17:05:21 +02:00
  • 4606c7317b Added POLARSSL_PK_PARSE_C and POLARSSL_PK_WRITE_C Paul Bakker 2013-09-15 17:04:23 +02:00
  • 428b9ba3b7 Moved POLARSSL_FS_IO check to .function from .data Paul Bakker 2013-09-15 15:20:37 +02:00
  • e827ce013f Fix for parse commit Paul Bakker 2013-09-15 15:08:31 +02:00
  • c7bb02be77 Moved PK key writing from X509 module to PK module Paul Bakker 2013-09-15 14:54:56 +02:00
  • 1a7550ac67 Moved PK key parsing from X509 module to PK module Paul Bakker 2013-09-15 13:01:22 +02:00
  • 24c0e848ed Merged CBC-as-an-option changes into development Paul Bakker 2013-09-15 10:50:20 +02:00
  • 7fb4a79f50 Added merged functionality to ChangeLog Paul Bakker 2013-09-12 12:00:52 +02:00
  • 92cb1d3a91 Make CBC an option, step 3: individual ciphers Manuel Pégourié-Gonnard 2013-09-13 16:24:20 +02:00
  • 989ed38de2 Make CBC an option, step 2: cipher layer Manuel Pégourié-Gonnard 2013-09-13 14:41:45 +02:00
  • f7dc378ead Make CBC an option, step 1: ssl ciphersuites Manuel Pégourié-Gonnard 2013-09-13 14:10:44 +02:00
  • b72b4edec1 Fix memory leak in DHM Manuel Pégourié-Gonnard 2013-09-13 13:55:26 +02:00
  • 4fe9200f47 Fix memory leak in GCM by adding gcm_free() Manuel Pégourié-Gonnard 2013-09-13 13:45:58 +02:00
  • deb7949a22 Fix mistake in 7669f28 (rm limitation in memcheck) Manuel Pégourié-Gonnard 2013-09-13 13:43:43 +02:00
  • 735b8fcb0b Fix blunder in 8a109f1 Manuel Pégourié-Gonnard 2013-09-13 12:57:23 +02:00
  • 9013af76a3 Merged major refactoring of x509write module into development Paul Bakker 2013-09-12 11:58:04 +02:00
  • 0237620a78 Fix some dependencies declaration Manuel Pégourié-Gonnard 2013-09-12 07:01:31 +02:00
  • 26b4d45f49 Fix key_app_writer Manuel Pégourié-Gonnard 2013-09-12 06:56:06 +02:00
  • bb323ffc7c Complete EC support in x509write_crt Manuel Pégourié-Gonnard 2013-09-12 06:26:54 +02:00
  • 31e59400d2 Add missing f_rng/p_rng arguments to x509write_crt Manuel Pégourié-Gonnard 2013-09-12 05:59:05 +02:00
  • 53c642504e Use PK internally for x509write_crt Manuel Pégourié-Gonnard 2013-09-12 05:39:46 +02:00
  • f38e71afd5 Convert x509write_crt interface to PK Manuel Pégourié-Gonnard 2013-09-12 05:21:54 +02:00
  • 6de63e480d Add EC support to x509write_key Manuel Pégourié-Gonnard 2013-09-12 04:59:34 +02:00
  • 7f1f0926e4 Add test for x509write_key Manuel Pégourié-Gonnard 2013-09-12 03:31:34 +02:00
  • 0088c69fbf Complete x509write_csr support for EC key Manuel Pégourié-Gonnard 2013-09-12 02:38:04 +02:00
  • edda9041fc Adapt asn1_write_algorithm_identifier() to params Manuel Pégourié-Gonnard 2013-09-12 02:17:54 +02:00
  • 3837daec9e Add EC support to x509write_pubkey Manuel Pégourié-Gonnard 2013-09-12 01:39:07 +02:00
  • e1f821a6eb Adapt x509write_pubkey interface to use PK Manuel Pégourié-Gonnard 2013-09-12 00:59:40 +02:00
  • 33250b0461 Add test for x509write_pubkey_pem() Manuel Pégourié-Gonnard 2013-09-11 23:46:51 +02:00
  • ee73179b2f Adapt x509write_csr prototypes for PK Manuel Pégourié-Gonnard 2013-09-11 22:48:40 +02:00
  • 8053da4057 x509write_csr() now fully using PK internally Manuel Pégourié-Gonnard 2013-09-11 22:28:30 +02:00
  • d4eb5b5196 Add references Manuel Pégourié-Gonnard 2013-09-11 18:16:20 +02:00
  • 27d87fa6c4 Fix many off-by-one errors Manuel Pégourié-Gonnard 2013-09-11 17:33:28 +02:00