Commit Graph

  • 4bb5740a7d Revert "pem: auto add newlines to header/footer in mbedtls_pem_write_buffer()" Valerio Setti 2023-12-04 16:11:59 +01:00
  • d0a594d444 Use gcc in test_psa_compliance Dave Rodgman 2023-12-18 22:29:56 +00:00
  • 932ce859d5 Ensure test_psa_compliance uses gcc Dave Rodgman 2023-12-18 19:55:40 +00:00
  • 9deb54900e Document the domain_parameters_size==SIZE_MAX hack Gilles Peskine 2023-12-18 21:01:18 +01:00
  • 0c5bfe816f Ensure clang is present Dave Rodgman 2023-12-18 19:53:25 +00:00
  • c6d2df8a67 Guard configuration-specific code Gilles Peskine 2023-12-18 20:38:38 +01:00
  • 66cbc83844 Use clang by default Dave Rodgman 2023-12-18 18:34:50 +00:00
  • 22dbaf05b6 Add AES_PSA_INIT() to thread test case Paul Elliott 2023-12-18 18:18:04 +00:00
  • 6d43e6d76a Add missing newline at end of file David Horstmann 2023-12-18 15:58:17 +00:00
  • 83ece2fe49 Add extra MBEDTLS_PSA_CRYPTO_C guard for header David Horstmann 2023-12-18 15:30:46 +00:00
  • 7e11dd6ec6 driver-only-builds: add section for accelerated ciphers/AEADs Valerio Setti 2023-12-18 15:52:44 +01:00
  • 445af3c25a Move test dependancies to function file Paul Elliott 2023-12-11 18:05:32 +00:00
  • e4b3f75298 Remove unnecessary check Paul Elliott 2023-12-11 17:57:16 +00:00
  • 79dc6dad81 Improve make pthread linking mechanism Paul Elliott 2023-12-11 17:52:03 +00:00
  • 40f0ec246e Remove requirement for SHA512 from ctr_drbg test Paul Elliott 2023-12-11 17:40:54 +00:00
  • 20a95bc09a Remove explicit linking of PThread in make Paul Elliott 2023-12-06 19:24:49 +00:00
  • 6587959a32 Add ability to pass make variables to psa_collect_statuses.py Paul Elliott 2023-12-07 20:08:10 +00:00
  • be978a8c4f Add option to pass make variables to depends.py Paul Elliott 2023-12-07 11:46:04 +00:00
  • 80fa88e2fa Remove warning with GCC 12 and TSan Paul Elliott 2023-11-24 17:12:24 +00:00
  • 356597f077 Make TSan test run operate on full config Paul Elliott 2023-12-01 18:09:41 +00:00
  • bb0e48f94f Make number of threads a test argument Paul Elliott 2023-12-01 18:05:19 +00:00
  • fed410f58e Increase entropy buffer sizes Paul Elliott 2023-11-30 20:40:55 +00:00
  • 811c600d88 Guard tests correctly Paul Elliott 2023-11-30 19:04:28 +00:00
  • 6a997c9994 Fix code style Paul Elliott 2023-11-30 14:47:17 +00:00
  • 2667eda785 Explicitly link tests with pthreads Paul Elliott 2023-11-29 15:53:00 +00:00
  • 8860021abc Fix false claim of variables used unitialised Paul Elliott 2023-11-23 14:24:30 +00:00
  • bbdfc8ad2c Add TsanDbg, standardise Tsan with other sanitisers Paul Elliott 2023-11-23 14:07:43 +00:00
  • bda25dd29c Add re-seeding option to test Paul Elliott 2023-11-21 17:07:40 +00:00
  • 20b2efa293 Fix missing include Paul Elliott 2023-11-21 14:46:51 +00:00
  • 178bf3ee8a Fix failing multi-threaded unit test Janos Follath 2023-10-04 19:08:23 +01:00
  • a16ee6b7d4 Add multi-threaded unit test Janos Follath 2023-10-04 19:05:26 +01:00
  • 9338cac050 Add tsan to all.sh Janos Follath 2023-10-04 18:55:39 +01:00
  • eb075c5de4 Add cmake build type for tsan Janos Follath 2023-10-04 18:38:14 +01:00
  • af616d9123 Merge remote-tracking branch 'origin/development' into iar-fixes Dave Rodgman 2023-12-18 13:38:22 +00:00
  • 8f1c36df00 Merge pull request #8607 from valeriosetti/issue8602 Manuel Pégourié-Gonnard 2023-12-18 11:30:04 +00:00
  • a085fa8ccf Merge pull request #8627 from tom-cosgrove-arm/ip_len Bence Szépkúti 2023-12-18 02:03:17 +00:00
  • b80ac7d73b Merge pull request #8628 from tom-cosgrove-arm/ip_len-2.28 Bence Szépkúti 2023-12-18 02:02:49 +00:00
  • cb89fbdc67 Set OpenSSL/GnuTLS variables in release components Bence Szépkúti 2023-12-15 20:58:15 +01:00
  • 44043ed127 Document release components in all.sh Bence Szépkúti 2023-12-15 17:05:15 +01:00
  • bbb5af9eae Set OpenSSL/GnuTLS variables in release components Bence Szépkúti 2023-12-15 20:58:15 +01:00
  • 2064c9b595 all.sh: Parse arguments before checking if a test is supported Bence Szépkúti 2023-12-15 19:20:31 +01:00
  • 71c71eb91c all.sh: Parse arguments before checking if a test is supported Bence Szépkúti 2023-12-15 19:20:31 +01:00
  • d20ffaf06f Remove accidental addition of MBEDTLS_TEST_HOOKS David Horstmann 2023-12-15 19:05:40 +00:00
  • 666845322c Improve guards around memory poisoning setup David Horstmann 2023-12-15 18:29:54 +00:00
  • 89dd5c0654 Document release components in all.sh Bence Szépkúti 2023-12-15 17:05:15 +01:00
  • 4ff405cf80 block_cipher: remove psa_key_type from mbedtls_block_cipher_context_t Valerio Setti 2023-12-15 16:10:52 +01:00
  • 543d275c68 Merge pull request #8635 from daverodgman/asan-opt Dave Rodgman 2023-12-15 13:25:02 +00:00
  • abd8977cc1 Make check_files ignore png files in docs Ryan Everett 2023-12-15 12:28:38 +00:00
  • c1c6e0d906 Justify linearization points Ryan Everett 2023-12-15 12:26:38 +00:00
  • d5635e95e2 Undo accidental change Dave Rodgman 2023-12-15 11:04:34 +00:00
  • a2cf240fff Add explanatory comment Dave Rodgman 2023-12-15 11:04:13 +00:00
  • cddab78612 Merge pull request #8630 from joerchan/mbedtls-tfm-compat Manuel Pégourié-Gonnard 2023-12-15 09:31:27 +00:00
  • c1f0f5b8af Fix a typo Dave Rodgman 2023-12-14 23:34:48 +00:00
  • b90f87b9a8 Use gcc for -m32 Asan builds Dave Rodgman 2023-12-14 23:27:33 +00:00
  • 815b240d72 Fix unused function/variable warnings from clang Dave Rodgman 2023-12-14 20:51:21 +00:00
  • 17127e9f39 Use clang as default compiler for Asan Dave Rodgman 2023-12-14 16:42:48 +00:00
  • 62a56d966d Tweak the behaviour of copy handling macros David Horstmann 2023-12-14 18:12:47 +00:00
  • 853f9f97eb Add missing newline at end of file David Horstmann 2023-12-14 17:17:20 +00:00
  • 52ab8fa565 analyze_outcomes/all.sh: add reference component and entry for coverage comparison Valerio Setti 2023-12-14 18:04:04 +01:00
  • efdb8261b9 all.sh: keep CIPHER_C enabled in test_full_block_cipher_psa_dispatch() Valerio Setti 2023-12-14 09:36:54 +01:00
  • bd7528a592 ccm/gcm: use BLOCK_CIPHER whenever possible Valerio Setti 2023-12-14 09:36:03 +01:00
  • 4a5d57d225 adjust_legacy_crypto: enable BLOCK_CIPHER also when a driver is available Valerio Setti 2023-12-14 09:34:15 +01:00
  • ac7df142e8 test_suite_block_cipher: fix unused variable when !MBEDTLS_BLOCK_CIPHER_SOME_PSA Valerio Setti 2023-12-13 17:40:21 +01:00
  • 2684e3f2e3 config_adjust_legacy_crypto: fix typo Valerio Setti 2023-12-13 16:53:02 +01:00
  • 785ec17795 block_cipher: use PSA_BITS_TO_BYTES() in mbedtls_block_cipher_setkey() Valerio Setti 2023-12-13 16:49:05 +01:00
  • 291571b447 block_cipher: add MBEDTLS_PRIVATE to new PSA fields in mbedtls_block_cipher_context_t Valerio Setti 2023-12-13 16:41:19 +01:00
  • c4831224d5 all.sh: keep PSA_WANT_ALG_[GCM/CCM] enabled in test_full_block_cipher_psa_dispatch() Valerio Setti 2023-12-13 16:35:33 +01:00
  • 849a1abfdd block_cipher: remove useless use of psa_cipher_operation_t Valerio Setti 2023-12-13 16:34:07 +01:00
  • 1cf81c3c80 test_suite_block_cipher: add new data file for PSA/legacy dispatch test Valerio Setti 2023-12-12 15:34:25 +01:00
  • 10e9aa26c5 tests: add PSA_INIT/PSA_DONE to CCM and GCM test suites Valerio Setti 2023-12-12 11:54:20 +01:00
  • f8e6cbacc0 all.sh: add new component for block_cipher dispatch to PSA Valerio Setti 2023-12-12 11:53:39 +01:00
  • 4bc7fac99a crypto_builtin_composites: add missing guards for includes Valerio Setti 2023-12-12 11:52:36 +01:00
  • c0f9bbca2c check_config: use new helpers for legacy GCM_C/CCM_C Valerio Setti 2023-12-12 11:49:28 +01:00
  • 8bba087fe1 adjust_legacy_crypto: add helpers for block ciphers capabilities Valerio Setti 2023-12-12 11:49:02 +01:00
  • c6f004f0e2 psa_crypto: add internal helper to signal that cipher driver is ready Valerio Setti 2023-12-12 11:27:36 +01:00
  • 8ceaa75b73 psa_util: add error translations from PSA to cipher Valerio Setti 2023-12-12 11:20:18 +01:00
  • c1db99d3f5 block_cipher: add PSA dispatch if possible Valerio Setti 2023-12-12 11:19:17 +01:00
  • 852de3c3f5 Build with -O2, but without assembly Dave Rodgman 2023-12-14 14:46:45 +00:00
  • 26e3698357 Revert back checking on handshake messages length Waleed Elmelegy 2023-12-14 16:14:05 +00:00
  • 05d670b711 Revert "Skip checking on maximum fragment length during handshake" Waleed Elmelegy 2023-12-14 16:00:57 +00:00
  • 0d405d8bb9 Add note about support for buffer overlap David Horstmann 2023-12-14 16:14:41 +00:00
  • 7de0928fd1 Move wrapper include to psa_crypto_helpers.h David Horstmann 2023-12-14 14:27:50 +00:00
  • b489257a0b Move test hook setup and teardown to helpers.c David Horstmann 2023-12-14 14:17:04 +00:00
  • a7cde5d296 Move test hook setup functions into a C file David Horstmann 2023-12-13 17:07:23 +00:00
  • 36df4b24d4 Redesign local copy handling macros David Horstmann 2023-12-13 15:55:25 +00:00
  • 9ede76cd1d changelog: add changelog for move of mbedtls_ecc psa helper functions Joakim Andersson 2023-12-14 14:17:31 +01:00
  • 6ecb9ce5fc Link directly to the state transition diagram Ryan Everett 2023-12-14 14:54:24 +00:00
  • acfd774bca Add some clarifications in thread_safety.md Ryan Everett 2023-12-14 14:48:43 +00:00
  • 3eb4274a57 Fix transitions in diagram Ryan Everett 2023-12-14 14:47:03 +00:00
  • a19c75381c Remove redundant use of -O2 with ASAN_FLAGS Dave Rodgman 2023-12-14 14:42:42 +00:00
  • 3b9de38208 Make clienthello comment clear Wenxing Hou 2023-12-14 16:22:01 +08:00
  • b461b8731c Change how the state transition diagram is stored Ryan Everett 2023-12-14 14:40:36 +00:00
  • b349108b99 library: Move mbedtls_ecc helper functions to psa_util Joakim Andersson 2023-12-11 21:29:19 +01:00
  • 69928dbe86 Fix compile warning from IAR Dave Rodgman 2023-12-14 12:09:18 +00:00
  • 650674bb41 Add MBEDTLS_BSWAPxx intrinsics for IAR Dave Rodgman 2023-12-05 12:16:48 +00:00
  • f3c04f3f47 Better definition of MBEDTLS_IS_BIG_ENDIAN for IAR Dave Rodgman 2023-12-05 12:06:11 +00:00
  • 4dde0b293c md-cipher-dispatch: editorial improvements Manuel Pégourié-Gonnard 2023-12-14 12:09:38 +01:00
  • 1f67363d6a Merge pull request #8616 from lpy4105/issue/8553/test-driver-only-rsa Manuel Pégourié-Gonnard 2023-12-14 11:05:55 +00:00
  • 001fb73131 Merge pull request #8612 from valeriosetti/issue8601 Manuel Pégourié-Gonnard 2023-12-13 14:55:34 +00:00
  • 5a945f584e Put local output status in scope David Horstmann 2023-12-13 14:09:08 +00:00