Commit graph

  • 411079fc34 Rm obsolete comment Manuel Pégourié-Gonnard 2017-04-20 15:41:08 +0200
  • a7937f9967 Add public function generating private keys Manuel Pégourié-Gonnard 2017-04-20 15:37:46 +0200
  • 1631d63d0c Make muladd_restartable() actually restartable Manuel Pégourié-Gonnard 2017-04-20 14:48:56 +0200
  • 54dd6527f0 Introduce muladd_restartable() and its sub-context Manuel Pégourié-Gonnard 2017-04-20 13:36:18 +0200
  • a08cd1a77f Avoid re-checking argument on restart Manuel Pégourié-Gonnard 2017-04-20 11:29:43 +0200
  • 3a256128d6 Reset ops_done at the right time Manuel Pégourié-Gonnard 2017-04-20 11:20:26 +0200
  • 53fbd63eb4 Remove redundant check Manuel Pégourié-Gonnard 2017-04-20 10:22:22 +0200
  • 884569cdb4 Avoid code duplication in ecp_mul() Manuel Pégourié-Gonnard 2017-04-20 10:10:59 +0200
  • 646393bb1e Move ops count to top-level context Manuel Pégourié-Gonnard 2017-04-20 10:03:45 +0200
  • 8467e6848d Stop checking for argument change Manuel Pégourié-Gonnard 2017-04-20 09:47:06 +0200
  • 3cade22f96 Switch to restart context internally Manuel Pégourié-Gonnard 2017-04-20 09:31:00 +0200
  • 8f28addb27 Update documentation for new design/API Manuel Pégourié-Gonnard 2017-04-19 10:20:49 +0200
  • b739a712d1 Start moving to new design/API Manuel Pégourié-Gonnard 2017-04-19 10:11:56 +0200
  • 45fd0164dd Rename multiplication-specific restart context Manuel Pégourié-Gonnard 2017-03-22 08:24:42 +0100
  • e58f65a04b Expand documentation with notes and warnings Manuel Pégourié-Gonnard 2017-03-20 14:59:54 +0100
  • e685449004 Scale ops count for larger curves Manuel Pégourié-Gonnard 2017-03-20 14:35:19 +0100
  • d3a0ca8500 Add tests about number of restarts Manuel Pégourié-Gonnard 2017-03-20 14:20:38 +0100
  • 9c5c78ff5c Fix indicative values of ops counts Manuel Pégourié-Gonnard 2017-03-20 14:13:07 +0100
  • 1c678e0e06 Update doc about minimum max_ops value Manuel Pégourié-Gonnard 2017-03-20 13:39:39 +0100
  • 213541a548 Make the first precomp loop restartable Manuel Pégourié-Gonnard 2017-03-20 12:50:41 +0100
  • ae55707b28 Turn double loop into single loop Manuel Pégourié-Gonnard 2017-03-20 12:21:24 +0100
  • e2d7cb3f10 Start splitting precompute_comb() Manuel Pégourié-Gonnard 2017-03-20 10:24:17 +0100
  • 67c83fb871 Give a constant a name Manuel Pégourié-Gonnard 2017-03-20 10:08:53 +0100
  • fc3e0beabf Separate auxiliary array in precompute_comb() Manuel Pégourié-Gonnard 2017-03-20 09:29:31 +0100
  • 07bf6f52c1 Tune T ownership code + comments Manuel Pégourié-Gonnard 2017-03-16 17:21:38 +0100
  • 085b1dff40 Allow T to be computed in multiple steps Manuel Pégourié-Gonnard 2017-03-16 16:56:04 +0100
  • c9c0aa6306 Remember precomputed table Manuel Pégourié-Gonnard 2017-03-16 14:53:26 +0100
  • c5d844b999 Full restart support in ecp_mul_comb_core() Manuel Pégourié-Gonnard 2017-03-15 13:06:28 +0100
  • 2fad7ae02a Start actually splitting computation Manuel Pégourié-Gonnard 2017-03-14 13:13:13 +0100
  • 8962ddbb23 Don't write to destination until we're done Manuel Pégourié-Gonnard 2017-03-14 12:11:21 +0100
  • 78d564a841 Add check for changing arguments Manuel Pégourié-Gonnard 2017-03-14 11:48:38 +0100
  • 77af79a324 Add proper allocation of restart context Manuel Pégourié-Gonnard 2017-03-14 10:58:00 +0100
  • 62738e9b17 Further restrict variable scope by moving code Manuel Pégourié-Gonnard 2017-03-14 10:00:21 +0100
  • 391f44153d Move more code to separate function Manuel Pégourié-Gonnard 2017-03-13 12:26:21 +0100
  • 24be79588d Group related code together Manuel Pégourié-Gonnard 2017-03-13 12:03:33 +0100
  • 4b2336d7f6 Move some more code to new function Manuel Pégourié-Gonnard 2017-03-09 13:23:50 +0100
  • 22be635d13 Re-order some more code Manuel Pégourié-Gonnard 2017-03-09 13:02:35 +0100
  • ec5606ad0c Extract code to separate function Manuel Pégourié-Gonnard 2017-03-09 12:46:45 +0100
  • 7306dff01f Group related code together Manuel Pégourié-Gonnard 2017-03-09 12:23:45 +0100
  • 510d5caece Add early return test + fake implementation Manuel Pégourié-Gonnard 2017-03-08 11:41:47 +0100
  • 054433c493 Add mbedtls_ecp_set_max_ops() Manuel Pégourié-Gonnard 2017-03-22 11:18:33 +0100
  • 5e3c62fd1d Add MBEDTLS_ERR_ECP_IN_PROGRESS Manuel Pégourié-Gonnard 2017-03-08 10:14:11 +0100
  • c3a3bc7636 Add config flag MBEDTLS_ECP_EARLY_RETURN Manuel Pégourié-Gonnard 2017-03-22 11:17:51 +0100
  • 225b37a543 Fix typos in comment Manuel Pégourié-Gonnard 2017-03-08 10:22:54 +0100
  • a54f6cc874 Unify name of default profile in X.509 tests Manuel Pégourié-Gonnard 2017-08-09 10:41:42 +0200
  • 24611f9383 Remove redundant variable Manuel Pégourié-Gonnard 2017-08-09 10:28:07 +0200
  • 7ff243a87c Add missing dependency in test-certs Makefile Manuel Pégourié-Gonnard 2017-08-08 18:54:13 +0200
  • 562df401d3 Improve some comments, fix some typos+whitespace Manuel Pégourié-Gonnard 2017-08-08 18:09:14 +0200
  • 433f39c437 ECDH alternative implementation support Ron Eldor 2017-06-18 17:57:51 +0300
  • ea2dc14c0c Fix some whitespace Manuel Pégourié-Gonnard 2017-08-08 11:10:37 +0200
  • a7c4c8a46c Make some perl scripts usable with git bisect run Manuel Pégourié-Gonnard 2017-07-12 12:15:24 +0200
  • 66a36b03c6 Update comments Manuel Pégourié-Gonnard 2017-07-12 12:23:06 +0200
  • 505c3953c7 Make the ver_chain length explicit Manuel Pégourié-Gonnard 2017-07-05 17:36:47 +0200
  • a707e1d1ef Extract code to separate function for readablity Manuel Pégourié-Gonnard 2017-07-05 17:18:42 +0200
  • ce6e52ff42 Make verify_chain() iterative Manuel Pégourié-Gonnard 2017-07-05 17:05:03 +0200
  • f86f491f25 Rm unneeded function arguments & update comments Manuel Pégourié-Gonnard 2017-07-05 16:43:44 +0200
  • c547d1ab1f Start using an explicit stack for callback info Manuel Pégourié-Gonnard 2017-07-05 13:28:45 +0200
  • a468eb1764 verify_name(): factor duplicated code to function Manuel Pégourié-Gonnard 2017-07-04 01:31:59 +0200
  • 1300e99eb1 Extract name checking to separate function Manuel Pégourié-Gonnard 2017-07-04 01:13:44 +0200
  • 6368612a8f Move code to separate function for readability Manuel Pégourié-Gonnard 2017-07-04 01:01:39 +0200
  • 27e94797aa Simplify handling of locally trusted EE certs Manuel Pégourié-Gonnard 2017-07-04 00:49:31 +0200
  • bdc5440232 Update comments Manuel Pégourié-Gonnard 2017-07-04 00:33:39 +0200
  • cb39610093 Finally merge the remains of top() into child() Manuel Pégourié-Gonnard 2017-07-04 00:00:24 +0200
  • 63642776b1 Let verify_top() handle only the parent Manuel Pégourié-Gonnard 2017-07-03 23:57:11 +0200
  • 6e786747fb Move top()'s checks on child to child() Manuel Pégourié-Gonnard 2017-07-03 23:47:44 +0200
  • 784aee3366 Move other special case from top() to child() Manuel Pégourié-Gonnard 2017-07-03 23:04:06 +0200
  • b9983be73a Move one special case from verify_top() to child() Manuel Pégourié-Gonnard 2017-07-03 22:51:07 +0200
  • 66fac75f8b Merge duplicated checks between child() and top() Manuel Pégourié-Gonnard 2017-07-03 21:39:21 +0200
  • 58dcd2d9b2 Get rid of unused variables/arguments Manuel Pégourié-Gonnard 2017-07-03 21:35:04 +0200
  • 8f8c282de9 Merge near-duplicated (grand)parent finding code Manuel Pégourié-Gonnard 2017-07-03 21:25:10 +0200
  • f82a4d5aba Factor duplicated code into function Manuel Pégourié-Gonnard 2017-07-03 19:26:25 +0200
  • 32fdc60c7b Unnest code in verify_top() Manuel Pégourié-Gonnard 2017-07-03 18:57:51 +0200
  • 6038cb6909 Remove duplicate parent-searching in verify_top() Manuel Pégourié-Gonnard 2017-07-03 18:45:13 +0200
  • 2f09d59456 Add badkey-skipping to find_parent() Manuel Pégourié-Gonnard 2017-07-03 18:30:43 +0200
  • 3e329b8e8d Add badtime-skipping feature to new function Manuel Pégourié-Gonnard 2017-06-29 12:55:27 +0200
  • 9c6118c498 Factor one more occurrence of code into function Manuel Pégourié-Gonnard 2017-06-29 12:38:42 +0200
  • 2f1c33dc33 Factor repeated code into function Manuel Pégourié-Gonnard 2017-06-29 12:27:23 +0200
  • 17f4a6a609 Take shortcut for directly trusted EE cert Manuel Pégourié-Gonnard 2017-06-29 11:57:01 +0200
  • c61e5c9304 Don't search twice for a non-existing parent Manuel Pégourié-Gonnard 2017-06-29 11:47:06 +0200
  • b8acfd2ba8 Fix calls to check_parent() Manuel Pégourié-Gonnard 2017-06-29 11:32:44 +0200
  • 35407c7764 Add comments on chain verification cases Manuel Pégourié-Gonnard 2017-06-29 10:45:25 +0200
  • 9bc860c3ad Add test for callback and bad signatures Manuel Pégourié-Gonnard 2017-07-14 11:32:38 +0200
  • a656825aef Add test for bad name and callback Manuel Pégourié-Gonnard 2017-07-05 18:14:38 +0200
  • 2d825d42bb Add test for same CA with different keys Manuel Pégourié-Gonnard 2017-07-03 18:06:38 +0200
  • c10afdb322 Add test for CA forgery attempt Manuel Pégourié-Gonnard 2017-06-29 09:48:08 +0200
  • d092277683 Add test for profile on trusted EE cert Manuel Pégourié-Gonnard 2017-06-27 13:26:43 +0200
  • bc313017a5 Add tests for flags passed to f_vrfy Manuel Pégourié-Gonnard 2017-06-27 12:51:52 +0200
  • ffa42efa1c Add ability to test flags value in vrfy callback Manuel Pégourié-Gonnard 2017-06-26 12:29:29 +0200
  • 329e78c7fa Improve handling of md errors in X.509 Manuel Pégourié-Gonnard 2017-06-26 12:22:17 +0200
  • a4a206e834 Clarify documentation for directly-trusted certs Manuel Pégourié-Gonnard 2017-06-21 09:35:44 +0200
  • 602544e659 Fix usage of CFLAGS with cmake in all.sh Manuel Pégourié-Gonnard 2017-06-20 10:49:24 +0200
  • 43be6cda47 Fix depends_on:pk_alg in test suites Manuel Pégourié-Gonnard 2017-06-20 09:53:42 +0200
  • 902bb6a018 Add new test script depends-pkalgs.pl Manuel Pégourié-Gonnard 2017-06-06 12:42:41 +0200
  • 5be9533cdf Fix depends_on:curve in x509 tests Manuel Pégourié-Gonnard 2017-06-06 12:13:19 +0200
  • 9ba9dfb1c6 Fix usage of {curves,key-exchanges}.pl in all.sh Manuel Pégourié-Gonnard 2017-06-06 11:51:34 +0200
  • 1fe6bb9f25 Fix missing depends_on:SHA/MD in x509 tests Manuel Pégourié-Gonnard 2017-06-06 11:36:16 +0200
  • 42a4d30a04 Add new test script depends-hashes.pl Manuel Pégourié-Gonnard 2017-06-06 10:54:01 +0200
  • b341dd58c5 Add tests for spurious certs in the chain Manuel Pégourié-Gonnard 2017-06-06 10:25:43 +0200
  • 4dfc04a66f Add test for bad signature with longer chain Manuel Pégourié-Gonnard 2017-06-05 11:12:13 +0200
  • 29d60fb85f Add test for expired cert in longer chain Manuel Pégourié-Gonnard 2017-06-05 10:20:32 +0200