Commit graph

  • 0be444a8b1 Ability to disable server_name extension (RFC 6066) Paul Bakker 2013-08-27 21:55:01 +0200
  • d2f068e071 Ability to enable / disable SSL v3 / TLS 1.0 / TLS 1.1 / TLS 1.2 individually Paul Bakker 2013-08-27 21:19:20 +0200
  • fb08fd2e23 Entropy collector and CTR-DRBG now also work on SHA-256 if SHA-512 not available Paul Bakker 2013-08-27 15:06:26 +0200
  • 9852d00de6 Moved asn1write funtions to use asn1_write_raw_buffer() Paul Bakker 2013-08-26 17:56:37 +0200
  • 7accbced87 Doxygen documentation added to asn1write.h Paul Bakker 2013-08-26 17:34:53 +0200
  • f3df61ad10 Generalized PEM writing in x509write module for RSA keys as well Paul Bakker 2013-08-26 17:22:23 +0200
  • 135f1e9c70 Move PEM conversion of DER data to x509write module Paul Bakker 2013-08-26 16:54:13 +0200
  • 57be6e22cf cert_req now supports key_usage and ns_cert_type command line options Paul Bakker 2013-08-26 14:13:14 +0200
  • 624d03a3f7 Fixed length of key_usage bitstring to 7 bits Paul Bakker 2013-08-26 14:12:57 +0200
  • 1c0e550e21 Added support for Netscape Certificate Types in CSR writing Paul Bakker 2013-08-26 13:41:01 +0200
  • e5eae76bf0 Generalized the x509write_csr_set_key_usage() function and key_usage storage Paul Bakker 2013-08-26 12:05:14 +0200
  • 6db915b5a9 Added asn1_write_raw_buffer() Paul Bakker 2013-08-26 12:05:02 +0200
  • 0a20171d52 Fix compiler warning from gcc -Os Manuel Pégourié-Gonnard 2013-08-23 16:25:16 +0200
  • 70f1768b9d Make two format strings literal Manuel Pégourié-Gonnard 2013-08-23 12:06:11 +0200
  • 5151b45aa1 Minor comment fixes Manuel Pégourié-Gonnard 2013-08-23 12:03:28 +0200
  • 356da16ce3 Update VisualStudio files Manuel Pégourié-Gonnard 2013-08-23 11:51:39 +0200
  • c6554aab3d Check length of session tickets we write Manuel Pégourié-Gonnard 2013-08-23 11:10:28 +0200
  • 38d1eba3b5 Move verify_result from ssl_context to session Manuel Pégourié-Gonnard 2013-08-23 10:44:29 +0200
  • 8adf13bd92 Added pem2der utility application Paul Bakker 2013-08-25 14:50:09 +0200
  • fde4270186 Added support for writing key_usage extension Paul Bakker 2013-08-25 14:47:27 +0200
  • 598e450538 Added asn1_write_bitstring() and asn1_write_octet_string() Paul Bakker 2013-08-25 14:46:39 +0200
  • ef0ba55a78 Removed old X509 write data from x509.h Paul Bakker 2013-08-25 11:48:10 +0200
  • f677466d9a Doxygen documentation added to x509write.h Paul Bakker 2013-08-25 11:47:51 +0200
  • 0e06c0fdb4 Assigned error codes to the error defines Paul Bakker 2013-08-25 11:21:30 +0200
  • 82e2945ed2 Changed naming and prototype convention for x509write functions Paul Bakker 2013-08-25 11:01:31 +0200
  • 384d4351ce Added cert_req to CMakeLists.txt Paul Bakker 2013-08-25 10:34:32 +0200
  • 2130796658 Switched order of storing x509_req_names to match inputed order Paul Bakker 2013-08-25 10:33:27 +0200
  • 8eabfc1461 Rewrote x509 certificate request writing to use structure for storing Paul Bakker 2013-08-25 10:18:25 +0200
  • 43fdd617e1 Merged update certificate verification for EC certificates into development Paul Bakker 2013-08-20 23:13:29 +0200
  • ca2da515f3 Merged ECDSA tests / enhancements and example into development Paul Bakker 2013-08-20 23:12:30 +0200
  • 2b217c36b6 Merged latest fix for test framework revamp into development Paul Bakker 2013-08-20 23:11:42 +0200
  • 667086b01d Fixed Makefile leftover typo Paul Bakker 2013-08-20 23:11:06 +0200
  • fff80f8879 PK: use NULL for unimplemented operations Manuel Pégourié-Gonnard 2013-08-17 15:20:06 +0200
  • f73da02962 PK: change pk_verify arguments (md_info "optional") Manuel Pégourié-Gonnard 2013-08-17 14:36:32 +0200
  • ab46694558 Change pk_set_type to pk_init_ctx for consistency Manuel Pégourié-Gonnard 2013-08-15 11:30:27 +0200
  • 7e56de1671 Adapt ssl_cert_test to changes in PK Manuel Pégourié-Gonnard 2013-08-14 21:15:53 +0200
  • ac4cd36297 PK rsa_verify: check signature length Manuel Pégourié-Gonnard 2013-08-14 20:20:41 +0200
  • 15699380e5 Small PK cleanups Manuel Pégourié-Gonnard 2013-08-14 19:22:48 +0200
  • 3fb5c5ee1c PK: rename members for consistency CIPHER, MD Manuel Pégourié-Gonnard 2013-08-14 18:26:41 +0200
  • 09162ddcaa PK: reuse some eckey functions for ecdsa Manuel Pégourié-Gonnard 2013-08-14 18:16:50 +0200
  • c6ac8870d5 Nicer interface between PK and debug. Manuel Pégourié-Gonnard 2013-08-14 18:04:18 +0200
  • b3d9187cea PK: add nice interface functions Manuel Pégourié-Gonnard 2013-08-14 15:56:19 +0200
  • 765db07dfb PK: use alloc and free function pointers Manuel Pégourié-Gonnard 2013-08-14 15:00:27 +0200
  • 3053f5bcb4 Get rid of pk_wrap_rsa() Manuel Pégourié-Gonnard 2013-08-14 13:39:57 +0200
  • f8c948a674 Add name and get_size() members in PK Manuel Pégourié-Gonnard 2013-08-12 19:45:32 +0200
  • 835eb59c6a PK: fix support for ECKEY_DH Manuel Pégourié-Gonnard 2013-08-12 18:51:26 +0200
  • f18c3e0378 Add a PK can_do() method and simplify code Manuel Pégourié-Gonnard 2013-08-12 18:41:18 +0200
  • d73b3c13be PK: use wrappers and function pointers for verify Manuel Pégourié-Gonnard 2013-08-12 17:06:05 +0200
  • f499993cb2 Add ecdsa_from_keypair() Manuel Pégourié-Gonnard 2013-08-12 17:02:59 +0200
  • cc0a9d040d Fix const-correctness of rsa_*_verify() Manuel Pégourié-Gonnard 2013-08-12 11:34:35 +0200
  • f84b4d6498 Check sig_pk for signature verification Manuel Pégourié-Gonnard 2013-08-12 10:39:28 +0200
  • b4e9ca9650 Add some more x509_verify tests Manuel Pégourié-Gonnard 2013-08-10 10:52:01 +0200
  • 05b9dce20b Add tests for crl_info with EC CA Manuel Pégourié-Gonnard 2013-08-10 10:19:03 +0200
  • 6d29ff209b Add cert_info tests for EC and mixed certificates Manuel Pégourié-Gonnard 2013-08-10 09:44:43 +0200
  • 96d5912088 Implement EC cert and crl verification Manuel Pégourié-Gonnard 2013-08-09 15:12:46 +0200
  • 211a64c79f Add eckey to ecdsa conversion in the PK layer Manuel Pégourié-Gonnard 2013-08-09 15:04:26 +0200
  • b4d69c41f8 Prepare for EC cert & crl validation Manuel Pégourié-Gonnard 2013-08-09 12:30:45 +0200
  • 6009c3ae5e Add tests for EC cert and crl validation Manuel Pégourié-Gonnard 2013-08-09 11:27:14 +0200
  • e7f64a8e71 Add missing depends to some x509parse tests Manuel Pégourié-Gonnard 2013-08-09 10:59:25 +0200
  • 20e9fad4c1 Add test files for EC cert & crl validation Manuel Pégourié-Gonnard 2013-08-08 18:35:29 +0200
  • bf3109fd41 Add forgotten ecdsa_free() in ecdsa example Manuel Pégourié-Gonnard 2013-08-14 21:36:01 +0200
  • e09631b7c4 Create ecp_group_copy() and use it Manuel Pégourié-Gonnard 2013-08-12 15:44:31 +0200
  • aa431613b3 Add ecdsa example program Manuel Pégourié-Gonnard 2013-08-09 17:10:27 +0200
  • 8eebd012b9 Add an ecdsa_genkey() function Manuel Pégourié-Gonnard 2013-08-09 16:21:34 +0200
  • 4846f5ecbc ecdsa now depends on ASN.1 parse & write Manuel Pégourié-Gonnard 2013-08-08 14:36:15 +0200
  • b694b4896c Add ecdsa_{read,write}_signature() Manuel Pégourié-Gonnard 2013-08-08 13:30:57 +0200
  • 5a8a62ce1c Fixed some x509parse tests after merge of new test framework Paul Bakker 2013-08-20 14:27:21 +0200
  • 898edb7744 Merged the revamped test framework into development Paul Bakker 2013-08-20 14:23:02 +0200
  • 3a074a7996 Actually skip certificate if we do not understand hash type Paul Bakker 2013-08-20 12:45:03 +0200
  • dc4baf11ab Removed errant printf in x509parse_self_test() Paul Bakker 2013-08-20 12:44:33 +0200
  • 68a4fce8aa Added missing dependencies on functions and tests Paul Bakker 2013-08-20 12:42:31 +0200
  • bb20f4b720 Failing TEST_ASSERT now breaks off test Paul Bakker 2013-08-20 12:41:33 +0200
  • b34fef2f3c Suite dependencies handled correctly now Paul Bakker 2013-08-20 12:06:33 +0200
  • 33b43f1ec3 Converted .function file to c-like format and adapted generator code Paul Bakker 2013-08-20 11:48:36 +0200
  • 42c3ccf36e Fixed potential negative value misinterpretation in load_file() Paul Bakker 2013-08-19 14:29:31 +0200
  • 75c1a6f97c Fixed potential heap buffer overflow on large hostname setting Paul Bakker 2013-08-19 14:25:29 +0200
  • 694d3aeb47 Fixed potential heap buffer overflow on large file reading Paul Bakker 2013-08-19 14:23:38 +0200
  • 55a7e908f2 Enhanced test output presentation Paul Bakker 2013-08-19 14:02:10 +0200
  • 04784f57e4 Added config check for SSL/TLS module that depends on cipher layer Paul Bakker 2013-08-19 13:30:57 +0200
  • 5fd4917d97 Add missing ifdefs in ssl modules Paul Bakker 2013-08-19 13:29:26 +0200
  • 59da0a46a4 Added config check for POLARSSL_SSL_SESSION_TICKETS Paul Bakker 2013-08-19 13:27:17 +0200
  • 04376b1419 Fixed memory leak in ssl_parse_server_key_exchange from missing md_free_ctx() Paul Bakker 2013-08-16 14:45:26 +0200
  • b03de8bcbe Add test for EC keys with all curves. Manuel Pégourié-Gonnard 2013-08-15 14:39:16 +0200
  • 298aae4524 Adapt core OID functions to embeded null bytes Manuel Pégourié-Gonnard 2013-08-15 14:22:17 +0200
  • c13c0d4524 Add a length check in rsa_get_pubkey() Manuel Pégourié-Gonnard 2013-08-15 13:58:01 +0200
  • 56a487a17f Minor ecdsa cleanups Manuel Pégourié-Gonnard 2013-08-15 13:45:38 +0200
  • 686bfae244 Fix memory error in x509_get_attr_type_value Manuel Pégourié-Gonnard 2013-08-15 13:40:10 +0200
  • ba77bbf840 Fix memory error in asn1_get_alg() Manuel Pégourié-Gonnard 2013-08-15 13:38:13 +0200
  • 06dab806ce Fix memory error in asn1_get_bitstring_null() Manuel Pégourié-Gonnard 2013-08-15 12:24:43 +0200
  • 0b2726732e Fix ifdef conditions for EC-related extensions. Manuel Pégourié-Gonnard 2013-08-15 19:38:07 +0200
  • 5734b2d358 Actually use the point format selected for ECDH Manuel Pégourié-Gonnard 2013-08-15 19:04:02 +0200
  • 7b19c16b74 Handle suported_point_formats in ServerHello Manuel Pégourié-Gonnard 2013-08-15 18:01:11 +0200
  • 6b8846d929 Stop advertising support for compressed points Manuel Pégourié-Gonnard 2013-08-15 17:42:02 +0200
  • dbd443dca6 Adapted .function files and .data files to new test framework Paul Bakker 2013-08-16 13:38:47 +0200
  • 1934318dce Introduced own scripted test framework to replace fct.h and reduce compile time Paul Bakker 2013-08-16 13:31:10 +0200
  • 1f2bc6238b Made support for the truncated_hmac extension configurable Paul Bakker 2013-08-15 13:45:55 +0200
  • 05decb24c3 Made support for the max_fragment_length extension configurable Paul Bakker 2013-08-15 13:33:48 +0200
  • 9f3478a37d Merge branch 'session_tickets' into development Paul Bakker 2013-08-15 11:44:40 +0200
  • 5d5d041fb5 Merge branch 'padding' into development Paul Bakker 2013-08-15 11:44:28 +0200
  • 606b4ba20f Session ticket expiration checked on server Paul Bakker 2013-08-14 16:52:14 +0200