Commit Graph

  • f3d1ae1f05 Create common.make with LOCAL_CFLAGS and friends Gilles Peskine 2023-12-22 11:40:58 +01:00
  • f5c5ce7789 Partly unify LOCAL_CFLAGS Gilles Peskine 2023-12-22 11:36:53 +01:00
  • 4ad5733836 Unify treatment of MBEDTLS_TEST_OBJS Gilles Peskine 2023-12-22 11:30:30 +01:00
  • afccc1a6d5 Indent nested conditionals Gilles Peskine 2023-12-22 09:35:34 +01:00
  • 69b290589b Merge pull request #8057 from mpg/cipher-study Manuel Pégourié-Gonnard 2023-12-22 08:53:30 +00:00
  • 49067d7d0e driver-only-builds: update documentation Valerio Setti 2023-12-21 17:07:10 +01:00
  • 5c7e94487e fix line length Dave Rodgman 2023-12-21 15:42:22 +00:00
  • a72a797ffd all.sh: keep PKCS[5/12] enabled in accel_cipher_aead tests Valerio Setti 2023-12-21 16:40:40 +01:00
  • 6d3a68162c check_config: remove CIPHER_C requirement for PKCS[5/12] Valerio Setti 2023-12-21 16:40:03 +01:00
  • a69e872001 pkcs[5/12]: add CIPHER_C for [en/de]crypting functions Valerio Setti 2023-12-21 16:37:29 +01:00
  • 3bc249959c Merge branch 'development' into default-compiler-all Dave Rodgman 2023-12-21 14:35:14 +00:00
  • 8c1e6bbcdc driver-only-builds: fix typos Valerio Setti 2023-12-21 15:02:48 +01:00
  • 0071830a4f Merge pull request #8386 from paul-elliott-arm/remove_ssl_null_tls12_2_28 Tom Cosgrove 2023-12-21 13:28:28 +00:00
  • c6088eceb4 Merge pull request #8384 from paul-elliott-arm/remove_ssl_null_tls12 Tom Cosgrove 2023-12-21 13:28:09 +00:00
  • 907cb020ef Merge pull request #8618 from Ryan-Everett-arm/new-state-transition-documentation Gilles Peskine 2023-12-21 12:09:58 +00:00
  • 4bf4473ef0 Merge pull request #8633 from Wenxing-hou/clear_clienthello_comment Gilles Peskine 2023-12-21 12:09:23 +00:00
  • 1631d1336b Merge pull request #8638 from bensze01/fix_supported_components_2.28 Gilles Peskine 2023-12-21 12:09:16 +00:00
  • 0e6fdc4f1d Merge pull request #8342 from yanesca/threading_test_pc Gilles Peskine 2023-12-21 12:08:41 +00:00
  • 65e3046e18 Fix code style in ssl_tls.c Waleed Elmelegy 2023-12-20 17:55:10 +00:00
  • 049cd302ed Refactor record size limit extension handling Waleed Elmelegy 2023-12-20 17:28:31 +00:00
  • 4b987b434d Merge pull request #1131 from davidhorstmann-arm/prototype-single-fn-copytesting-2.28 David Horstmann 2023-12-20 17:07:33 +00:00
  • 132eddd57d Merge pull request #1127 from davidhorstmann-arm/prototype-single-fn-copytesting David Horstmann 2023-12-20 17:07:29 +00:00
  • 3dd6cde0d8 Mention functional correctness explicitly Ryan Everett 2023-12-20 16:45:31 +00:00
  • 66134661cd driver-only-builds: add Restrictions section Valerio Setti 2023-12-20 17:06:13 +01:00
  • f5e135670b Clarify key generation and memory-management correctness Ryan Everett 2023-12-20 15:24:47 +00:00
  • 3ce3e7a193 Add new config option to generated files David Horstmann 2023-12-20 15:18:18 +00:00
  • d834896c8b changelog: enhancing descriptions Valerio Setti 2023-12-20 16:00:44 +01:00
  • af53132e44 driver-only-builds: enhancing section on removing CIPHER_C Valerio Setti 2023-12-20 15:56:09 +01:00
  • 5d05b47844 Only poison memory when buffer copying is enabled David Horstmann 2023-12-20 11:26:40 +00:00
  • dda52ae1c6 Add all.sh coponent to test with copying disabled David Horstmann 2023-12-20 11:10:16 +00:00
  • 823f9a9e18 Invert note about buffer overlap support David Horstmann 2023-12-20 10:57:43 +00:00
  • 4dc176a430 Add missing newline at end of file David Horstmann 2023-12-18 15:58:17 +00:00
  • cb229db971 Add extra MBEDTLS_PSA_CRYPTO_C guard for header David Horstmann 2023-12-18 15:30:46 +00:00
  • fcad4d5939 Remove accidental addition of MBEDTLS_TEST_HOOKS David Horstmann 2023-12-15 19:05:40 +00:00
  • ffcc769184 Improve guards around memory poisoning setup David Horstmann 2023-12-15 18:29:54 +00:00
  • b80e35a54a Tweak the behaviour of copy handling macros David Horstmann 2023-12-14 18:12:47 +00:00
  • 7cb734370a Add missing newline at end of file David Horstmann 2023-12-14 17:17:20 +00:00
  • 93b2dc7853 Add note about support for buffer overlap David Horstmann 2023-12-14 16:14:41 +00:00
  • 9c97fda0ab Move wrapper include to psa_crypto_helpers.h David Horstmann 2023-12-14 14:27:50 +00:00
  • f3c57149d1 Move test hook setup and teardown to helpers.c David Horstmann 2023-12-14 14:17:04 +00:00
  • 8c2d029661 Move test hook setup functions into a C file David Horstmann 2023-12-13 17:07:23 +00:00
  • 926193a93d Redesign local copy handling macros David Horstmann 2023-12-13 15:55:25 +00:00
  • 2b70a66118 Put local output status in scope David Horstmann 2023-12-13 14:09:08 +00:00
  • f96ae67a76 Remove spaces around token-pasting macro operator David Horstmann 2023-12-13 14:03:40 +00:00
  • e800aa8d34 Make return statuses unique in FREE_LOCAL_OUTPUT() David Horstmann 2023-12-11 15:45:20 +00:00
  • 1f53213830 Improve FREE_LOCAL_INPUT() and FREE_LOCAL_OUTPUT() David Horstmann 2023-12-08 14:08:18 +00:00
  • 0bfaee301a Add comment explaining the purpose of header David Horstmann 2023-12-08 12:09:04 +00:00
  • 114d82407c Add more information to comment on test hooks David Horstmann 2023-12-07 18:39:17 +00:00
  • 3e77e982d5 Add missing license header David Horstmann 2023-12-07 18:34:49 +00:00
  • 2b10b3713d Remove unnecessary include directory from CMake David Horstmann 2023-12-07 14:09:32 +00:00
  • c0a2c30252 Add MBEDTLS_PSA_COPY_CALLER_BUFFERS config option David Horstmann 2023-11-29 17:24:08 +00:00
  • 34980bd832 Use macros to manage buffer copies David Horstmann 2023-11-29 17:07:13 +00:00
  • f24151a333 Remove write check in driver wrappers tests David Horstmann 2023-11-30 17:55:15 +00:00
  • 63f82f7c0c Change to use test-hook-based approach David Horstmann 2023-11-28 15:21:56 +00:00
  • d2ad886258 Copy input and output in psa_cipher_encrypt() David Horstmann 2023-11-27 17:43:05 +00:00
  • 96f4d4c6f3 Create memory poisoning wrapper for cipher encrypt David Horstmann 2023-11-27 17:32:47 +00:00
  • 96a18f2168 Add explicit UNPOISON calls to memory tests David Horstmann 2023-11-24 18:26:47 +00:00
  • 0760b15d45 Add memory poisoning hooks David Horstmann 2023-11-24 16:21:04 +00:00
  • e369fcb23a Disable check_mbedtls_calloc overallocation under ASan David Horstmann 2023-12-20 14:43:18 +00:00
  • 35085c5e89 Merge pull request #7930 from tomi-font/7583-non-PSA_pk_sign_ext Manuel Pégourié-Gonnard 2023-12-20 14:30:08 +00:00
  • 3fab8a4deb driver-only-builds: fix typos Valerio Setti 2023-12-20 14:25:37 +01:00
  • 2de5abf284 Only poison memory when buffer copying is enabled David Horstmann 2023-12-20 11:26:40 +00:00
  • 0f06bde936 Add all.sh coponent to test with copying disabled David Horstmann 2023-12-20 11:10:16 +00:00
  • 851d8df58d fix/work around dependency issues when !MBEDTLS_ECP_C Tomi Fontanilles 2023-12-19 15:44:52 +02:00
  • e6a664ed65 changelog: fix missing newline at end of file Tomi Fontanilles 2023-12-18 11:40:44 +02:00
  • 9f41770313 pk_*: remove remaining references to MBEDTLS_PSA_CRYPTO_C Tomi Fontanilles 2023-12-16 15:28:51 +02:00
  • 5297e43eec non-psa-pk-implementation: rephrase the changelog entry Tomi Fontanilles 2023-12-14 22:12:07 +02:00
  • bad170e159 pk: remove last references to MBEDTLS_PSA_CRYPTO_C Tomi Fontanilles 2023-12-14 22:03:12 +02:00
  • 1941af087c pk_wrap: remove last references to MBEDTLS_PSA_CRYPTO_C Tomi Fontanilles 2023-12-14 21:48:52 +02:00
  • 9c69348c24 pk test suite: rename the parameter named parameter Tomi Fontanilles 2023-12-14 21:40:54 +02:00
  • 573dc23141 rsa: introduce rsa_internal_rsassa_pss_sign_no_mode_check() Tomi Fontanilles 2023-12-10 14:57:51 +02:00
  • 8174662b64 pk: implement non-PSA mbedtls_pk_sign_ext() Tomi Fontanilles 2023-07-16 13:06:06 +03:00
  • 80ca493284 gitignore: add clangd index files Tomi Fontanilles 2023-07-16 12:12:09 +03:00
  • a70b3c24f6 rsa: minor comment/guard improvements Tomi Fontanilles 2023-07-16 12:06:13 +03:00
  • 5eb8de12cb driver-only-build: remove paragraph about RSA/DH deterministic key generation Valerio Setti 2023-12-20 11:59:32 +01:00
  • c09f36dd1b Invert note about buffer overlap support David Horstmann 2023-12-20 10:57:43 +00:00
  • 9934f834af Merge pull request #7766 from gilles-peskine-arm/psa-transition-doc-create Manuel Pégourié-Gonnard 2023-12-20 10:28:31 +00:00
  • 5f665c3a0d analyze_outcomes: add exceptions to disparities for block_cipher dispatch Valerio Setti 2023-12-20 09:56:05 +01:00
  • 9afa329b80 analyze_outcomes: allow ignored test suites to have a dot in the name Valerio Setti 2023-12-20 09:55:28 +01:00
  • 45c84feacc test_suite_ccm: add missing BLOCK_CIPHER_PSA_[INIT/DONE]() Valerio Setti 2023-12-20 09:54:39 +01:00
  • 689c0f71cb tests: use new CCM/GCM capability macros in tests Valerio Setti 2023-12-20 09:53:39 +01:00
  • bfa675fe48 adjust_legacy_crypto: add macros for CCM/GCM capabilities with key types Valerio Setti 2023-12-20 09:52:08 +01:00
  • 299bbacd7d Merge pull request #8644 from gilles-peskine-arm/domain_parameters_document_size_hack Manuel Pégourié-Gonnard 2023-12-20 08:27:47 +00:00
  • a4b38f24fd Merge pull request #8579 from valeriosetti/issue7995 Manuel Pégourié-Gonnard 2023-12-20 08:20:10 +00:00
  • 50333977c6 cipher_wrap: fix guards for alloc/free functions of CCM/GCM Valerio Setti 2023-12-19 11:17:14 +01:00
  • 4a8ef7cd9b all.sh: disable legacy AES/ARIA/CAMELLIA in test_full_block_cipher_psa_dispatch Valerio Setti 2023-12-19 11:16:27 +01:00
  • c393222643 Work around clang 3.8 bug Dave Rodgman 2023-12-19 17:51:51 +00:00
  • a69c782351 Merge pull request #8634 from daverodgman/iar-fixes Dave Rodgman 2023-12-19 16:26:23 +00:00
  • fc5b9553b2 Don't use full path for setting CC Dave Rodgman 2023-12-19 16:08:19 +00:00
  • bc8e61d962 Use gcc in test_full_deprecated_warning Dave Rodgman 2023-12-19 14:07:15 +00:00
  • d47186d6e3 Disable automatic setting of clang target flags on old clang Dave Rodgman 2023-12-19 13:11:08 +00:00
  • d8d6451a6e Add -O2 to some CFLAGS which were not setting it Dave Rodgman 2023-12-19 12:20:21 +00:00
  • ea03ef9a77 Don't specify gcc unless the test requires it Dave Rodgman 2023-12-19 12:19:59 +00:00
  • dfe5ce81ee Use clang -O2 in common_block_cipher_no_decrypt Dave Rodgman 2023-12-19 11:47:18 +00:00
  • 590519f535 Enable -O2 in depends.py Dave Rodgman 2023-12-19 11:33:55 +00:00
  • 1a9e05bf08 Note that domain parameters are not supported with drivers Gilles Peskine 2023-12-19 12:23:22 +01:00
  • 5ad9539363 Remove DSA and DH domain parameters from the documentation Gilles Peskine 2023-12-19 12:22:46 +01:00
  • 9da01a7f53 all.sh: rename test_psa_crypto_config_accel_cipher to accel_des Valerio Setti 2023-12-18 17:38:18 +01:00
  • 70f05bedd6 changelog: add changelog for accelerated ciphers and AEADs Valerio Setti 2023-12-18 16:15:44 +01:00
  • 7f062a58fb pkwrite: add newlines when calling mbedtls_pem_write_buffer() Valerio Setti 2023-12-04 16:29:56 +01:00