Commit Graph

  • 1c9137d8d1 Merge pull request #5034 from gilles-peskine-arm/all.sh-makeflags-nproc-2.16 Gilles Peskine 2021-10-06 19:35:19 +02:00
  • bf3ec84b1c Merge pull request #5003 from gilles-peskine-arm/all.sh-makeflags-nproc Gilles Peskine 2021-10-06 19:35:12 +02:00
  • 0bf8f98743 Add contact information directly on the home page Gilles Peskine 2021-09-30 14:10:06 +02:00
  • 289c66c5e1 Add contact information directly on the home page Gilles Peskine 2021-09-30 14:10:06 +02:00
  • bbce37755a Limit make parallelism to the number of CPUs Gilles Peskine 2021-09-30 18:24:21 +02:00
  • 85229acf04 Limit make parallelism to the number of CPUs Gilles Peskine 2021-09-30 18:24:21 +02:00
  • 575f23c3d5 add client/server opaque test Przemyslaw Stekiel 2021-10-06 11:31:49 +02:00
  • b9b817e977 Fix PSA_ALG_RSA_PSS verification accepting an arbitrary salt length Gilles Peskine 2021-10-04 22:15:05 +02:00
  • 25794d8946 Test PSS verification with different salt lengths Gilles Peskine 2021-10-04 20:17:55 +02:00
  • 033b178dce Test that a PSS policy doesn't allow PSS_ANY_SALT and vice versa Gilles Peskine 2021-10-04 18:41:27 +02:00
  • f5322b3223 Shorten some test descriptions Gilles Peskine 2021-10-04 18:39:58 +02:00
  • 44c96aa046 Support PSA_ALG_RSA_PSS_ANY_SALT iff PSA_ALG_RSA_PSS is supported Gilles Peskine 2021-10-04 18:33:56 +02:00
  • 454f31c9b9 Add test cases for PSA_ALG_RSA_PSS_ANY_SALT Gilles Peskine 2021-10-04 18:30:27 +02:00
  • a4337d7b15 Update metadata tests with the new IS_ALG_RSA_PSS_xxx_SALT predicates Gilles Peskine 2021-10-04 18:14:59 +02:00
  • acd2d0e923 New algorithm PSA_ALG_RSA_PSS_ANY_SALT Gilles Peskine 2021-10-04 18:10:38 +02:00
  • 8135cb9e07 Break out algorithm_tester() as a separate method Gilles Peskine 2021-10-04 18:10:16 +02:00
  • ff0aee0e7b Build with -O2 when running ssl-opt Gilles Peskine 2021-10-05 09:36:03 +02:00
  • c48f43b44d Fix PSA AEAD GCM's update output buffer length verification. Mateusz Starzyk 2021-10-04 13:46:38 +02:00
  • f28261fc14 Remove output buffer limitation for PSA with GCM. Mateusz Starzyk 2021-09-30 16:39:07 +02:00
  • 0483e3d652 Add key_opaque option to ssl_server2.c + test Przemyslaw Stekiel 2021-10-04 11:13:22 +02:00
  • c72255fa37 Fix the build without MBEDTLS_PLATFORM_C Gilles Peskine 2021-10-01 18:08:41 +02:00
  • a4e060b87b Merge pull request #5000 from mprse/mbedtls_cipher_setup_psa_ECB_2x Gilles Peskine 2021-10-01 14:49:25 +02:00
  • 023aa11760 Merge pull request #4996 from mprse/mbedtls_cipher_setup_psa_ECB Gilles Peskine 2021-10-01 14:49:10 +02:00
  • eab65acca4 bugfix: if the len of iv is not 96-bit, y0 can be calculated incorrectly. An initialization vector IV can have any number of bits between 1 and 2^64. So it should be filled to the lower 64-bit in the last step when computing ghash. openluopworld 2021-09-22 23:59:42 +08:00
  • eb009232c0 Update library/gcm.c LuoPeng 2021-09-22 23:51:19 +08:00
  • 2aefc9ef2e Fix typo in comment Gilles Peskine 2021-09-30 20:34:29 +02:00
  • c79e4abaef Fix typo in comment Gilles Peskine 2021-09-30 20:34:29 +02:00
  • 8ad54fa0b4 Update files generated from config.h Gilles Peskine 2021-09-30 19:22:48 +02:00
  • c2779328bf Make MBEDTLS_IGNORE_RETURN configurable Gilles Peskine 2021-09-30 18:56:17 +02:00
  • 327cb72e76 Cleaner implementation of MBEDTLS_IGNORE_RETURN Gilles Peskine 2021-09-30 18:54:51 +02:00
  • 9110809c46 Fix mistake in the sample implementation of MBEDTLS_CHECK_RETURN Gilles Peskine 2021-09-30 18:53:36 +02:00
  • fcc93d797b Make MBEDTLS_IGNORE_RETURN configurable Gilles Peskine 2021-09-30 18:56:17 +02:00
  • 252b758dd6 Cleaner implementation of MBEDTLS_IGNORE_RETURN Gilles Peskine 2021-09-30 18:54:51 +02:00
  • cd79dfc4bb Fix mistake in the sample implementation of MBEDTLS_CHECK_RETURN Gilles Peskine 2021-09-30 18:53:36 +02:00
  • 050d2fc201 Limit make parallelism to the number of CPUs Gilles Peskine 2021-09-30 18:24:21 +02:00
  • ccfc2bff6f Merge pull request #4958 from gilles-peskine-arm/make-tests-v-2.16 Gilles Peskine 2021-09-30 16:09:01 +02:00
  • f315d6a718 Merge pull request #4957 from gilles-peskine-arm/make-tests-v-2.2x Gilles Peskine 2021-09-30 16:08:56 +02:00
  • 6b34ac7655 Merge pull request #4955 from gilles-peskine-arm/make-tests-v-development Gilles Peskine 2021-09-30 16:08:53 +02:00
  • 6c0ec0eb52 Adapt return status to 2.x Przemyslaw Stekiel 2021-09-30 15:51:05 +02:00
  • d8ca055073 Merge pull request #4977 from xkqian/generic_fetch_handshake_msg Ronald Cron 2021-09-30 15:30:00 +02:00
  • b6b15b26e9 Add contact information directly on the home page Gilles Peskine 2021-09-30 14:10:06 +02:00
  • 73142dfb98 Add change-log: fix-mbedtls_cipher_crypt-aes-ecb.txt Przemyslaw Stekiel 2021-09-30 12:11:16 +02:00
  • 7ab374f6b5 Add change-log: fix-mbedtls_cipher_crypt-aes-ecb.txt Przemyslaw Stekiel 2021-09-30 12:11:16 +02:00
  • 39f4e75120 Address review comments Przemyslaw Stekiel 2021-09-29 19:43:40 +02:00
  • f0fa86eee5 Add PSA support for MBEDTLS_CIPHER_AES_128_ECB Przemyslaw Stekiel 2021-09-29 12:13:11 +02:00
  • 6c866689e3 test_suite_cipher: add tests for mbedtls_cipher_setup_psa() with ECB Przemyslaw Stekiel 2021-09-29 12:10:32 +02:00
  • 05420b120b TLS1.3: Add useful comments based on RFC8446 XiaokangQian 2021-09-29 08:46:37 +00:00
  • 16c61aa738 TLS1.3: Alignment coding styles based on comments XiaokangQian 2021-09-27 09:30:17 +00:00
  • 6b226b0874 Add fetch_hand_message in generic XiaokangQian 2021-09-24 07:51:16 +00:00
  • a72fe641cc Do not zeroize the ssl context if a key exporting function is set Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com> Andrzej Kurek 2021-09-29 15:57:30 -04:00
  • cd51e76583 Merge pull request #4338 from paul-elliott-arm/psa-m-aead Ronald Cron 2021-09-29 22:48:33 +02:00
  • 8489f64f37 Merge pull request #4991 from gilles-peskine-arm/psa-aead-invalid_nonce_length-2.x Ronald Cron 2021-09-29 22:47:03 +02:00
  • 5c4ca32f93 Silence warnings about unused return value Mateusz Starzyk 2021-08-05 13:56:48 +02:00
  • 15a7420d3c Silence warnings about unused return value Mateusz Starzyk 2021-08-05 13:56:48 +02:00
  • 8472a10594 New configuration option MBEDTLS_CHECK_RETURN_WARNING Gilles Peskine 2021-09-23 18:07:36 +02:00
  • e568ebade1 Use reserved identifier for warn_unused_result Gilles Peskine 2021-09-23 17:46:12 +02:00
  • 6b5c0f0e44 Better default for MBEDTLS_CHECK_RETURN in config.h Gilles Peskine 2021-09-23 17:43:46 +02:00
  • ce555e4fad Change DES and AES functions to MBEDTLS_CHECK_RETURN_TYPICAL Gilles Peskine 2021-09-23 17:35:37 +02:00
  • ee0a4435f7 Define indirection macros MBEDTLS_CHECK_RETURN_xxx Gilles Peskine 2021-09-23 17:28:59 +02:00
  • 1ef29fcf47 Add MBEDTLS_CHECK_RETURN description to config.h Mateusz Starzyk 2021-08-06 13:56:54 +02:00
  • 377a310da4 Catch failures of AES or DES operations Gilles Peskine 2021-07-07 21:08:28 +02:00
  • 86de1b76d8 Address review comments Przemyslaw Stekiel 2021-09-29 19:43:40 +02:00
  • 8739f0fb8d Fix incorrect nonce length on oneshot test Paul Elliott 2021-09-29 16:16:47 +01:00
  • 1b8a294d7e Test invalid nonce length for one-shot AEAD decryption Gilles Peskine 2021-09-28 21:26:12 +02:00
  • 324f72ec9c Fix a bug where the ssl context is used after it's nullified When not using DEBUG_C, but using the DTLS CID feature - a null pointer was accessed in ssl_tls.c. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com> Andrzej Kurek 2021-09-29 04:21:21 -04:00
  • 5902cd64e2 Remove MBEDTLS_SSL_EXPORT_KEYS, making it always on This option only gated an ability to set a callback, but was deemed unnecessary as it was yet another define to remember when writing tests, or test configurations. Fixes #4653. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com> Andrzej Kurek 2021-09-28 10:00:32 -04:00
  • ffc2a80b36 Merge pull request #4983 from mstarzyk-mobica/backport_hash_message_psa_flags Gilles Peskine 2021-09-29 16:07:32 +02:00
  • f313336c01 Remove barely-used redirect functions Gilles Peskine 2021-07-08 19:03:50 +02:00
  • 7c220d7d37 Keep going after a shell "[" a.k.a. "test" fails Gilles Peskine 2020-04-20 13:21:27 +02:00
  • 1d55995d32 Remove code that is useless now that components run in a subshell Gilles Peskine 2020-03-28 22:02:50 +01:00
  • e8056c5e31 Complain if an unsupported component is explicitly requested Gilles Peskine 2020-03-28 21:37:59 +01:00
  • 39a3b11006 Better not function Gilles Peskine 2020-03-28 21:27:40 +01:00
  • 4848d7bb45 Fix double reporting when the last command of a function fails Gilles Peskine 2020-03-28 19:34:23 +01:00
  • f6d29c6a9e Stop dispatching through obsolete functions Gilles Peskine 2021-07-08 18:41:16 +02:00
  • 0a7984f1dd component_test_cmake_out_of_source: simplify and fix error handling Gilles Peskine 2020-03-28 18:56:09 +01:00
  • 8ab2994eb5 Detect errors on the left-hand side of a pipeline Gilles Peskine 2020-03-28 18:50:49 +01:00
  • 7105a33906 Run each component in a subshell and handle errors more robustly Gilles Peskine 2020-03-28 18:50:43 +01:00
  • a5eb22d434 Add --error-test option to test error detection and reporting Gilles Peskine 2020-03-28 21:09:21 +01:00
  • 3de7be8b88 Switch all.sh to bash Gilles Peskine 2020-03-27 16:35:23 +01:00
  • cc12395c7b Test invalid nonce length for multipart AEAD with short tag Gilles Peskine 2021-09-28 21:26:35 +02:00
  • 96b332ccac Test invalid nonce length for one-shot AEAD decryption Gilles Peskine 2021-09-28 21:26:12 +02:00
  • 4ef7bd8595 Simplify PSA_ALG_AEAD_WITH_SHORTENED_TAG with full-length tag Gilles Peskine 2021-09-28 21:23:57 +02:00
  • 60116aee9e Invert logic on nonce length tests Paul Elliott 2021-09-29 14:19:11 +01:00
  • 355f59edbe Fix formatting issues Paul Elliott 2021-09-29 14:16:19 +01:00
  • e716e6c00b Switch cipher enabled macros Paul Elliott 2021-09-29 14:10:20 +01:00
  • 27bb62bc81 Merge pull request #4985 from gilles-peskine-arm/check-names-rewrite-2.2x Gilles Peskine 2021-09-29 12:43:09 +02:00
  • 80c6a8e1a6 Add PSA support for MBEDTLS_CIPHER_AES_128_ECB Przemyslaw Stekiel 2021-09-29 12:13:11 +02:00
  • 8c4eb88fe3 test_suite_cipher: add tests for mbedtls_cipher_setup_psa() with ECB Przemyslaw Stekiel 2021-09-29 12:10:32 +02:00
  • bfe3d87f24 Merge pull request #4842 from gilles-peskine-arm/public_fields-3.0-info Gilles Peskine 2021-09-29 12:37:09 +02:00
  • d96a5c2d86 Fix wrong usage of counter len macro Jerry Yu 2021-09-29 17:46:51 +08:00
  • 5b3a32d883 Fix missing includes gabor-mezei-arm 2021-09-29 10:50:31 +02:00
  • 1869377146 Merge pull request #4942 from yuhaoth/pr/add-tls13-client-dummy-state-handlers Manuel Pégourié-Gonnard 2021-09-29 10:45:16 +02:00
  • 0729885c2b Merge pull request #4963 from ronald-cron-arm/tls13-mvp Manuel Pégourié-Gonnard 2021-09-29 10:32:49 +02:00
  • baff51c8b7 Make sure nonce length checks use base algorithm Paul Elliott 2021-09-28 17:44:45 +01:00
  • 6565ea0739 Add changelog entry gabor-mezei-arm 2021-08-25 20:39:07 +02:00
  • 90d96cc741 Add documentation for the functions gabor-mezei-arm 2021-08-11 16:40:35 +02:00
  • b11a56e34c Unify equality checker functions return value gabor-mezei-arm 2021-08-11 17:28:49 +02:00
  • 9cb55698aa Propagate usage of mask generation functions gabor-mezei-arm 2021-08-11 15:07:02 +02:00
  • 396438c57b Unify mask generation functions gabor-mezei-arm 2021-08-10 20:56:21 +02:00
  • 87ac5bef97 Unify function parameters gabor-mezei-arm 2021-08-10 20:36:09 +02:00