Commit Graph

  • 7f93da1265 Use the dedicated dummy_random in fuzzing programs Manuel Pégourié-Gonnard 2021-06-16 10:20:30 +02:00
  • 36a8963b3b Fix cmake build of programs Manuel Pégourié-Gonnard 2021-06-15 11:43:33 +02:00
  • e6e51aab55 Add ChangeLog and migration guide entries Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • 02b5705aa3 Simplify internal code Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • 7962bfaa79 Remove "internal RNG" code from ECP Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • d51aaad4c9 Remove config option MBEDTLS_ECP_NO_INTERNAL_RNG Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • 84dea01f36 Add RNG params to private key parsing Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • 39be1410fd Add RNG parameter to check_pair functions Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • f8c24bf507 Fix signature of check_pub_priv Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • 75525aec52 Fix mbedtls_ecp_muladd() Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • aa3ed6f987 Make RNG parameters mandatory in ECP functions Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • 7861ecf838 Make RNG parameters mandatory in ECDH functions Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • 1a87722bb6 Make RNG parameters mandatory in DHM functions Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • f035904060 Check for mandatory RNG parameters in RSA private Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • 34d3756457 Make RNG parameters mandatory in PK functions Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • c305b72ed1 Make RNG parameters mandatory in X.509 functions Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • ad5390fc4f Clarify that RNG parameters are mandatory in SSL Manuel Pégourié-Gonnard 2021-06-15 11:29:26 +02:00
  • ab4ecfcc2c Improve wording of documentation of new session resumption API Hanno Becker 2021-06-17 05:12:16 +01:00
  • 22ecf49e9a Adds ChangeLog entry Thomas Daubney 2021-06-15 13:04:11 +01:00
  • 4a7010d1aa Removes MBEDTLS_SSL_TRUNCATED_HMAC config option Thomas Daubney 2021-06-15 12:54:14 +01:00
  • d7171e9f59 Removes truncated HMAC code from ssl.h Thomas Daubney 2021-06-15 12:43:45 +01:00
  • e1c9a40bc4 Removes truncated HMAC code from ssl_X.c Thomas Daubney 2021-06-15 11:26:43 +01:00
  • 32fb900eee Removes truncated HMAC code from ssl_tls.c Thomas Daubney 2021-06-14 17:25:08 +01:00
  • 40d49b1e54 Removes truncated HMAC code from ssl_context_info program Thomas Daubney 2021-06-14 15:46:45 +01:00
  • 909d3bfa43 Removes MBEDTLS_SSL_TRUNCATED_HMAC code from fuzz programs Thomas Daubney 2021-06-14 15:37:45 +01:00
  • 22989d027a Removes MBEDTLS_SSL_TRUNCATED_HMAC code from ssl programs Thomas Daubney 2021-06-14 15:34:28 +01:00
  • c46bf3c79c Modifies tests in test_suite_ssl.function Thomas Daubney 2021-06-14 14:15:21 +01:00
  • ce9e716a2b Modifies tests in context-info.sh Thomas Daubney 2021-06-14 14:04:25 +01:00
  • 5f43f978f0 Removes tests from ssl-opt.sh Thomas Daubney 2021-06-14 11:41:23 +01:00
  • 4076d3e9f3 Implement one-shot MAC functions gabor-mezei-arm 2021-03-01 15:34:18 +01:00
  • af4ecddd4f Pass associated data split as check_multipart argument. Mateusz Starzyk 2021-06-15 15:29:48 +02:00
  • 3d0bbeef0c Reword description of the authentation tag computation stages Mateusz Starzyk 2021-06-15 14:26:53 +02:00
  • 25a571e076 Code style fix Mateusz Starzyk 2021-06-15 13:22:42 +02:00
  • 3443bd2570 Add comment on exiting early from mbedtls_gcm_update(). Mateusz Starzyk 2021-06-07 16:03:27 +02:00
  • b45b57eec6 Add comment on how mbedtls_gcm_context::buf data depends on values of add_len and len. Mateusz Starzyk 2021-06-07 15:44:18 +02:00
  • 333f48f407 Fix code style. Mateusz Starzyk 2021-06-07 14:42:27 +02:00
  • c1ec0b8959 Add changelog entry for chunked associated data in GCM. Mateusz Starzyk 2021-06-07 14:23:24 +02:00
  • d6f673d710 Remove outdated note about multiple calls to cipher update for associated data. Mateusz Starzyk 2021-06-07 12:49:55 +02:00
  • 658f4fd6d8 Cover multiple calls to mbedtls_gcm_update_ad in gcm test suite. Mateusz Starzyk 2021-05-26 14:26:48 +02:00
  • bd513bb53d Enable multiple calls to mbedtls_gcm_update_ad. Mateusz Starzyk 2021-05-26 14:25:39 +02:00
  • 56efc52d6b Merge pull request #4628 from ronald-cron-arm/dhm-key-generation-bias Manuel Pégourié-Gonnard 2021-06-16 13:13:34 +02:00
  • 15a7b73708 Documentation rewording TRodziewicz 2021-06-16 11:22:53 +02:00
  • 8f91c721d3 Code review follow-up corrections TRodziewicz 2021-06-09 14:25:51 +02:00
  • 7ff652ae53 Addition of ChangeLog and migration guide entry files. TRodziewicz 2021-06-01 12:22:48 +02:00
  • 10e8cf5fef Remove MD2, MD4, RC4, Blowfish and XTEA TRodziewicz 2021-05-31 17:58:57 +02:00
  • 17575dcb03 Merge pull request #4629 from TRodziewicz/rename_functions_whose_deprecated_variants_have_been_removd Gilles Peskine 2021-06-15 20:32:07 +02:00
  • db9c18d1be Import crypto_spe.h from TF-M Gilles Peskine 2021-06-15 18:18:07 +02:00
  • 9c90226df1 Addition of the migration guide and change log files TRodziewicz 2021-06-11 14:30:01 +02:00
  • 5bbbb5ed28 Remove the mbedtls_printf and FAIL macros TRodziewicz 2021-06-11 14:02:06 +02:00
  • 9a9609ee06 Make static all the functions moved to bechmark.c TRodziewicz 2021-06-11 13:35:10 +02:00
  • 90f304ff1a Fixing test_clang_opt (asm not defined) TRodziewicz 2021-06-11 11:56:47 +02:00
  • d854083773 Move part of timing module out of the library TRodziewicz 2021-06-10 15:16:50 +02:00
  • 6aba8fc230 No C99 loops in this branch Manuel Pégourié-Gonnard 2021-06-15 13:28:50 +02:00
  • de2ab2a4bd Fix GCC warning Manuel Pégourié-Gonnard 2021-06-15 12:37:23 +02:00
  • 8cad2e22fc Merge pull request #4595 from gilles-peskine-arm/alt-dummy-headers-3.0 Manuel Pégourié-Gonnard 2021-06-15 12:12:46 +02:00
  • fbf9aff285 Merge pull request #830 from gilles-peskine-arm/ecp_max_bits-check-2.x Manuel Pégourié-Gonnard 2021-06-15 11:31:11 +02:00
  • 6f4fbb4640 Merge pull request #838 from gilles-peskine-arm/ecp_max_bits-check-2.16 Ronald Cron 2021-06-15 11:12:52 +02:00
  • 28a4a963fc Corrections to the docs wording and changes to aux scripts TRodziewicz 2021-06-15 00:18:32 +02:00
  • e5702489f5 mbedtls_dhm_get_value parameter order: context first, output last Gilles Peskine 2021-06-11 21:59:08 +02:00
  • cadd3d860e Give examples of PLATFORM_XXX_ALT Gilles Peskine 2021-06-07 20:15:55 +02:00
  • bf26bef157 Discuss the durability of PSA drivers vs ALT when introducing them Gilles Peskine 2021-06-07 20:15:31 +02:00
  • a71db94c66 Document that contexts must be movable Gilles Peskine 2021-06-01 21:30:51 +02:00
  • f35c42bdb9 Document the remaining constraints on ALT context types Gilles Peskine 2021-05-31 23:30:01 +02:00
  • 1628a9c140 MBEDTLS_DEBUG_C is compatible with every whole-module ALT except DHM Gilles Peskine 2021-05-31 22:09:58 +02:00
  • 5c3f18d37c MBEDTLS_PK_PARSE_EC_EXTENDED is incompatible with MBEDTLS_ECP_ALT Gilles Peskine 2021-05-31 21:21:12 +02:00
  • ad7f53cdb3 Define public fields of mbedtls_ecp_group in alt test header Gilles Peskine 2021-05-31 21:20:30 +02:00
  • bf69ea5b8f Make some fields of mbedtls_ecp_group public Gilles Peskine 2021-05-27 23:53:07 +02:00
  • cd07e22048 New function mbedtls_ecjpake_set_point_format Gilles Peskine 2021-05-27 23:17:34 +02:00
  • 71acc6e8d9 New function mbedtls_dhm_get_value to copy a field of a DHM context Gilles Peskine 2021-05-27 22:50:53 +02:00
  • 487bbf6805 DHM: new functions to query the length of the modulus Gilles Peskine 2021-05-27 22:17:07 +02:00
  • 85b1bc65a0 pk_debug: build with RSA_ALT implementations Gilles Peskine 2021-05-25 09:20:26 +02:00
  • d41d59e900 Timing: support ALT implementations in self-test Gilles Peskine 2021-05-25 09:19:45 +02:00
  • cc73cc55e8 Test the build with whole-module alternative implementations Gilles Peskine 2021-05-25 09:04:46 +02:00
  • 8e90cf49ca config.py: new command line commands set-all and unset-all Gilles Peskine 2021-05-27 22:12:57 +02:00
  • a0ebaefef9 Create threading_alt.h header for testing Gilles Peskine 2021-05-24 23:17:57 +02:00
  • c5048db24c Create xxx_alt.h headers for testing Gilles Peskine 2021-05-24 22:51:48 +02:00
  • a1b44dd808 Changelog entry for MBEDTLS_ECP_MAX_BITS automatic determination Gilles Peskine 2021-05-31 21:52:28 +02:00
  • 814d0129ec Test calculated MBEDTLS_ECP_MAX_xxx constants in unit tests Gilles Peskine 2021-05-31 21:44:25 +02:00
  • 601d34396c Update TLS presets when adding a curve Gilles Peskine 2021-06-07 20:27:01 +02:00
  • 6e1387abed Update MBEDTLS_ECP_MAX_BITS when adding a curve Gilles Peskine 2021-06-07 20:24:51 +02:00
  • d0b16303bb Determine MBEDTLS_ECP_MAX_BITS automatically Gilles Peskine 2021-05-28 00:17:26 +02:00
  • 9ef1ea7444 Move the definition of derived values out of the settings section Gilles Peskine 2021-05-28 00:16:18 +02:00
  • 6a2fb61896 Rename library/ecp_alt.h to ecp_internal_alt.h Gilles Peskine 2021-05-24 22:25:04 +02:00
  • b9ccb25f33 Starter-class documentation of alternative implementations Gilles Peskine 2021-05-31 23:09:13 +02:00
  • cee21d76f1 Merge pull request #4606 from TRodziewicz/turn__SSL_SRV_RESPECT_CLIENT_PREFERENCE_config_opt_to_runtime_opt Gilles Peskine 2021-06-14 19:03:28 +02:00
  • 8d54b69c96 Fix copypasta in test data Gilles Peskine 2021-06-14 18:05:37 +02:00
  • a172cf53f7 Use UNUSED wherever applicable in derive_input tests Gilles Peskine 2021-06-14 18:01:42 +02:00
  • f216f0d5d4 Fix missing state check for tls12_prf output Gilles Peskine 2021-06-11 22:41:46 +02:00
  • d40a21cff1 Key derivation: add test cases where the secret is missing Gilles Peskine 2021-06-11 22:38:22 +02:00
  • f627931cde Add bad-workflow key derivation tests Gilles Peskine 2021-05-27 13:21:20 +02:00
  • 0faba4e8c5 More explicit names for some bad-workflow key derivation tests Gilles Peskine 2021-05-27 11:55:02 +02:00
  • af5bd67f6e Fix copypasta in test data Gilles Peskine 2021-06-14 18:05:37 +02:00
  • c7319cda78 Use UNUSED wherever applicable in derive_input tests Gilles Peskine 2021-06-14 18:01:42 +02:00
  • 823f594db5 Merge pull request #4511 from mstarzyk-mobica/mbedtls_private_with_python Ronald Cron 2021-06-14 17:36:39 +02:00
  • c4c761e35e Merge remote-tracking branch 'mbedtls/development' into mbedtls_private_with_python Ronald Cron 2021-06-14 16:17:32 +02:00
  • a90e0907c5 Remove scripts automating wrapping structs members with MBEDTLS_PRIVATE. Ronald Cron 2021-06-14 15:46:35 +02:00
  • 3946f79cab Correction according to code review (function and param. names change and docs rewording) TRodziewicz 2021-06-14 12:11:18 +02:00
  • 5a6549752f Check MBEDTLS_ECP_MAX_xxx constants in unit tests Gilles Peskine 2021-05-31 21:44:25 +02:00
  • eaf7442f62 Fail the build if MBEDTLS_ECP_MAX_BITS is not large enough Gilles Peskine 2021-06-02 23:21:07 +02:00
  • 8b223b6509 Addition of the migration guide entry file. TRodziewicz 2021-06-02 16:42:39 +02:00