Commit Graph

  • 72ea31b026 Update version number to 2.6.0 mbedtls-2.6.0 Simon Butcher 2017-08-10 11:51:16 +01:00
  • 9ee5910f65 Fix language in Changelog for clarity Simon Butcher 2017-08-10 10:49:32 +01:00
  • a30508309e Fix language in Changelog for clarity Simon Butcher 2017-08-10 10:48:33 +01:00
  • 01971d094e Fix language in Changelog for clarity Simon Butcher 2017-08-10 10:48:01 +01:00
  • bc3f44ae9c Introduce mbedtls_x509_crt_verify_restartable() Manuel Pégourié-Gonnard 2017-07-11 11:02:20 +02:00
  • 21b7719fb2 Add ChangeLog entry for current progress Manuel Pégourié-Gonnard 2017-05-18 12:54:56 +02:00
  • 32033da127 Test some more handshake flows Manuel Pégourié-Gonnard 2017-05-18 12:49:27 +02:00
  • 23e416261c ECDH: not restartable unless explicitly enabled Manuel Pégourié-Gonnard 2017-05-18 12:35:37 +02:00
  • 1f1f2a1ca6 Adapt ServerKeyEchange processing to restart Manuel Pégourié-Gonnard 2017-05-18 11:27:06 +02:00
  • 862cde5b8e Add restart support for ECDSA client auth Manuel Pégourié-Gonnard 2017-05-17 11:56:15 +02:00
  • 2350b4ebdc Adapt ECDHE_ECDSA key exchange to restartable EC Manuel Pégourié-Gonnard 2017-05-16 09:26:48 +02:00
  • b3c8307960 Adapt ssl_client2 to restartable EC Manuel Pégourié-Gonnard 2017-05-16 08:50:24 +02:00
  • 171a481b96 Add a ChangeLog entry for changes so far Manuel Pégourié-Gonnard 2017-05-15 17:23:37 +02:00
  • 31f0ef7b19 Fix style issues introduced earlier Manuel Pégourié-Gonnard 2017-05-17 10:05:58 +02:00
  • 1f596064bc Make PK EC sign/verify actually restartable Manuel Pégourié-Gonnard 2017-05-09 10:42:40 +02:00
  • c4ee9acb7b Add tests for restartable PK sign/verify Manuel Pégourié-Gonnard 2017-05-08 10:09:36 +02:00
  • 82cb27b3db PK: declare restartable sign/verify functions Manuel Pégourié-Gonnard 2017-05-03 10:59:45 +02:00
  • fd838dab5c Comment cosmetics Manuel Pégourié-Gonnard 2017-04-27 11:38:51 +02:00
  • 66ba48a3c8 Make ECDH functions actually restartable Manuel Pégourié-Gonnard 2017-04-27 11:38:26 +02:00
  • 71b2c53254 Add tests for restartable ECDH Manuel Pégourié-Gonnard 2017-04-27 10:38:52 +02:00
  • c90d3b0f89 Update doc for restartable ECDH functions Manuel Pégourié-Gonnard 2017-04-27 10:48:29 +02:00
  • af081f5460 Make ECDSA sign actually restartable Manuel Pégourié-Gonnard 2017-04-25 13:44:19 +02:00
  • 50b63ba2f5 Use ecp_gen_privkey() in ECDSA sign Manuel Pégourié-Gonnard 2017-04-25 12:57:22 +02:00
  • 675439620d Improve sign/key_tries handling Manuel Pégourié-Gonnard 2017-04-21 13:19:43 +02:00
  • b90883dc1d Prepare infra for restartable sign Manuel Pégourié-Gonnard 2017-04-25 11:33:10 +02:00
  • eb402f3cd3 Add test for restartable signature Manuel Pégourié-Gonnard 2017-04-25 10:57:30 +02:00
  • addb10efac Create functions for restartable sign Manuel Pégourié-Gonnard 2017-04-21 12:54:46 +02:00
  • 5314f234ca Make verify_restartable() actually restartable Manuel Pégourié-Gonnard 2017-04-21 12:36:59 +02:00
  • a0c5bcc2bc Add infrastructure for ecdsa_verify_restartable() Manuel Pégourié-Gonnard 2017-04-21 11:33:57 +02:00
  • 722e5156fd Add test for ecdsa_read_signature_restartable() Manuel Pégourié-Gonnard 2017-04-21 11:04:47 +02:00
  • 32aa4375cc Declare ecdsa_read_signature_restartable() Manuel Pégourié-Gonnard 2017-04-21 10:29:13 +02:00
  • 1ed2505f85 Add some negative testing for ecdsa_verify() Manuel Pégourié-Gonnard 2017-04-21 10:04:02 +02:00
  • c751148cc5 Make some macros/functions public Manuel Pégourié-Gonnard 2017-04-20 16:31:00 +02:00
  • b5a50e754d Always declare restartable function variants Manuel Pégourié-Gonnard 2017-04-20 16:06:13 +02:00
  • 0ff17df081 Fix ECDSA test descriptions Manuel Pégourié-Gonnard 2017-04-20 15:51:52 +02:00
  • 4b9c51ef32 Rename EARLY_RETURN -> RESTARTABLE Manuel Pégourié-Gonnard 2017-04-20 15:50:26 +02:00
  • 411079fc34 Rm obsolete comment Manuel Pégourié-Gonnard 2017-04-20 15:41:08 +02:00
  • a7937f9967 Add public function generating private keys Manuel Pégourié-Gonnard 2017-04-20 15:37:46 +02:00
  • 1631d63d0c Make muladd_restartable() actually restartable Manuel Pégourié-Gonnard 2017-04-20 14:48:56 +02:00
  • 54dd6527f0 Introduce muladd_restartable() and its sub-context Manuel Pégourié-Gonnard 2017-04-20 13:36:18 +02:00
  • a08cd1a77f Avoid re-checking argument on restart Manuel Pégourié-Gonnard 2017-04-20 11:29:43 +02:00
  • 3a256128d6 Reset ops_done at the right time Manuel Pégourié-Gonnard 2017-04-20 11:20:26 +02:00
  • 53fbd63eb4 Remove redundant check Manuel Pégourié-Gonnard 2017-04-20 10:22:22 +02:00
  • 884569cdb4 Avoid code duplication in ecp_mul() Manuel Pégourié-Gonnard 2017-04-20 10:10:59 +02:00
  • 646393bb1e Move ops count to top-level context Manuel Pégourié-Gonnard 2017-04-20 10:03:45 +02:00
  • 8467e6848d Stop checking for argument change Manuel Pégourié-Gonnard 2017-04-20 09:47:06 +02:00
  • 3cade22f96 Switch to restart context internally Manuel Pégourié-Gonnard 2017-04-20 09:31:00 +02:00
  • 8f28addb27 Update documentation for new design/API Manuel Pégourié-Gonnard 2017-04-19 10:20:49 +02:00
  • b739a712d1 Start moving to new design/API Manuel Pégourié-Gonnard 2017-04-19 10:11:56 +02:00
  • 45fd0164dd Rename multiplication-specific restart context Manuel Pégourié-Gonnard 2017-03-22 08:24:42 +01:00
  • e58f65a04b Expand documentation with notes and warnings Manuel Pégourié-Gonnard 2017-03-20 14:59:54 +01:00
  • e685449004 Scale ops count for larger curves Manuel Pégourié-Gonnard 2017-03-20 14:35:19 +01:00
  • d3a0ca8500 Add tests about number of restarts Manuel Pégourié-Gonnard 2017-03-20 14:20:38 +01:00
  • 9c5c78ff5c Fix indicative values of ops counts Manuel Pégourié-Gonnard 2017-03-20 14:13:07 +01:00
  • 1c678e0e06 Update doc about minimum max_ops value Manuel Pégourié-Gonnard 2017-03-20 13:39:39 +01:00
  • 213541a548 Make the first precomp loop restartable Manuel Pégourié-Gonnard 2017-03-20 12:50:41 +01:00
  • ae55707b28 Turn double loop into single loop Manuel Pégourié-Gonnard 2017-03-20 12:21:24 +01:00
  • e2d7cb3f10 Start splitting precompute_comb() Manuel Pégourié-Gonnard 2017-03-20 10:24:17 +01:00
  • 67c83fb871 Give a constant a name Manuel Pégourié-Gonnard 2017-03-20 10:08:53 +01:00
  • fc3e0beabf Separate auxiliary array in precompute_comb() Manuel Pégourié-Gonnard 2017-03-20 09:29:31 +01:00
  • 07bf6f52c1 Tune T ownership code + comments Manuel Pégourié-Gonnard 2017-03-16 17:21:38 +01:00
  • 085b1dff40 Allow T to be computed in multiple steps Manuel Pégourié-Gonnard 2017-03-16 16:56:04 +01:00
  • c9c0aa6306 Remember precomputed table Manuel Pégourié-Gonnard 2017-03-16 14:53:26 +01:00
  • c5d844b999 Full restart support in ecp_mul_comb_core() Manuel Pégourié-Gonnard 2017-03-15 13:06:28 +01:00
  • 2fad7ae02a Start actually splitting computation Manuel Pégourié-Gonnard 2017-03-14 13:13:13 +01:00
  • 8962ddbb23 Don't write to destination until we're done Manuel Pégourié-Gonnard 2017-03-14 12:11:21 +01:00
  • 78d564a841 Add check for changing arguments Manuel Pégourié-Gonnard 2017-03-14 11:48:38 +01:00
  • 77af79a324 Add proper allocation of restart context Manuel Pégourié-Gonnard 2017-03-14 10:58:00 +01:00
  • 62738e9b17 Further restrict variable scope by moving code Manuel Pégourié-Gonnard 2017-03-14 10:00:21 +01:00
  • 391f44153d Move more code to separate function Manuel Pégourié-Gonnard 2017-03-13 12:26:21 +01:00
  • 24be79588d Group related code together Manuel Pégourié-Gonnard 2017-03-13 12:03:33 +01:00
  • 4b2336d7f6 Move some more code to new function Manuel Pégourié-Gonnard 2017-03-09 13:23:50 +01:00
  • 22be635d13 Re-order some more code Manuel Pégourié-Gonnard 2017-03-09 13:02:35 +01:00
  • ec5606ad0c Extract code to separate function Manuel Pégourié-Gonnard 2017-03-09 12:46:45 +01:00
  • 7306dff01f Group related code together Manuel Pégourié-Gonnard 2017-03-09 12:23:45 +01:00
  • 510d5caece Add early return test + fake implementation Manuel Pégourié-Gonnard 2017-03-08 11:41:47 +01:00
  • 054433c493 Add mbedtls_ecp_set_max_ops() Manuel Pégourié-Gonnard 2017-03-22 11:18:33 +01:00
  • 5e3c62fd1d Add MBEDTLS_ERR_ECP_IN_PROGRESS Manuel Pégourié-Gonnard 2017-03-08 10:14:11 +01:00
  • c3a3bc7636 Add config flag MBEDTLS_ECP_EARLY_RETURN Manuel Pégourié-Gonnard 2017-03-22 11:17:51 +01:00
  • 225b37a543 Fix typos in comment Manuel Pégourié-Gonnard 2017-03-08 10:22:54 +01:00
  • a54f6cc874 Unify name of default profile in X.509 tests Manuel Pégourié-Gonnard 2017-08-09 10:41:42 +02:00
  • 24611f9383 Remove redundant variable Manuel Pégourié-Gonnard 2017-08-09 10:28:07 +02:00
  • 7ff243a87c Add missing dependency in test-certs Makefile Manuel Pégourié-Gonnard 2017-08-08 18:54:13 +02:00
  • 562df401d3 Improve some comments, fix some typos+whitespace Manuel Pégourié-Gonnard 2017-08-08 18:09:14 +02:00
  • 433f39c437 ECDH alternative implementation support Ron Eldor 2017-06-18 17:57:51 +03:00
  • ea2dc14c0c Fix some whitespace Manuel Pégourié-Gonnard 2017-08-08 11:10:37 +02:00
  • a7c4c8a46c Make some perl scripts usable with git bisect run Manuel Pégourié-Gonnard 2017-07-12 12:15:24 +02:00
  • 66a36b03c6 Update comments Manuel Pégourié-Gonnard 2017-07-12 12:23:06 +02:00
  • 505c3953c7 Make the ver_chain length explicit Manuel Pégourié-Gonnard 2017-07-05 17:36:47 +02:00
  • a707e1d1ef Extract code to separate function for readablity Manuel Pégourié-Gonnard 2017-07-05 17:18:42 +02:00
  • ce6e52ff42 Make verify_chain() iterative Manuel Pégourié-Gonnard 2017-07-05 17:05:03 +02:00
  • f86f491f25 Rm unneeded function arguments & update comments Manuel Pégourié-Gonnard 2017-07-05 16:43:44 +02:00
  • c547d1ab1f Start using an explicit stack for callback info Manuel Pégourié-Gonnard 2017-07-05 13:28:45 +02:00
  • a468eb1764 verify_name(): factor duplicated code to function Manuel Pégourié-Gonnard 2017-07-04 01:31:59 +02:00
  • 1300e99eb1 Extract name checking to separate function Manuel Pégourié-Gonnard 2017-07-04 01:13:44 +02:00
  • 6368612a8f Move code to separate function for readability Manuel Pégourié-Gonnard 2017-07-04 01:01:39 +02:00
  • 27e94797aa Simplify handling of locally trusted EE certs Manuel Pégourié-Gonnard 2017-07-04 00:49:31 +02:00
  • bdc5440232 Update comments Manuel Pégourié-Gonnard 2017-07-04 00:33:39 +02:00
  • cb39610093 Finally merge the remains of top() into child() Manuel Pégourié-Gonnard 2017-07-04 00:00:24 +02:00
  • 63642776b1 Let verify_top() handle only the parent Manuel Pégourié-Gonnard 2017-07-03 23:57:11 +02:00