Commit Graph

  • cc209ca56d Remove signature verification from rsa_rsassa_pkcs1_v15_sign Hanno Becker 2017-08-25 11:51:03 +01:00
  • 43f94721ab Add quick-check for presence of relevant parameters in rsa_private Hanno Becker 2017-08-25 11:50:00 +01:00
  • c6075cc5ac Don't use CRT for signature verification Hanno Becker 2017-08-25 11:45:35 +01:00
  • 603b8c62c4 Clarify guarantees made by successful mbedtls_rsa_complete call Hanno Becker 2017-08-25 11:03:07 +01:00
  • b269a8584a Change mbedtls_rsa_check_privkey to use new helper functions Hanno Becker 2017-08-25 08:03:21 +01:00
  • d9431a7817 Minor comments improvement Hanno Becker 2017-08-25 08:03:13 +01:00
  • d363799a9d Add mbedtls_rsa_validate_crt Hanno Becker 2017-08-25 07:55:03 +01:00
  • d56d83a7f3 Remove double-checking code from rsa_deduce_moduli and rsa_complete Hanno Becker 2017-08-25 07:29:35 +01:00
  • 750e8b4596 Rename rsa_check_params->rsa_validate_params and change error codes Hanno Becker 2017-08-25 07:54:27 +01:00
  • fd87e354f6 Improve comments on parity trick Manuel Pégourié-Gonnard 2017-08-24 14:21:05 +02:00
  • 95aedfea33 Remove redundant test on curve type Manuel Pégourié-Gonnard 2017-08-24 13:47:04 +02:00
  • 11556e2846 Clarify initialization of T in mul_comb() Manuel Pégourié-Gonnard 2017-08-24 13:41:19 +02:00
  • 0b23f167ba SSL: rework restart state handling Manuel Pégourié-Gonnard 2017-08-24 12:08:33 +02:00
  • 6348181da9 Explicit state assignments in ecdsa too Manuel Pégourié-Gonnard 2017-08-24 11:16:01 +02:00
  • 4ed1dab474 ECP: move state changes closer to operations Manuel Pégourié-Gonnard 2017-08-24 11:02:04 +02:00
  • c9efa00871 ECP: Use explicit state assignments Manuel Pégourié-Gonnard 2017-08-24 10:25:06 +02:00
  • fb81c0ec2e Guard primality checks in RSA module by MBEDTLS_GENPRIME Hanno Becker 2017-08-24 06:55:11 +01:00
  • b0c5edcc2f Correct typo in rsa.h Hanno Becker 2017-08-23 22:16:10 +01:00
  • db4a8eb992 Use ECP_RS_ENTER/LEAVE() macros, as in ECDSA Manuel Pégourié-Gonnard 2017-08-23 18:18:22 +02:00
  • b948f7dc20 Don't bother to free NULL subcontexts Manuel Pégourié-Gonnard 2017-08-23 17:58:40 +02:00
  • bfa1972b4f Remove redundant checks, save a few muls Manuel Pégourié-Gonnard 2017-08-23 17:39:18 +02:00
  • 28d162829b Avoid unnecessary xxx_copy() calls Manuel Pégourié-Gonnard 2017-08-23 17:33:27 +02:00
  • 5bd38b1144 Replace memset() calls with xxx_init() calls Manuel Pégourié-Gonnard 2017-08-23 16:55:59 +02:00
  • 92cceb29bd Make some names more consistent Manuel Pégourié-Gonnard 2017-08-23 16:27:29 +02:00
  • ebac5d3797 Fix some whitespace & style issues Manuel Pégourié-Gonnard 2017-08-23 16:23:36 +02:00
  • ab3773123c Add support for alternative RSA implementations Hanno Becker 2017-08-23 16:24:51 +01:00
  • bf37b10370 Add test run for RSA_NO_CRT to all.sh Hanno Becker 2017-08-23 10:29:42 +01:00
  • 6345dd33b9 Adapt rsa_check_privkey to deal with NO_CRT option Hanno Becker 2017-08-23 06:59:48 +01:00
  • bee3aaeb50 Adapt rsa_gen_key to deal with RSA_NO_CRT option Hanno Becker 2017-08-23 06:59:15 +01:00
  • dc95c890ad Adapt rsa_deduce_crt to deal with RSA_NO_CRT option Hanno Becker 2017-08-23 06:57:02 +01:00
  • 33c30a0c7e Adapt rsa_copy and rsa_free to deal with RSA_NO_CRT option Hanno Becker 2017-08-23 07:00:22 +01:00
  • 23344b5fcc Adapt rsa_complete to deal with RSA_NO_CRT option Hanno Becker 2017-08-23 07:43:27 +01:00
  • 131134fa1a Adapt RSA test suite to deal with RSA_NON_CRT option Hanno Becker 2017-08-23 08:31:07 +01:00
  • 1a59e791e5 Remove CRT fields from RSA context if RSA_NO_CRT is defined Hanno Becker 2017-08-23 07:41:10 +01:00
  • f073de0c25 Adapt rsa_genkey example program to use new RSA interface Hanno Becker 2017-08-23 07:42:28 +01:00
  • 0c2639386e Adapt rsa_encrypt example program to new RSA interface Hanno Becker 2017-08-23 06:47:06 +01:00
  • d6ba5e3d8b Adapt rsa_sign example program to new RSA interface Hanno Becker 2017-08-23 06:48:07 +01:00
  • ccef18c2ff Adapt rsa_decrypt example program to new RSA interface Hanno Becker 2017-08-23 06:46:45 +01:00
  • 40371ec783 Adapt key_app_writer example program to new RSA interface Hanno Becker 2017-08-23 06:46:17 +01:00
  • 54ebf9971d Adapt key_app example program to new RSA interface Hanno Becker 2017-08-23 06:45:38 +01:00
  • 83aad1fa86 Adapt gen_key example program to new RSA interface Hanno Becker 2017-08-23 06:45:10 +01:00
  • c95fad3566 Adapt dh_server example program to new RSA interface Hanno Becker 2017-08-23 06:44:30 +01:00
  • ceb7a9ddb3 Adapt RSA test suites to new RSA interface Hanno Becker 2017-08-23 08:33:08 +01:00
  • 6326a6da7f Adapt PKCS v21 test suite to new RSA interface Hanno Becker 2017-08-23 06:38:22 +01:00
  • 6d43f9e0a4 Adapt PKCS v15 test suite to new RSA interface Hanno Becker 2017-08-23 06:35:17 +01:00
  • d71dc159a6 Adapt PK test suite to use new interface Hanno Becker 2017-08-23 06:32:42 +01:00
  • 15f81fa21c Adapt pkwrite.c to new RSA interface Hanno Becker 2017-08-23 12:38:27 +01:00
  • d58c5b2d16 Adapt pkparse.c to new RSA interface Hanno Becker 2017-08-22 14:33:21 +01:00
  • 6a1e7e5f4c Adapt pk_wrap.c to new RSA interface Hanno Becker 2017-08-22 13:55:00 +01:00
  • 3a701161ff Adapt RSA selftest to new RSA interface Hanno Becker 2017-08-22 13:52:43 +01:00
  • ce00263bd2 Add tests for rsa_check_params Hanno Becker 2017-08-23 13:22:36 +01:00
  • f1b9a2c783 Add tests for rsa_export_raw Hanno Becker 2017-08-23 11:49:22 +01:00
  • 417f2d6107 Add tests for rsa_export Hanno Becker 2017-08-23 11:44:51 +01:00
  • c77ab892e5 Add tests for rsa_import, rsa_import_raw and rsa_complete Hanno Becker 2017-08-23 11:01:06 +01:00
  • e78fd8d1b6 Add tests for rsa_deduce_moduli Hanno Becker 2017-08-23 11:00:44 +01:00
  • 6b4ce49991 Add tests for rsa_deduce_private Hanno Becker 2017-08-23 11:00:21 +01:00
  • 8fd5548241 Minor formatting changes Hanno Becker 2017-08-23 14:07:48 +01:00
  • 617c1aeb18 Implement new RSA interface functions Hanno Becker 2017-08-23 14:11:24 +01:00
  • cbb59bc2a8 Extend RSA interface to allow structure-independent setup Hanno Becker 2017-08-23 14:11:08 +01:00
  • e2e8b8da1d Implement RSA helper functions Hanno Becker 2017-08-23 14:06:45 +01:00
  • a3ebec2423 Declare RSA helper functions Hanno Becker 2017-08-23 14:06:24 +01:00
  • eaf55beead Misc documentation fixes/improvements Manuel Pégourié-Gonnard 2017-08-23 14:40:21 +02:00
  • 7037e222ea Improve comments and doc for ECP Manuel Pégourié-Gonnard 2017-08-23 14:30:36 +02:00
  • daf049144e Rework state saving for verify_chain() Manuel Pégourié-Gonnard 2017-08-23 12:32:19 +02:00
  • a968843429 Improve some comments in verify_chain() Manuel Pégourié-Gonnard 2017-08-23 11:23:59 +02:00
  • 3627a8b2f6 Clarify state handling in find_parent(_in)() Manuel Pégourié-Gonnard 2017-08-23 11:20:48 +02:00
  • 83e923ba2b Better initialisation of ver_chain Manuel Pégourié-Gonnard 2017-08-23 10:55:41 +02:00
  • 8b7b96bbd3 Fix typo Manuel Pégourié-Gonnard 2017-08-23 10:02:51 +02:00
  • f231eaae28 Add configuration file in md.h Ron Eldor 2017-08-22 14:50:14 +03:00
  • be2f0b5e27 Fix test that didn't check full value of flags Manuel Pégourié-Gonnard 2017-08-21 11:00:22 +02:00
  • 7766a2c9c0 Improve some comments Manuel Pégourié-Gonnard 2017-08-21 10:57:57 +02:00
  • 1680d3dc19 Add a couple of statements to the contribution section Ron Eldor 2017-08-16 17:28:21 +03:00
  • bbf4b59f07 Backport 1.3:Remove duplicated def. of PRINT_ERROR Ron Eldor 2017-08-20 16:24:33 +03:00
  • 3a7baf3fa7 Backport 2.1:Remove duplicated def. of PRINT_ERROR Ron Eldor 2017-08-20 16:16:39 +03:00
  • d55f776cb7 Skip context allocation if restart disabled Manuel Pégourié-Gonnard 2017-08-18 17:40:15 +02:00
  • aaa9814879 Uniformize ifdefs to ECDSA_C+ECP_RESTARTABLE Manuel Pégourié-Gonnard 2017-08-18 17:30:37 +02:00
  • fe6877034d Keep PK layer context in the PK layer Manuel Pégourié-Gonnard 2017-08-18 17:04:07 +02:00
  • 0bbc66cc76 Dynamically allocate/free restart subcontext in PK Manuel Pégourié-Gonnard 2017-08-18 16:22:06 +02:00
  • 15d7df2ba8 Introduce mbedtls_pk_restart_ctx and use it Manuel Pégourié-Gonnard 2017-08-17 14:33:31 +02:00
  • 98a6778d47 Better document some function arguments Manuel Pégourié-Gonnard 2017-08-17 10:52:20 +02:00
  • b889d3e5fb Clarify & uniformise test comments Manuel Pégourié-Gonnard 2017-08-17 10:25:18 +02:00
  • 5faafa76cf Update X.509 test certs' Readme Manuel Pégourié-Gonnard 2017-08-17 10:13:00 +02:00
  • 7f888982fd Modify Contribution Guidelines after comments Ron Eldor 2017-08-16 16:05:52 +03:00
  • b5e6a77010 Add Contribution guidelines to github Ron Eldor 2017-08-16 11:23:31 +03:00
  • c9e16a97da Disable restartable ECC by default Manuel Pégourié-Gonnard 2017-08-15 14:30:59 +02:00
  • 9897cc933d Update ChangeLog Manuel Pégourié-Gonnard 2017-08-15 14:30:43 +02:00
  • 3bf49c4552 Enable restart for certificate verify Manuel Pégourié-Gonnard 2017-08-15 13:47:06 +02:00
  • fed37ed039 Extract some code to separate function Manuel Pégourié-Gonnard 2017-08-15 13:27:41 +02:00
  • 39eda87382 Make more auto variables const Manuel Pégourié-Gonnard 2017-08-15 13:00:33 +02:00
  • 6b7301c872 Change restart context type. Manuel Pégourié-Gonnard 2017-08-15 12:08:45 +02:00
  • d27d1a5a82 Clean up existing SSL restartable ECC code Manuel Pégourié-Gonnard 2017-08-15 11:49:08 +02:00
  • 8b59049407 Make verify() actually restartable Manuel Pégourié-Gonnard 2017-08-14 18:04:19 +02:00
  • c11e4baa63 Rework type for verify chain Manuel Pégourié-Gonnard 2017-08-14 17:17:14 +02:00
  • 18547b5db6 Refactor find_parent() to merge two call sites Manuel Pégourié-Gonnard 2017-08-14 16:11:43 +02:00
  • a4a5d1dbe6 Adapt function signatures to rs_ctx + ret Manuel Pégourié-Gonnard 2017-07-17 10:26:19 +02:00
  • be4ff42fe4 Call crt_check_signature from one place only Manuel Pégourié-Gonnard 2017-07-14 12:04:14 +02:00
  • d19a41d9aa Add tests for verify_restartable() Manuel Pégourié-Gonnard 2017-07-14 11:05:59 +02:00
  • a75a459143 Removed duplication in Changelog mbedtls-1.3.21 Simon Butcher 2017-08-10 23:38:10 +01:00
  • 03bd0229ab Update version to 1.3.21 Simon Butcher 2017-08-10 11:52:14 +01:00
  • 1fe5e8ab44 Update version number to 2.1.9 mbedtls-2.1.9 Simon Butcher 2017-08-10 11:51:47 +01:00