Commit Graph

  • 1865993763 psa: sign/verify_hash: Wrap software implementation Ronald Cron 2020-12-08 16:32:23 +01:00
  • 99b8ed7fda psa: Prepare sign/verify code for software implementation split Ronald Cron 2021-02-17 10:33:32 +01:00
  • 9a594e8023 Update psa crypto_config to include recent configs David Brown 2021-02-16 12:57:27 -07:00
  • 1bfe4d7fca Use new PSA builtin defines for CHACHA20 David Brown 2021-02-16 12:54:35 -07:00
  • 8107e31b74 Fix 2 endif comments David Brown 2021-02-12 08:08:46 -07:00
  • 12ca50307f Change some conditionals of PSA to use BUILTIN David Brown 2021-02-11 11:02:00 -07:00
  • db01e0271f Remove an unnecessary #else and commented line David Brown 2021-02-11 10:56:37 -07:00
  • be380c1e0f Remove incorrect PSA ECB definition David Brown 2021-02-11 10:55:48 -07:00
  • 8de6437bb6 Cleanup PSA CBC padding defines David Brown 2021-02-11 10:53:23 -07:00
  • 7807bf7404 Use proper conditional for software DES David Brown 2021-02-09 16:28:23 -07:00
  • 288a96e169 Fix mistyped endif comment David Brown 2021-02-09 16:27:55 -07:00
  • 9f3e7749d9 Revert "Change some examples to use new PSA crypto config" David Brown 2021-02-09 16:27:19 -07:00
  • 86730a8d50 Add missing MBEDTLS_PSA_BUILTIN for ChaCha20-Poly1305 David Brown 2021-02-09 16:24:11 -07:00
  • fc46818eeb Cleanup PSA ifdefs for CBC block mode David Brown 2021-02-09 16:23:34 -07:00
  • 10cb81c0a0 Add some missing MBEDTLS_PSA_BUILTIN_ definitions David Brown 2021-02-09 16:10:29 -07:00
  • f84a0f691e Simplify block cipher PSA definitions David Brown 2021-02-09 15:59:41 -07:00
  • e1f91f07cd Consolidate PSA ifdefs for block ciphers David Brown 2021-02-09 15:56:22 -07:00
  • 18658a7896 Disable error on CHACHAPOLY misconfiguration David Brown 2021-02-08 19:37:40 -07:00
  • ac4fa07fa3 Add PSA config support for ChaCha20+Poly1305 David Brown 2021-02-08 16:47:35 -07:00
  • b16727a603 Add PSA config for ChaCha20 David Brown 2021-02-08 16:31:46 -07:00
  • b781f75401 Define SW crypto algorithms if block modes need it David Brown 2021-02-08 15:44:52 -07:00
  • 5256e69cda Fix typo in psa config comment David Brown 2021-02-08 15:44:11 -07:00
  • 4869dcdc90 Change some examples to use new PSA crypto config David Brown 2021-02-05 12:56:10 -07:00
  • 0baa7b5e98 Change ifdefs in psa_crypto.c to new WANT macros David Brown 2021-02-05 12:51:07 -07:00
  • 4b9ec7a598 Add checks for HW acceleration of ciphers and padding David Brown 2021-02-05 12:47:08 -07:00
  • 63ca260827 Change psa_crypto.c ifdefs for cipher modes David Brown 2021-01-26 11:51:12 -07:00
  • 12f45f99da Add definitions for builtins for cipher modes David Brown 2021-01-26 11:50:36 -07:00
  • da7dbb72ed Add building definitions for non-crypto-config case David Brown 2021-01-26 11:44:15 -07:00
  • e04acc271c Use PSA definitions in PSA file David Brown 2021-01-26 11:39:16 -07:00
  • bc1731b24e Fix small error in a comment David Brown 2021-01-26 11:38:24 -07:00
  • db003f31fc Remove unused definition David Brown 2021-01-21 09:50:19 -07:00
  • 78a429b89a Add _BUILTIN defines for new features David Brown 2021-01-21 09:48:57 -07:00
  • 9984427b4a Add feature support for block modes to PSA crypto config David Brown 2021-01-15 12:04:47 -07:00
  • a9f1d83d31 Add symmetric ciphers and block modes David Brown 2021-01-15 11:40:25 -07:00
  • b65a7f7b52 Add feature support for DES for PSA crypto config David Brown 2021-01-15 12:04:09 -07:00
  • 686e6e83d3 Add feature support for Camelia for PSA crypto config David Brown 2021-01-05 12:03:25 -07:00
  • ec258cfae1 Add feature support for ARC4 for PSA crypto config David Brown 2021-01-05 12:03:25 -07:00
  • 949330827c Add feature support for AES for PSA crypto config David Brown 2021-01-05 12:03:25 -07:00
  • 277a3a6609 Work around MSVC bug with duplicate static declarations Gilles Peskine 2021-02-16 18:55:05 +01:00
  • 996f2168b6 Make it possible to include psa_crypto_random_impl.h with psa_util.h Gilles Peskine 2021-02-16 16:50:00 +01:00
  • 2cff7e2a59 Minor clarification in the public documentation Gilles Peskine 2021-02-16 16:49:42 +01:00
  • cd2d648b00 Explain the "external RNG large" test case Gilles Peskine 2021-02-16 15:33:56 +01:00
  • d548d964db Clarify where mbedtls_psa_get_random might be useful Gilles Peskine 2021-02-15 18:34:16 +01:00
  • 48113ebb62 Initialize the test RNG whenever it's present Gilles Peskine 2021-02-09 10:25:20 +01:00
  • ddeb8896ff Exclude random_twice tests with MBEDTLS_TEST_NULL_ENTROPY Gilles Peskine 2021-02-08 22:02:42 +01:00
  • 8e1e46ebb5 Fix the use of unitialized memory with MBEDTLS_TEST_NULL_ENTROPY Gilles Peskine 2021-02-08 22:02:12 +01:00
  • 8133abd746 SSL test programs: always allow building with the PSA external RNG Gilles Peskine 2021-02-08 21:20:12 +01:00
  • 38c12fd48e In external_rng tests, disable the entropy module Gilles Peskine 2021-02-08 21:02:53 +01:00
  • 1dc19ffb29 The PSA external RNG does not require MBEDTLS_USE_PSA_CRYPTO Gilles Peskine 2021-02-08 20:59:39 +01:00
  • b8c484088c Fix psa_destroy_key called after mbedtls_psa_crypto_free Gilles Peskine 2021-02-08 20:28:22 +01:00
  • 34babfc5b2 Add comments to a few #endif closing a long chunk Gilles Peskine 2021-02-16 15:44:37 +01:00
  • 8eb2943705 Support mbedtls_psa_get_random() in SSL test programs Gilles Peskine 2021-02-03 20:07:11 +01:00
  • e3ed802138 Expose mbedtls_psa_get_random() Gilles Peskine 2021-02-03 20:04:08 +01:00
  • e31fb03310 Merge pull request #4136 from daverodgman/ssl-opt-gnutls-priority Dave Rodgman 2021-02-16 14:37:51 +00:00
  • 010d7c72c3 Merge pull request #3744 from ronald-cron-arm/psa-generate-key-internal Ronald Cron 2021-02-16 13:29:21 +01:00
  • bb86d0c61c Merge pull request #3995 from stevew817/feature/psa_configurable_static_ram_usage Gilles Peskine 2021-02-16 12:52:24 +01:00
  • efa8509745 Merge pull request #4143 from stevew817/fix_misconstructed_dependency Gilles Peskine 2021-02-16 12:51:01 +01:00
  • baf4fc8c87 Merge pull request #4115 from mstarzyk-mobica/const_changelog Manuel Pégourié-Gonnard 2021-02-16 10:46:17 +01:00
  • 495ef98b24 Merge pull request #3976 from devnexen/fbsd_dfly_upd Manuel Pégourié-Gonnard 2021-02-16 09:41:55 +01:00
  • d81ab56c84 psa: Avoid empty block Ronald Cron 2021-02-16 09:01:16 +01:00
  • 3772afef0f psa: key generation: Use PSA_EXPORT_KEY_OUTPUT_SIZE Ronald Cron 2021-02-08 16:10:05 +01:00
  • 9539126549 psa: ecp: Improve pre-processor condition and its comment Ronald Cron 2021-02-08 09:54:03 +01:00
  • 2365fde153 psa: rsa: Rename psa_read_rsa_exponent Ronald Cron 2021-02-08 09:52:24 +01:00
  • 761905e7a3 tests: psa config: Extend tests to RSA keys Ronald Cron 2020-12-07 16:41:54 +01:00
  • d00f5e188a tests: psa: Remove generate key test case restriction Ronald Cron 2020-12-07 16:36:09 +01:00
  • f619c68be9 psa: driver wrappers: Add generate key unit test with no fallback Ronald Cron 2020-12-07 16:26:09 +01:00
  • bbe5cbb0c8 Add ECP transparent test driver generate_key entry point Ronald Cron 2020-11-20 19:42:24 +01:00
  • 7023db5273 Move ECP key generation code to the PSA ECP specific C file Ronald Cron 2020-11-20 18:17:42 +01:00
  • 3a9c46b184 Add RSA key generation support to the transparent test driver Ronald Cron 2020-11-06 09:38:35 +01:00
  • 9e18fc1cf9 Move RSA key generation code to the PSA RSA specific C file Ronald Cron 2020-11-05 17:36:40 +01:00
  • 977c247048 Call software implementation as a driver Ronald Cron 2020-10-13 08:32:21 +02:00
  • 5c4d38639d psa: Extend psa_get_key_buffer_size scope Ronald Cron 2020-12-07 11:07:24 +01:00
  • 55ed0591c8 Export "internally" psa_generate_key_internal() Ronald Cron 2020-10-05 10:30:40 +02:00
  • 2a38a6b98f Change psa_generate_key_internal() signature Ronald Cron 2020-10-02 20:02:04 +02:00
  • 9df74beea7 psa: driver wrapper: Rename and export get_key_buffer_size Ronald Cron 2020-12-05 19:15:23 +01:00
  • 31216284e1 psa: driver wrapper: Clarify the scope of and rename get_expected_key_size Ronald Cron 2020-12-05 18:47:56 +01:00
  • 9cca31654c psa: driver wrapper: Fix buffer allocation in case of key generation Ronald Cron 2020-12-05 19:07:47 +01:00
  • 2b56bc84f5 Move key buffer allocation out of psa_generate_key_internal() Ronald Cron 2020-10-05 10:02:26 +02:00
  • 01b2aba924 Move key buffer size computation out of psa_generate_key_internal() Ronald Cron 2020-10-05 09:42:02 +02:00
  • f3bb761c00 Improve psa_generate_key_internal() Ronald Cron 2020-10-02 20:11:59 +02:00
  • 58a39e02da Fix typo in documentation Gilles Peskine 2021-02-15 18:21:55 +01:00
  • f49478b1ff Add missing test skip for ALT-implemented GCM Steven Cooreman 2021-02-15 15:19:25 +01:00
  • ea8d387406 Fix config query file Steven Cooreman 2021-02-15 14:07:27 +01:00
  • 863470a5f9 Rename PSA_KEY_SLOT_COUNT to MBEDTLS_PSA_KEY_SLOT_COUNT Steven Cooreman 2021-02-15 14:03:19 +01:00
  • 1f968fdf19 Define the user-configurable PSA config flag in config.h Steven Cooreman 2021-02-15 14:00:24 +01:00
  • 4971c3fce7 Changelog entry. David Carlier 2021-02-12 11:11:55 +00:00
  • 7976574f82 Allow tweaking PSA_KEY_SLOT_COUNT Steven Cooreman 2021-01-08 18:16:47 +01:00
  • 0279c2fc70 ssl-opt.sh: add --priority=normal to gnutls Dave Rodgman 2021-02-10 12:45:41 +00:00
  • 932ffb7ab2 Return NOT_SUPPORTED according to the API contract Steven Cooreman 2021-02-15 12:14:32 +01:00
  • 59ad77032f Merge pull request #4131 from paul-elliott-arm/fix_crypto_leak Gilles Peskine 2021-02-15 11:38:13 +01:00
  • 9d5abfed8b Merge pull request #4137 from stevew817/fix/unused_argument_warnings Gilles Peskine 2021-02-15 11:20:58 +01:00
  • 70f654a89c Fix a malformed define guard Steven Cooreman 2021-02-15 10:51:43 +01:00
  • 5cd00d28bf Merge pull request #4092 from ronald-cron-arm/psa-crypto-client Ronald Cron 2021-02-15 10:46:35 +01:00
  • 7339335c7d Merge pull request #3967 from bensze01/psa_macro_rename Ronald Cron 2021-02-12 16:33:21 +01:00
  • e8505e37df Document mutex usage for RSA Gilles Peskine 2021-02-09 18:59:42 +01:00
  • 3be78f318c Changelog entry for RSA mutex usage fix Gilles Peskine 2021-02-09 18:52:49 +01:00
  • 22dc2e7a9b Fix mutex leak in RSA Gilles Peskine 2021-02-02 21:06:10 +01:00
  • d7e82ad9bf Fix mutex double-free in RSA Gilles Peskine 2021-02-01 17:57:41 +01:00
  • 54e7e2bdc7 Add init-free tests for RSA Gilles Peskine 2021-02-01 17:55:24 +01:00
  • ff754e67ae Add missing cleanup in a test function Gilles Peskine 2021-01-31 00:07:11 +01:00