Commit Graph

  • 054bf7f2a0 Reduce indentation need by checking negative case first Steven Cooreman 2021-04-06 15:09:19 +02:00
  • 43e4a406d9 Give builtin key export test functions the same dependencies Steven Cooreman 2021-04-06 13:17:36 +02:00
  • b938b0bb03 Documentation clarification after review Steven Cooreman 2021-04-06 13:08:42 +02:00
  • a1ce2f2675 Rename test driver lifetime to location Steven Cooreman 2021-03-18 20:49:29 +01:00
  • c8b9534378 Change signature of mbedtls_psa_platform_get_builtin_key Steven Cooreman 2021-03-18 20:48:06 +01:00
  • 4b51925ede Stricter test dependencies on builtin key test Steven Cooreman 2021-03-18 20:25:53 +01:00
  • 1a0fbacde1 Refactor opaque key handling in the test driver Steven Cooreman 2021-03-18 19:19:53 +01:00
  • e384252cb7 Move include to top of file Steven Cooreman 2021-03-18 18:52:44 +01:00
  • 33a32f024f Move test driver implementation of platform_get_builtin_key Steven Cooreman 2021-03-18 18:43:15 +01:00
  • 649a8f4301 replace memcpy of structure with regular assignment Steven Cooreman 2021-03-18 17:34:55 +01:00
  • ffc7fc9b71 Move variable declarations to top of function Steven Cooreman 2021-03-18 17:33:46 +01:00
  • 85d554a99b Use different variables for buffer size and data length Steven Cooreman 2021-03-18 17:19:30 +01:00
  • 203bcbbc47 Style fixes (typos, whitespace, 80 column limit) Steven Cooreman 2021-03-18 17:17:40 +01:00
  • e5e30859b7 Remove potentially unused exit label Steven Cooreman 2021-02-22 14:40:04 +01:00
  • 5be864f645 Add changelog for MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS Steven Cooreman 2021-02-22 12:48:51 +01:00
  • 437fcfc32e Add simple test coverage for builtin keys (PSA opaque driver export) Steven Cooreman 2021-02-22 12:44:15 +01:00
  • f9a55ffa2c Add test driver implementation for MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS Steven Cooreman 2021-02-19 18:04:59 +01:00
  • 6801f08973 Implement support for MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS Steven Cooreman 2021-02-19 17:21:22 +01:00
  • eb1a301321 Update documentation references to the AEAD macros Bence Szépkúti 2021-03-18 10:33:33 +01:00
  • 12116bc3bb Update the AEAD output size macros Bence Szépkúti 2021-03-11 15:59:24 +01:00
  • f7b6b4e591 Align code style with the rest of the file Bence Szépkúti 2021-03-08 16:08:58 +01:00
  • 30f91a4bca Mark AEAD compatibility macros as deprecated Bence Szépkúti 2021-03-08 15:30:27 +01:00
  • 670df7a41d Rename AEAD output size macros in crypto_compat.h Bence Szépkúti 2021-03-08 10:52:26 +01:00
  • 8810fd3250 Copy AEAD output size macros to crypto_compat.h Bence Szépkúti 2021-03-05 14:18:33 +01:00
  • cbcefae955 Merge pull request #4348 from mpg/revert-4334-dev Janos Follath 2021-04-15 13:31:58 +01:00
  • 1724bd2a4f Merge pull request #4322 from gilles-peskine-arm/ecp-add-fix-tests-2.16 Gilles Peskine 2021-04-15 14:00:50 +02:00
  • c301bd56f0 Merge branch 'development_3.0' into drop_old_tls_options Mateusz Starzyk 2021-04-15 13:55:20 +02:00
  • 4222682672 Uniformize ChangeLog entries. Mateusz Starzyk 2021-04-15 13:34:04 +02:00
  • f5c535139d Remove remaining comments and strings refering to removed features. Mateusz Starzyk 2021-04-15 13:28:52 +02:00
  • 720b659ea1 Changelog added TRodziewicz 2021-04-12 17:19:43 +02:00
  • c22f50a2fe fix error.c - second try TRodziewicz 2021-04-12 15:13:10 +02:00
  • c28d2ae676 fix error.c - now it's autogenerated TRodziewicz 2021-04-12 14:49:55 +02:00
  • 136b3989cb Remove deprecated things from hashing modules TRodziewicz 2021-04-12 11:38:37 +02:00
  • 93c0847914 Revert "Remove deprecated things from hashing modules" Manuel Pégourié-Gonnard 2021-04-15 12:23:55 +02:00
  • 149211146f Revert "fix error.c - now it's autogenerated" Manuel Pégourié-Gonnard 2021-04-15 12:23:33 +02:00
  • 30dcdf40b4 Revert "fix error.c - second try" Manuel Pégourié-Gonnard 2021-04-15 12:23:20 +02:00
  • 247745ffc4 Revert "Changelog added" Manuel Pégourié-Gonnard 2021-04-15 12:22:23 +02:00
  • fdb588b3a7 Fix an incorrect error code addition in pk_parse_key_pkcs8_unencrypted_der archive/dev/gilles-peskine-arm/pr_4006-5 Chris Jones 2021-04-14 18:15:24 +01:00
  • 9f7a693f2c Apply MBEDTLS_ERROR_ADD to library Chris Jones 2021-04-14 12:12:09 +01:00
  • 7e6eb9fa27 Simplify SSL session cache implementation via session serialization Hanno Becker 2021-04-15 10:26:06 +01:00
  • f938c436fb Add helper function to find entry in SSL session cache Hanno Becker 2021-04-15 10:17:53 +01:00
  • 02a68ebc0e Add helper function to finding a fresh entry in the SSL cache Hanno Becker 2021-04-15 09:57:17 +01:00
  • ccdaf6ed22 Add session ID as explicit parameter to SSL session cache API Hanno Becker 2021-04-15 09:26:17 +01:00
  • a637ff6ddd Introduce typedef for SSL session cache callbacks Hanno Becker 2021-04-15 08:42:48 +01:00
  • 64ce974180 Don't check ciphersuite and compression in SSL session cache lookup Hanno Becker 2021-04-15 08:19:40 +01:00
  • 52d0b48f04 Merge pull request #4346 from mstarzyk-mobica/long_url_backport_mbedtls_216 Gilles Peskine 2021-04-15 11:12:24 +02:00
  • 9013489177 Merge pull request #4253 from mstarzyk-mobica/long_url_in_changelog_entry Gilles Peskine 2021-04-15 11:12:21 +02:00
  • c039514559 Merge pull request #4334 from TRodziewicz/origin/remove_old_func_from_hashing Manuel Pégourié-Gonnard 2021-04-15 10:13:32 +02:00
  • 270626ee70 Allow changelog entries to have URLs exceeding 80 char limit. Mateusz Starzyk 2021-04-15 10:03:59 +02:00
  • 09c916afba Merge pull request #4257 from ronald-cron-arm/psa-aead Gilles Peskine 2021-04-14 14:07:51 +02:00
  • fce7061a51 Merge pull request #4324 from chris-jones-arm/remove-default-ticket-lifetime Gilles Peskine 2021-04-14 14:01:19 +02:00
  • 06fe88e672 Changelog added. TRodziewicz 2021-04-13 23:22:25 +02:00
  • 2a1a67300d Remove deprecated things from crypto_compat.h and dependent tests. TRodziewicz 2021-04-13 23:12:42 +02:00
  • 29fd277f36 New line added at the end of the Changelog file. TRodziewicz 2021-04-13 18:13:02 +02:00
  • 53423c097e Changelog added TRodziewicz 2021-04-13 16:27:43 +02:00
  • defe10df52 Add compatibility macro for the inline keyword in error.h Chris Jones 2021-04-12 17:31:39 +01:00
  • ef01852d65 Add missing guard to mbedtls_test_hook_error_add Chris Jones 2021-04-12 17:27:18 +01:00
  • abded0ed39 Improve and fix documentation for error code combination Chris Jones 2021-04-12 15:44:47 +01:00
  • b7d02e0f15 Fix misc issues with unused parameters and check-names.sh Chris Jones 2021-04-01 17:40:03 +01:00
  • 7439209bcc Rewrite error addition interface Chris Jones 2021-04-01 16:00:01 +01:00
  • ac33a3ab12 Add exception in check when high error code == 0 Chris Jones 2021-03-31 16:09:28 +01:00
  • 3f613c17c1 Improve mbedtls_test_err_add_check documentation Chris Jones 2021-03-31 09:34:22 +01:00
  • 759e30bdb0 Add MBEDTLS_ERROR_C dependency to invasive error code testing Chris Jones 2021-02-09 15:30:54 +00:00
  • b179b84335 Change set_err_add_hook void pointer to actual function pointer signature Chris Jones 2021-02-08 16:53:29 +00:00
  • fe285f53e6 Make mbedtls_test_err_add_check fail tests Chris Jones 2021-02-08 12:32:41 +00:00
  • d86ad60aa5 Change mbedtls_set_err_add_hook to use doxygen style comment Chris Jones 2021-01-29 15:47:47 +00:00
  • a203c38576 Expand error addition checks Chris Jones 2021-01-29 14:56:20 +00:00
  • ef180af350 Move MBEDTLS_ERR_ADD macro and functions to error.* Chris Jones 2021-01-26 17:50:48 +00:00
  • 808b7c8a8a Fix building with MBEDTLS_TEST_HOOKS enabled Chris Jones 2021-01-13 12:33:36 +00:00
  • 5e8805afeb Move MBEDTLS_ERR_ADD macro and function to common.* Chris Jones 2021-01-12 15:21:57 +00:00
  • 713e4e77b4 Expand use of MBEDTLS_ERR_ADD to the rest of rsa.c Chris Jones 2021-01-11 12:31:27 +00:00
  • 220cdece40 Fix error code combination check Chris Jones 2021-01-11 12:27:21 +00:00
  • 96ae73b0ea Add macro for error code addition Chris Jones 2021-01-08 17:04:59 +00:00
  • e148b6884c error.c re-generated. TRodziewicz 2021-04-13 15:00:30 +02:00
  • b579ccd529 The still used deprecated error codes replaced with _PLATFORM_ ones TRodziewicz 2021-04-13 14:28:28 +02:00
  • 5a1d0fc55f Fix copypasta in test case description Gilles Peskine 2021-04-09 15:46:40 +02:00
  • 528b0a6b18 Merge pull request #4323 from gilles-peskine-arm/ecp-add-fix-changelog-development Manuel Pégourié-Gonnard 2021-04-13 09:57:10 +02:00
  • bca65e4ffd Merge branch 'remove_depr_error_codes' of https://github.com/TRodziewicz/mbedtls into remove_depr_error_codes TRodziewicz 2021-04-12 23:42:12 +02:00
  • d11ddc54b6 Correction in the TODO issue number TRodziewicz 2021-04-12 23:41:46 +02:00
  • c258a0fa65 Update md.h Tomasz Rodziewicz 2021-04-12 23:39:44 +02:00
  • dd82502b56 Remove deprecated error codes. Some still remain - question asked in issue comment TRodziewicz 2021-04-12 23:28:23 +02:00
  • 8d2b7aaede Merge pull request #4337 from gilles-peskine-arm/changelog_linelength_enforcement-2.16 Gilles Peskine 2021-04-12 20:49:23 +02:00
  • 0961e3db49 Changelog added TRodziewicz 2021-04-12 17:19:43 +02:00
  • 08d6737368 Explain the problem in more concrete terms Gilles Peskine 2021-04-09 20:20:26 +02:00
  • 0ec5979461 Pythonify and fix reported line number Paul Elliott 2021-03-18 18:07:46 +00:00
  • 217565ef4e Improve error message Paul Elliott 2021-03-09 10:24:55 +00:00
  • 46bef5f929 Remove changelog entry Paul Elliott 2021-03-09 10:23:18 +00:00
  • c24a1e86da Make assemble changelog script enforce line length Paul Elliott 2021-03-05 12:22:51 +00:00
  • 9a86843470 fix error.c - second try TRodziewicz 2021-04-12 15:13:10 +02:00
  • 48f6d0d6e5 fix error.c - now it's autogenerated TRodziewicz 2021-04-12 14:49:55 +02:00
  • c75d9f589b Remove deprecated things from hashing modules TRodziewicz 2021-04-12 11:38:37 +02:00
  • 8f28c24b4a Explain the problem in more concrete terms Gilles Peskine 2021-04-09 20:20:26 +02:00
  • 6527cd382b Enforce dhm_min_bitlen exactly, not just the byte size Gilles Peskine 2020-12-08 22:46:11 +01:00
  • 3e7b61c42b More precise testing of dhm_min_len Gilles Peskine 2020-12-08 22:31:52 +01:00
  • 63a2b91269 Fix SSL tests scripts with recent OpenSSL server with Diffie-Hellman Gilles Peskine 2021-04-01 14:00:11 +02:00
  • fd4fab0b24 mbedtls_mpi_read_string("-0") no longer produces a "negative zero" Gilles Peskine 2021-04-09 17:11:34 +02:00
  • cd7d074ff9 mbedtls_mpi_read_string("-0") no longer produces a "negative zero" Gilles Peskine 2021-04-09 17:11:34 +02:00
  • 9c6356881f Remove MBEDTLS_SSL_DEFAULT_TICKET_LIFETIME Chris Jones 2021-04-09 16:10:48 +01:00
  • 9a1c092f8b Merge pull request #4297 from gilles-peskine-arm/ecp-add-fix-202104 Gilles Peskine 2021-04-09 16:46:06 +02:00
  • 2c8cfcf59f Fix an incorrect comment about fix_negative Gilles Peskine 2021-04-03 21:40:11 +02:00