Commit Graph

  • 28547c49ed update tests Jerry Yu 2023-10-31 14:42:50 +08:00
  • ec6d07870d Replace start with ticket_creation Jerry Yu 2023-10-31 14:42:20 +08:00
  • 702fc590ed Add ticket_creation field Jerry Yu 2023-10-31 14:22:04 +08:00
  • f16efbc78d fix various issues Jerry Yu 2023-10-30 11:06:24 +08:00
  • 03511b00aa Replace c99 fmt macro Jerry Yu 2023-02-27 10:48:41 +08:00
  • fe38e948b8 Add changelog entry for anti_replay_fail Jerry Yu 2022-12-15 11:16:15 +08:00
  • cebffc3446 change time unit of ticket to milliseconds Jerry Yu 2022-12-15 18:00:05 +08:00
  • 8b1a124126 Merge pull request #8438 from yuhaoth/pr/disable-stdout-for-config-query-call Gilles Peskine 2023-11-20 18:27:03 +00:00
  • 89875a4f20 Rename "output_copy" -> "local_output" David Horstmann 2023-11-20 12:54:09 +00:00
  • f1734054fa Rename "input_copy" -> "local_input" David Horstmann 2023-11-20 17:15:32 +00:00
  • b86873e6eb Merge remote-tracking branch 'development' into development-restricted Gilles Peskine 2023-11-20 18:43:21 +01:00
  • d0eebc1f94 ccm/gcm: improve code maintainability Valerio Setti 2023-11-20 15:17:53 +01:00
  • feb98ccada Merge pull request #8497 from ronald-cron-arm/remove-cocci-files-2.28 Gilles Peskine 2023-11-20 14:07:36 +00:00
  • 181844fa1f Merge pull request #8491 from mschulz-at-hilscher/mbedtls-2.28 Gilles Peskine 2023-11-20 14:07:31 +00:00
  • 885bcfc9d0 Merge pull request #7649 from yuhaoth/pr/add-command-for-server9-bad-saltlen Gilles Peskine 2023-11-20 14:07:19 +00:00
  • 473ff34d59 Merge pull request #8489 from valeriosetti/issue8482 Gilles Peskine 2023-11-20 14:07:14 +00:00
  • 6267dd59c8 Merge pull request #8463 from gilles-peskine-arm/metatest-create Gilles Peskine 2023-11-20 14:07:08 +00:00
  • 2f307b4216 De-abbreviate "len" -> "length" David Horstmann 2023-11-20 12:54:09 +00:00
  • 671f5f539e Change psa_crypto_copy_output error code David Horstmann 2023-11-20 12:39:38 +00:00
  • 9abf535078 Add initializers for input / output copies David Horstmann 2023-11-20 12:16:08 +00:00
  • 167ecbaa90 Fix indentation causing code style failure Ryan Everett 2023-11-20 12:16:18 +00:00
  • 04a8d02f31 Merge pull request #8543 from gilles-peskine-arm/metatest-create-2.28 Dave Rodgman 2023-11-20 10:16:39 +00:00
  • a4e7953f59 Merge pull request #8527 from lpy4105/issue/6324/driver-only-cipher+aead-tls-compat Manuel Pégourié-Gonnard 2023-11-20 09:37:06 +00:00
  • 97137f91b6 Merge pull request #7071 from yuhaoth/pr/tls13-ticket-add-max_early_data_size-field Ronald Cron 2023-11-20 08:04:57 +00:00
  • 5c7ab6fe86 [cipher.h] Arithmetic overflow in binary left shift operation (MBEDTLS_KEY_BITLEN_SHIFT) BrianX7c 2023-11-18 11:07:37 +01:00
  • dd426da7b8 added changelog Valerio Setti 2023-11-16 08:53:48 +01:00
  • 365df3f16c Remove unnecessary checks for NULL-ness of copies David Horstmann 2023-11-16 20:30:36 +00:00
  • 58909704e3 Check for len == 0 rather than buffer == NULL David Horstmann 2023-11-16 20:26:16 +00:00
  • bab3e76da5 Fix code style in psa_crypto_core.h David Horstmann 2023-11-16 20:21:19 +00:00
  • 0fca150b81 Compare buffers even for zero-length cases David Horstmann 2023-11-16 20:12:17 +00:00
  • 23f1122838 Use TEST_CALLOC_NONNULL David Horstmann 2023-11-16 20:01:32 +00:00
  • b4e3f36918 Change data pattern to simpler one David Horstmann 2023-11-16 19:57:25 +00:00
  • dd2a09a22b Introduce demo script for PSA hash program Thomas Daubney 2023-11-15 18:18:03 +00:00
  • 13ecb691a3 Introduce function to return library/core directory Thomas Daubney 2023-11-16 18:34:58 +00:00
  • 68a85e24fc Fix secure element key error handling Ryan Everett 2023-11-16 16:44:13 +00:00
  • 70595f7983 Explicitly indicating when private fields are accessed in benchmark.c. Matthias Schulz 2023-11-16 17:43:58 +01:00
  • 3b9240bbd0 Alternative Timing compatible benchmark.c Matthias Schulz 2023-11-16 17:39:43 +01:00
  • 460f457ecb Rewrite changelog Ryan Everett 2023-11-16 15:21:08 +00:00
  • 9e25936241 Rename mutex->is_valid to mutex->state Paul Elliott 2023-11-15 11:33:32 +00:00
  • 3774637518 Make threading helpers tests thread safe Paul Elliott 2023-11-12 19:05:57 +00:00
  • 5fa986c8cb Move handling of mutex->is_valid into threading_helpers.c Paul Elliott 2023-11-10 14:05:09 +00:00
  • e00255c41c Improve explanations of what bad thing a metatest does Gilles Peskine 2023-11-16 15:11:44 +01:00
  • 96c87c4e7b Uniformly use MBEDTLS_THREADING_C guards Gilles Peskine 2023-11-16 15:09:48 +01:00
  • d4084fd899 Readability improvement Gilles Peskine 2023-11-15 16:56:26 +01:00
  • c41133b90d Add documentation Gilles Peskine 2023-11-10 15:36:15 +01:00
  • efc57cabd0 Uninitialized read: make the pointer non-volatile rather than the buffer Gilles Peskine 2023-11-10 11:35:36 +01:00
  • 226f1bc080 More consistent usage of volatile Gilles Peskine 2023-11-10 10:09:27 +01:00
  • 53833516bf Strengthen against possible compiler optimizations Gilles Peskine 2023-11-09 21:46:24 +01:00
  • 2c04f57ffc programs/test/metatest indirectly includes library/common.h Gilles Peskine 2023-11-03 19:16:56 +01:00
  • 510c01c6ad Add missing program to .gitignore Gilles Peskine 2023-11-03 18:57:06 +01:00
  • e38eb79e89 Add metatests for mutex usage Gilles Peskine 2023-11-03 18:05:38 +01:00
  • db2b5c94a6 Don't use %llx in printf Gilles Peskine 2023-11-03 10:58:57 +01:00
  • 6b3b7f832b Fix cast from pointer to integer of different size Gilles Peskine 2023-11-03 10:31:56 +01:00
  • 64c6c80e28 Don't cast a function pointer to a data pointer Gilles Peskine 2023-11-02 22:32:50 +01:00
  • 6289ccc006 Use casts when doing nonstandard pointer conversions Gilles Peskine 2023-11-02 21:31:07 +01:00
  • ee8af06887 Run metatests in selected components Gilles Peskine 2023-11-02 19:58:03 +01:00
  • 967714d8e7 Strengthen against Clang optimizations Gilles Peskine 2023-11-02 19:52:32 +01:00
  • 970584f32f Metatests for basic Asan and Msan features Gilles Peskine 2023-11-02 19:42:13 +01:00
  • 6effdff76b Script to run all the metatests (with platform filtering) Gilles Peskine 2023-11-02 19:23:41 +01:00
  • 21d8d59ce2 Metatests for null pointer dereference Gilles Peskine 2023-11-02 19:23:26 +01:00
  • 30380dacdb Validate that test_fail causes a test failure Gilles Peskine 2023-11-02 18:49:52 +01:00
  • c33940da51 Add a metatest program Gilles Peskine 2023-11-02 18:48:39 +01:00
  • aa7dffa24a Add benchmark for RSA 3072. Matthias Schulz 2023-11-16 15:31:32 +01:00
  • 2f40cc05f0 Improve explanations of what bad thing a metatest does Gilles Peskine 2023-11-16 15:11:44 +01:00
  • ad2a17eb60 Uniformly use MBEDTLS_THREADING_C guards Gilles Peskine 2023-11-16 15:09:48 +01:00
  • 975d411d92 Only set slot to OCCUPIED on successful key loading Ryan Everett 2023-11-16 13:37:51 +00:00
  • 9b7a8b2a0c ccm/gcm: reaplace CIPHER_C functions with BLOCK_CIPHER_C ones Valerio Setti 2023-11-16 08:24:51 +01:00
  • 19e4dc8df7 tls: fix unused parameter in mbedtls_ssl_cipher_to_psa Yanray Wang 2023-11-16 18:02:05 +08:00
  • 8db46e4ee1 check_config: remove dependency check of CCM_C/GCM_C on CIPHER_C Valerio Setti 2023-11-16 08:22:04 +01:00
  • dbfd6a9f62 adjust_legacy_crypto: auto-enable BLOCK_CIPHER_C when CIPHER_C is not defined Valerio Setti 2023-11-16 08:21:14 +01:00
  • 7afd9a4663 Change the test messages Pengyu Lv 2023-11-16 17:55:25 +08:00
  • 4ed8691f6d ssl: move MBEDTLS_SSL_HAVE_XXX to config_adjust_legacy_crypto.h Yanray Wang 2023-11-16 15:20:56 +08:00
  • 59de2ae6de all.sh: re-enable CCM/GCM in test_full_no_cipher() Valerio Setti 2023-11-16 08:20:27 +01:00
  • 1a369d68aa ssl_tls: add missing guard for mbedtls_ssl_cipher_to_psa Yanray Wang 2023-11-16 15:17:31 +08:00
  • c5d4c46983 Add missing PSA init Pengyu Lv 2023-11-15 14:20:07 +08:00
  • c5cc1c3a92 Remove redundant NULL check David Horstmann 2023-11-15 18:11:26 +00:00
  • 777e74130f Skip call to memcpy if buffer length is zero David Horstmann 2023-11-15 17:33:47 +00:00
  • 1b7279a849 Make copy functions static-testable David Horstmann 2023-11-15 15:18:30 +00:00
  • 5556f908cb Rename variables in script Thomas Daubney 2023-11-15 16:43:02 +00:00
  • ca159a1102 Add changelog Ryan Everett 2023-11-15 16:36:54 +00:00
  • ac5b32b894 Fix error handling for secure element keys in psa_start_key_creation Ryan Everett 2023-11-15 16:26:01 +00:00
  • c335a4e186 Fix unintentional direct use of memcpy() David Horstmann 2023-11-15 15:57:32 +00:00
  • e7fc8a232f Readability improvement Gilles Peskine 2023-11-15 16:56:26 +01:00
  • dc848955d6 Merge pull request #8519 from mpg/block-cipher Manuel Pégourié-Gonnard 2023-11-15 11:53:22 +00:00
  • 4ebccc0396 Update PSA init for md-ligt Gilles Peskine 2023-11-15 11:04:30 +01:00
  • 799befd58e Update to TEST_EQUAL macros for easier debuggability Gilles Peskine 2023-11-15 11:04:08 +01:00
  • f561ed8b3a all.sh: enable compat.sh testing in psa_crypto_config_[accel/reference]_cipher_aead Pengyu Lv 2023-11-14 17:33:32 +08:00
  • 9e80a91f27 Merge pull request #8164 from yanrayw/adjust_tfm_configs Manuel Pégourié-Gonnard 2023-11-15 08:21:27 +00:00
  • 776981ba42 psa_exercise_key: add missing #else for KNOWN_SUPPORTED_BLOCK_CIPHER Valerio Setti 2023-11-09 11:32:47 +01:00
  • 5e378d70e6 ssl_misc: remove DES from the list of key types supporting CBC Valerio Setti 2023-11-09 11:28:28 +01:00
  • 4809057ddf changelog: use better wording and modify changelog section Valerio Setti 2023-11-09 11:25:57 +01:00
  • a50b89ebab all.sh: disable CCM_STAR_NO_TAG in test_psa_crypto_config_accel_aead() Valerio Setti 2023-11-08 15:58:47 +01:00
  • 951faf6e7b ChangeLog: add change log for CCM/CCM* coupling removal Valerio Setti 2023-11-08 12:59:12 +01:00
  • a4b60593c1 psa_exercise_key: replace legacy symbols with PSA_WANT ones Valerio Setti 2023-11-08 12:36:02 +01:00
  • ff2b06a235 all.sh: improve components for without CCM/CCM* Valerio Setti 2023-11-08 12:35:36 +01:00
  • a56eb46ce6 adjust_legacy_from_psa: fix comment Valerio Setti 2023-11-08 11:30:15 +01:00
  • a765eaa33e test_driver_extension: fix acceleration support for CCM and CCM* Valerio Setti 2023-11-08 11:09:42 +01:00
  • 51d5b196a1 all.sh: accelerate also CCM* in test_psa_crypto_config_accel_cipher_aead Valerio Setti 2023-11-08 10:56:54 +01:00
  • bdfecb6a83 all.sh: add test components for no-CCM and no-CCM* Valerio Setti 2023-11-07 15:37:20 +01:00
  • c2d68f5611 adjust_legacy_from_psa: treat CCM and CCM* separately Valerio Setti 2023-11-07 10:36:55 +01:00