Commit Graph

  • 79f73b96d9 Remove bias in EC private key generation Manuel Pégourié-Gonnard 2014-01-03 12:35:05 +01:00
  • 217a29c844 Fix bug in rnd_pseudo_rnd() test helper function Manuel Pégourié-Gonnard 2014-01-03 11:59:09 +01:00
  • c78c8422c2 Added failure stub for uninitialized POLARSSL_THREADING_ALT functions polarssl-1.3.3 Paul Bakker 2013-12-31 11:55:27 +01:00
  • a8fd3e31ed Removed POLARSSL_THREADING_DUMMY option Paul Bakker 2013-12-31 11:54:08 +01:00
  • 4de44aa0ae Rewrote check to prevent read of uninitialized data in rsa_rsassa_pss_verify() Paul Bakker 2013-12-31 11:43:01 +01:00
  • 6992eb762c Fixed potential overflow in certificate size in ssl_write_certificate() Paul Bakker 2013-12-31 11:35:16 +01:00
  • 6ea1a95ce8 Added missing MPI_CHK() around some statements Paul Bakker 2013-12-31 11:16:03 +01:00
  • 5bc07a3d30 Prepped for 1.3.3 Paul Bakker 2013-12-31 10:57:44 +01:00
  • 00f5c52bfe Added cast to socket() return value to prevent Windows warning Paul Bakker 2013-12-31 10:45:16 +01:00
  • c73879139e Merged ECP memory usage optimizations Paul Bakker 2013-12-31 10:32:50 +01:00
  • 53e1513fea Initialize ebx and edx in padlock functions Paul Bakker 2013-12-30 20:43:40 +01:00
  • 3a8cb6ff8e Proper const modifier in test_suite_x509_csr_check() Paul Bakker 2013-12-30 20:41:54 +01:00
  • 26bc1c0f5d Fix a few unchecked return codes in EC Manuel Pégourié-Gonnard 2013-12-30 19:33:33 +01:00
  • 93759b048f Made AES-NI bit-size specific key expansion functions static Paul Bakker 2013-12-30 19:20:06 +01:00
  • 9e4191c3e7 Add another option to reduce EC memory usage Manuel Pégourié-Gonnard 2013-12-30 18:41:16 +01:00
  • 70896a023e Add statistics about number of allocated blocks Manuel Pégourié-Gonnard 2013-12-30 18:06:41 +01:00
  • caf0e60969 Forced cast to unsigned int for %u format in the ecdsa application Paul Bakker 2013-12-30 19:15:48 +01:00
  • ec4bea7eee Forced cast to unsigned int for %u format in ecp_selftest() Paul Bakker 2013-12-30 19:04:47 +01:00
  • e1e962de91 Position of -Werror is relevant Paul Bakker 2013-12-30 19:00:41 +01:00
  • a36d23e290 Fixed documentation issues found by clang Paul Bakker 2013-12-30 17:57:27 +01:00
  • 92bc875e0a Support for CLANG compiler in CMakeLists.txt Paul Bakker 2013-12-30 17:56:23 +01:00
  • 1f789b8348 Lessen peak memory usage in EC by freeing earlier Manuel Pégourié-Gonnard 2013-12-30 17:31:56 +01:00
  • 72c172a13d Save some small memory allocations inside ecp_mul() Manuel Pégourié-Gonnard 2013-12-30 16:04:55 +01:00
  • f0fc2a27b0 Properly put the pragma comment for the MSVC linker in defines Paul Bakker 2013-12-30 15:42:43 +01:00
  • 29e86eae29 Removed 'z' length modifier from format in ecdsa program Paul Bakker 2013-12-30 15:38:48 +01:00
  • 92bcadb110 Removed 'z' length modifier from low-value size_t in ecp_selftest() Paul Bakker 2013-12-30 15:37:17 +01:00
  • e7f5133590 Fixed superfluous return value in aesni.c Paul Bakker 2013-12-30 15:32:02 +01:00
  • 0d0de92156 Only specify done label in aes.c when AES-NI is possible Paul Bakker 2013-12-30 15:29:04 +01:00
  • 3e72f6effd Only search for Pthread on Windows platforms Paul Bakker 2013-12-30 15:25:08 +01:00
  • 956c9e063d Reduced the input / output overhead with 200+ bytes and covered corner case Paul Bakker 2013-12-19 14:42:28 +01:00
  • f9c4953e39 Added version of the SSL pthread server example Paul Bakker 2013-12-19 15:40:58 +01:00
  • 23116fdb53 Merged AES-NI support for AES, AES-GCM and AES key scheduling Paul Bakker 2013-12-30 14:09:47 +01:00
  • ad0db975bf Added -Werror to Check buildtype Paul Bakker 2013-12-30 14:09:27 +01:00
  • d4588cfb6a aesni_gcm_mult() now returns void Manuel Pégourié-Gonnard 2013-12-30 13:54:23 +01:00
  • bfa3c9a85f Remove temporary code Manuel Pégourié-Gonnard 2013-12-30 13:53:58 +01:00
  • 23c2f6fee5 Add AES-NI key expansion for 192 bits Manuel Pégourié-Gonnard 2013-12-29 16:05:22 +01:00
  • 4a5b995c26 Add AES-NI key expansion for 256 bits Manuel Pégourié-Gonnard 2013-12-29 13:50:32 +01:00
  • 47a3536a31 Add AES-NI key expansion for 128 bits Manuel Pégourié-Gonnard 2013-12-28 20:45:04 +01:00
  • 01e31bbffb Add support for key inversion using AES-NI Manuel Pégourié-Gonnard 2013-12-28 15:58:30 +01:00
  • 80637c7520 Use aesni_gcm_mult() if available Manuel Pégourié-Gonnard 2013-12-26 16:09:58 +01:00
  • d333f67f8c Add aesni_gcm_mult() Manuel Pégourié-Gonnard 2013-12-26 11:44:46 +01:00
  • 9d57482280 Add comments on GCM multiplication Manuel Pégourié-Gonnard 2013-12-25 15:41:25 +01:00
  • 8eaf20b18d Allow detection of CLMUL Manuel Pégourié-Gonnard 2013-12-18 19:14:53 +01:00
  • 5b685653ef Add aesni_crypt_ecb() and use it Manuel Pégourié-Gonnard 2013-12-18 11:45:21 +01:00
  • 92ac76f9db Add files for (upcoming) AES-NI support Manuel Pégourié-Gonnard 2013-12-16 17:12:53 +01:00
  • fe40f484fb Do not print error on missing kill target in compat.sh Paul Bakker 2013-12-19 17:47:24 +01:00
  • 20ed0f7e6d Fixed compat.sh arguments line in test-ref-configs.pl Paul Bakker 2013-12-19 17:45:11 +01:00
  • a5320904bf Fixed dependency on POLARSSL_GENPRIME in PK tests Paul Bakker 2013-12-19 17:29:52 +01:00
  • 30a3062782 Added ability to filter configs in test-ref-configs.pl Paul Bakker 2013-12-19 17:09:49 +01:00
  • 1e5369c7fa Variables in proper block or within proper defines in ssl_decrypt_buf() Paul Bakker 2013-12-19 16:40:57 +01:00
  • 474c2ce05f Fixed dependencies for some tests Paul Bakker 2013-12-19 16:40:30 +01:00
  • 0c0476f92d Disable ecp_use_curve25519() if not POLARSSL_ECP_DP_M255_ENABLED Paul Bakker 2013-12-19 16:20:53 +01:00
  • 1a56fc96a3 Fixed x509_crt_parse_path() bug on Windows platforms Paul Bakker 2013-12-19 13:51:24 +01:00
  • 1321135758 Fix MingW version issue Manuel Pégourié-Gonnard 2013-12-17 17:38:55 +01:00
  • ee5db1d6b9 Fix typo in previous commit Manuel Pégourié-Gonnard 2013-12-17 16:46:19 +01:00
  • 6a398d4234 Add missing header for windows Manuel Pégourié-Gonnard 2013-12-17 16:10:58 +01:00
  • 173402bb61 net_prepare() returns int Manuel Pégourié-Gonnard 2013-12-17 15:57:05 +01:00
  • 5a607d26b7 Merged IPv6 support in the NET module Paul Bakker 2013-12-17 14:33:42 +01:00
  • c9baa873ca Force server to IPv4 in compat.s Manuel Pégourié-Gonnard 2013-12-17 14:10:58 +01:00
  • fd6b4cc1db Add forgotten SO_REUSEADDR option Manuel Pégourié-Gonnard 2013-12-17 13:59:01 +01:00
  • 5ab68ba679 Merged storing curves fully in ROM Paul Bakker 2013-12-17 13:10:48 +01:00
  • fdf946928d Merged support for ECDH-RSA / ECDH-ECDSA key exchanges and ciphersuites Paul Bakker 2013-12-17 13:09:31 +01:00
  • f70fe81a6e Fixed memory leak in benchmark application Paul Bakker 2013-12-16 16:43:10 +01:00
  • 77e257e958 Fixed bad check for maximum size of fragment length index Paul Bakker 2013-12-16 15:29:52 +01:00
  • 6c21276342 Place olen initalization after reference check in cipher_update() Paul Bakker 2013-12-16 15:24:50 +01:00
  • 6f0636a09f Potential memory leak in ssl_ticket_keys_init() Paul Bakker 2013-12-16 15:24:05 +01:00
  • 767f02cf6e Update IPv6 comments in config.h Manuel Pégourié-Gonnard 2013-12-13 16:23:39 +01:00
  • 18d31f8e59 Make listening address configurable in ssl_server2 Manuel Pégourié-Gonnard 2013-12-13 16:21:41 +01:00
  • 6e315a9009 Adapt net_accept() to IPv6 Manuel Pégourié-Gonnard 2013-12-13 16:21:25 +01:00
  • 389ce63735 Add IPv6 support to net_bind() Manuel Pégourié-Gonnard 2013-12-13 14:00:51 +01:00
  • 10934de1ca Adapt net_connect() for IPv6 Manuel Pégourié-Gonnard 2013-12-13 12:54:09 +01:00
  • 2e5c3163db Factor our some code in net.c Manuel Pégourié-Gonnard 2013-12-13 11:55:32 +01:00
  • 0759d369e6 Fix ciphersuite selection in compat.sh Manuel Pégourié-Gonnard 2013-12-17 11:50:52 +01:00
  • 31a2325810 Add ECDH_ECDSA suites to compat.sh Manuel Pégourié-Gonnard 2013-12-12 11:54:11 +01:00
  • 07b54e06da Fix EC suites version requirements in compat.sh Manuel Pégourié-Gonnard 2013-12-12 11:37:11 +01:00
  • 5538970d32 Add server support for ECDH key exchanges Manuel Pégourié-Gonnard 2013-12-12 11:14:16 +01:00
  • d18cc57962 Add client-side support for ECDH key exchanges Manuel Pégourié-Gonnard 2013-12-11 17:45:46 +01:00
  • cdff3cfda3 Add ecdh_get_params() to import from an EC key Manuel Pégourié-Gonnard 2013-12-12 09:55:52 +01:00
  • bc64d3b221 Fix bug in ciphersuite number Manuel Pégourié-Gonnard 2013-12-11 17:24:31 +01:00
  • 25781b22e3 Add ECDH_RSA and ECDH_ECDSA ciphersuites Manuel Pégourié-Gonnard 2013-12-11 16:17:10 +01:00
  • 69ab354239 Fix bug from stupid typo Manuel Pégourié-Gonnard 2013-12-12 15:50:08 +01:00
  • 96eed7bec9 Allow to test 32-bit ints more easily Manuel Pégourié-Gonnard 2013-12-12 15:49:10 +01:00
  • 14a96c5d8b Avoid wasting memory with some curves Manuel Pégourié-Gonnard 2013-12-11 12:15:28 +01:00
  • 95b45b7bb2 Rename macros Manuel Pégourié-Gonnard 2013-12-11 12:03:23 +01:00
  • baee5d4157 Add previously forgotten #ifdef's Manuel Pégourié-Gonnard 2013-12-06 13:38:41 +01:00
  • 81e1b102dc Rm a few unneeded variables Manuel Pégourié-Gonnard 2013-12-06 13:28:05 +01:00
  • 1f82b041e7 Adapt ecp_group_free() to static constants Manuel Pégourié-Gonnard 2013-12-06 12:51:50 +01:00
  • 73cc01d7fa Remove last non-static parts of known EC groups Manuel Pégourié-Gonnard 2013-12-06 12:41:30 +01:00
  • 731d08b406 Start using constants from ROM for EC groups Manuel Pégourié-Gonnard 2013-12-06 12:16:10 +01:00
  • 452f6ba1a6 compat.sh cleanups Manuel Pégourié-Gonnard 2013-12-17 11:06:50 +01:00
  • c72ac7c3ef Fix SSLv3 handling of SHA-384 suites Manuel Pégourié-Gonnard 2013-12-17 10:17:08 +01:00
  • e1b665e1aa Added POLARSSL_ECP_MAX_SIZE and POLARSSL_ECP_WINDOW_SIZE to config.h Paul Bakker 2013-12-11 16:02:58 +01:00
  • fef3c5a652 Fixed typo in POLARSSL_PKCS1_V15 in rsa.c Paul Bakker 2013-12-11 13:36:30 +01:00
  • 48d78a5e60 Merged support for Curve25519 Paul Bakker 2013-12-05 16:11:38 +01:00
  • 93f41dbdfd Fix possible issue in corner-case for ecp_mul_mx() Manuel Pégourié-Gonnard 2013-12-05 10:48:42 +01:00
  • 7a949d3f5b Update comments Manuel Pégourié-Gonnard 2013-12-05 10:26:01 +01:00
  • d962273594 Add #ifdef's for curve types Manuel Pégourié-Gonnard 2013-12-05 10:06:06 +01:00
  • 7c94d8bcab WIP #ifdef's Manuel Pégourié-Gonnard 2013-12-04 23:15:46 +01:00
  • b6f45a616c Avoid potential leak in ecp_mul_mxz() Manuel Pégourié-Gonnard 2013-12-04 21:54:36 +01:00
  • a60fe8943d Add mpi_safe_cond_swap() Manuel Pégourié-Gonnard 2013-12-04 21:41:50 +01:00