Commit Graph

  • e525bc830f Changelog entry for DRBG mutex usage fix Gilles Peskine 2021-02-09 18:50:03 +01:00
  • 94bf03330b Document thread safety for HMAC_DRBG Gilles Peskine 2021-02-09 18:45:10 +01:00
  • 3ec7f57482 Document mutex invariant for HMAC_DRBG Gilles Peskine 2021-02-09 18:43:33 +01:00
  • a9857af16a Fix mutex leak in HMAC_DRBG Gilles Peskine 2021-01-31 00:06:51 +01:00
  • 275598d3fa Document thread safety for CTR_DRBG Gilles Peskine 2021-02-09 18:44:18 +01:00
  • 6e2cf25639 Document mutex invariant for CTR_DRBG Gilles Peskine 2021-02-09 18:44:02 +01:00
  • 085b69f8fd Fix mutex leak in CTR_DRBG Gilles Peskine 2021-01-30 13:05:32 +01:00
  • 5710732145 Explain the usage of is_valid in pthread mutexes Gilles Peskine 2021-02-09 15:35:29 +01:00
  • df8db9ace2 Count and report non-freed mutexes Gilles Peskine 2021-01-29 22:20:32 +01:00
  • 0abb8e4bd8 Detect and report mutex usage errors Gilles Peskine 2021-01-29 21:18:09 +01:00
  • 44498ff9eb Mutex usage testing: set up wrapper functions Gilles Peskine 2021-01-29 21:17:11 +01:00
  • e137ebce7f Fix off-by-one error in #line directives Gilles Peskine 2021-01-29 21:12:52 +01:00
  • da174241b8 Remove reference to a document that doesn't exist in this branch Gilles Peskine 2021-02-10 13:15:08 +01:00
  • d17062e6bf Correct english in changelog. Paul Elliott 2021-02-12 14:47:31 +00:00
  • 3d210cf2b5 Merge pull request #4066 from mstarzyk-mobica/const_asn1write Manuel Pégourié-Gonnard 2021-02-12 12:23:24 +01:00
  • 3ec34a81ee Merge pull request #4135 from gilles-peskine-arm/ssl-opt-server-failure-2.7 Manuel Pégourié-Gonnard 2021-02-12 12:16:19 +01:00
  • 47e4035e98 Merge pull request #4134 from gilles-peskine-arm/ssl-opt-server-failure-2.16 Manuel Pégourié-Gonnard 2021-02-12 12:16:09 +01:00
  • 97ce71daca Merge pull request #4109 from gilles-peskine-arm/ssl-opt-server-failure-development Manuel Pégourié-Gonnard 2021-02-12 12:15:50 +01:00
  • b2024ef3bb Merge pull request #4129 from chris-jones-arm/move-test-macros Manuel Pégourié-Gonnard 2021-02-12 10:17:28 +01:00
  • 4dad303e99 Merge pull request #4089 from mstarzyk-mobica/remove_havege Manuel Pégourié-Gonnard 2021-02-12 10:02:15 +01:00
  • b22a31f805 Add changelog for applying missing const attributes to the API. Mateusz Starzyk 2021-02-05 17:17:54 +01:00
  • 0fdcc8eee9 Remove Havege module. Mateusz Starzyk 2021-01-29 16:46:31 +01:00
  • a63b20d28b Rename AEAD tag length macros Bence Szépkúti 2020-12-16 11:36:46 +01:00
  • de6cb2605e Merge pull request #4063 from mstarzyk-mobica/const_asn1 Manuel Pégourié-Gonnard 2021-02-11 09:34:38 +01:00
  • 8a129828da Merge pull request #4010 from stevew817/feature/gcm_vectors Ronald Cron 2021-02-11 09:33:51 +01:00
  • 74afe47cc8 Fix unused variables in PSA core when no KDF algorithm is present Steven Cooreman 2021-02-10 17:19:22 +01:00
  • 7196fefeef Fix unused variable in PSA core when no AEAD algorithm is present Steven Cooreman 2021-02-10 17:13:28 +01:00
  • 6dce4bbe36 Fix unused argument when compiling with MBEDTLS_ECDSA_SIGN_ALT Steven Cooreman 2021-02-10 17:07:20 +01:00
  • 1e9c042085 Minor fixup of SKIP_IF test macro documentation verbiage Steven Cooreman 2021-02-10 17:02:05 +01:00
  • 28a45ed8db tests: psa: Add macros to skip a test case Ronald Cron 2021-02-09 20:35:42 +01:00
  • 50f1f5e119 Use PSA_ALG_ macros to inspect AEAD base algorithm Steven Cooreman 2021-01-25 10:26:49 +01:00
  • 2f09913aeb Set default IV for AES-GCM to 12 bytes Steven Cooreman 2021-01-11 20:33:45 +01:00
  • 82645b153d Allow skipping vectors w/ non-12-byte IV AES-GCM on ALT Steven Cooreman 2021-01-11 20:33:20 +01:00
  • d588ea1704 Allow skipping AES-192 for alternative implementations in PSA test suite Steven Cooreman 2021-01-11 19:36:04 +01:00
  • 7c9e7da8d4 Add CAVS14.0 AES-GCM vectors to test more IV, tag and key lengths Steven Cooreman 2021-01-11 19:26:33 +01:00
  • 2222d689c5 Allow GCM selftest to skip non-12-byte IVs for ALT implementations Steven Cooreman 2021-01-11 18:45:22 +01:00
  • 8607f069e7 ssl-opt.sh: Only check the server exit for Mbed TLS Gilles Peskine 2021-02-09 21:01:33 +01:00
  • 028ca780a8 ssl-opt.sh: if the server fails, do treat it as a test failure Gilles Peskine 2021-02-02 23:29:03 +01:00
  • 2cf44b6941 ssl-opt.sh: Only check the server exit for Mbed TLS Gilles Peskine 2021-02-09 21:01:33 +01:00
  • 634fe27a12 ssl-opt.sh: if the server fails, do treat it as a test failure Gilles Peskine 2021-02-02 23:29:03 +01:00
  • 3f063f6aac Merge pull request #4102 from mstarzyk-mobica/const_pk Manuel Pégourié-Gonnard 2021-02-10 10:08:05 +01:00
  • 2c5d9e6a32 No configuration symbols for FFDH Gilles Peskine 2021-02-09 21:40:41 +01:00
  • 7df7d1eb57 ECC: add rationale Gilles Peskine 2021-02-09 21:40:29 +01:00
  • c74712f12d Fix an example that didn't follow the given pattern Gilles Peskine 2021-02-09 21:40:02 +01:00
  • 59c6347810 Remove the time stamp Gilles Peskine 2021-02-09 21:39:13 +01:00
  • aaf866edd2 ssl-opt.sh: Only check the server exit for Mbed TLS Gilles Peskine 2021-02-09 21:01:33 +01:00
  • da3e7db495 Fix memory leak in error case in psa_crypto Paul Elliott 2021-02-09 18:58:20 +00:00
  • 07907ae84e Add change log entry Ronald Cron 2021-02-09 13:51:34 +01:00
  • 395889f9b7 psa: Make sure MBEDTLS_PSA_CRYPTO_CLIENT is defined Ronald Cron 2021-02-09 12:36:49 +01:00
  • a0b4decff0 Merge pull request #4072 from gilles-peskine-arm/psa_import_ecc_key-not_supported Gilles Peskine 2021-02-09 15:16:20 +01:00
  • a6d155fb47 Move test macros to macros.h Chris Jones 2021-02-09 12:09:33 +00:00
  • b168c0d2e6 More robust code to set the IV Gilles Peskine 2021-02-09 12:00:13 +01:00
  • 5d332f0274 Merge pull request #4105 from paul-elliott-arm/fix_test_leak Gilles Peskine 2021-02-09 10:03:49 +01:00
  • 6b8d0a48eb Merge pull request #4123 from gilles-peskine-arm/fix-build-test_generate_random Ronald Cron 2021-02-09 08:52:21 +01:00
  • f8ceb4c18e Merge pull request #4120 from bensze01/fix_changelog Ronald Cron 2021-02-09 08:46:50 +01:00
  • 9189202156 Remove trail check in the generate_random test Gilles Peskine 2021-02-08 19:50:26 +01:00
  • d88ccaef23 Update the documentation of mbedtls_psa_ecp_load_representation Gilles Peskine 2021-02-08 18:39:18 +01:00
  • 2fa6b5f503 ECC import: more useful choice of INVALID_ARGUMENT vs NOT_SUPPORTED Gilles Peskine 2021-01-27 15:44:45 +01:00
  • fe9a425941 Fix mistake in 2.25.0 Changelog Bence Szépkúti 2021-02-08 18:13:02 +01:00
  • dadd10d656 Attempt to make Base64 table access constant flow Paul Elliott 2021-02-05 17:49:23 +00:00
  • a0832d47f7 Merge pull request #3958 from gilles-peskine-arm/fix-tls12-constant-namespace Ronald Cron 2021-02-05 16:34:26 +01:00
  • 3292453402 Add missing const attribute to Public Key API Mateusz Starzyk 2021-02-02 15:22:19 +01:00
  • d945871c55 Merge pull request #3872 from gabor-mezei-arm/3275_use_PSA_ERROR_DATA_INVALID_where_warranted Gilles Peskine 2021-02-03 20:54:46 +01:00
  • 540320bf7b Merge pull request #4054 from chris-jones-arm/move-testing-functions Ronald Cron 2021-02-03 19:01:54 +01:00
  • 077599ad85 New test suite for random generation Gilles Peskine 2021-02-03 18:55:39 +01:00
  • 21c64fa398 Merge pull request #4052 from stevew817/feature/skip_large_tests_on_OOM Ronald Cron 2021-02-03 18:23:44 +01:00
  • 7f919de1ce ssl-opt.sh: if the server fails, do treat it as a test failure Gilles Peskine 2021-02-02 23:29:03 +01:00
  • c7b53747f7 Fix for memory leak in ssl tests Paul Elliott 2021-02-03 13:18:33 +00:00
  • 39ddb0a2e1 Improve test infrastructure documentation Chris Jones 2021-02-03 16:15:00 +00:00
  • 2747d7dc60 Duplicate no-DRBG tests: with and without MBEDTLS_USE_PSA_CRYPTO Gilles Peskine 2021-02-03 14:56:51 +01:00
  • 10ec7804c5 Remove HAVE_RAM_AVAILABLE for derive_full and derive_output tests Steven Cooreman 2021-02-02 12:19:31 +01:00
  • 83fdb70550 Convert 'large key' testing to accept insufficient memory errors Steven Cooreman 2021-01-21 14:24:39 +01:00
  • 69967ce17e Get rid of half-baked HAVE_RAM_128K in favor of dynamic heap checking Steven Cooreman 2021-01-18 18:01:08 +01:00
  • 00c3e87422 Merge pull request #3933 from ronald-cron-arm/psa-import-export Ronald Cron 2021-02-03 15:02:01 +01:00
  • aaedbdcfd6 Refuse reproducible mode with MBEDTLS_USE_PSA_CRYPTO Gilles Peskine 2021-02-03 13:55:22 +01:00
  • 4a23c98506 Fix exit status if the RNG seeding failed Gilles Peskine 2021-02-03 13:54:41 +01:00
  • 567e0ad8f1 Add documentation and minor style changes Chris Jones 2021-02-03 12:07:01 +00:00
  • a5ab765832 Remove direct writing to test_info from *.function Chris Jones 2021-02-02 16:20:45 +00:00
  • 6a32ad83e3 Merge pull request #4094 from d-otte/development Janos Follath 2021-02-02 16:15:07 +00:00
  • fee234afcd Merge pull request #4100 from d-otte/mbedtls-2.16 Janos Follath 2021-02-02 16:14:59 +00:00
  • b729e4c474 Merge pull request #4099 from d-otte/mbedtls-2.7 Janos Follath 2021-02-02 16:14:52 +00:00
  • bbd2bfb666 Merge pull request #4096 from gilles-peskine-arm/mpi_sub_abs-buffer_overflow-development Janos Follath 2021-02-02 13:10:31 +00:00
  • 9039f16c48 Merge pull request #4097 from gilles-peskine-arm/mpi_sub_abs-buffer_overflow-2.16 Janos Follath 2021-02-02 13:10:22 +00:00
  • ec1909d10b Merge pull request #4077 from gilles-peskine-arm/mpi_sub_abs-buffer_overflow-2.7 Janos Follath 2021-02-02 13:10:14 +00:00
  • 80fa1b4d8f adding changelog entry for issue #4093 Daniel Otte 2021-02-02 12:57:48 +01:00
  • 9c6cb217f1 adding parentheses to macro definitions. Daniel Otte 2021-02-01 14:26:08 +01:00
  • 80a2c2a5f9 avoid errorneous computation of RSA_PRV_DER_MAX_BYTES. Daniel Otte 2021-02-01 14:23:30 +01:00
  • b49815a88f adding changelog entry for issue #4093 Daniel Otte 2021-02-02 12:44:07 +01:00
  • da43d78017 adjusting Changelog entry for PR #4094 Daniel Otte 2021-02-02 12:38:26 +01:00
  • 1bf4c55fd7 psa: Improve psa_import_key_into_slot() documentation Ronald Cron 2021-02-01 11:37:53 +01:00
  • d9763466b7 Expand and improve psa-crypto-implementation-structure.md Ronald Cron 2021-01-18 18:11:19 +01:00
  • 1e87d5ba1d tests: psa: Fix export related tests Ronald Cron 2021-01-18 13:32:28 +01:00
  • e907e55f39 psa: export: Check output buffer size earlier Ronald Cron 2021-01-18 13:22:38 +01:00
  • 9cfdf6ebe7 Fix coding style issues Ronald Cron 2021-01-18 11:58:39 +01:00
  • 31520b4b1c Fix psa-crypto-implementation-structure.md Ronald Cron 2021-01-18 11:57:58 +01:00
  • 80eaa93b59 tests: psa: Reactivate and expand key management through test driver Ronald Cron 2020-12-01 14:19:33 +01:00
  • c9066e4488 psa: driver wrapper: Fix generate key unit test dependency Ronald Cron 2020-12-07 16:18:21 +01:00
  • 84a3fa10c4 tests: psa: Change key management test driver default forced return value Ronald Cron 2020-12-01 09:35:17 +01:00
  • 784fb326ae psa: Add ECP/RSA transparent test driver import_key entry point Ronald Cron 2020-11-30 13:55:05 +01:00
  • fb2ed5bb05 psa: import: Move registered SE support to the driver wrapper Ronald Cron 2020-11-30 12:11:01 +01:00