Commit Graph

  • 59200a22aa Improve psa_wipe_output_buffer Paul Elliott 2023-02-21 15:07:40 +00:00
  • 406b9172ad Merge pull request #7044 from minosgalanakis/bignum/6342_add_named_moduli_setup Janos Follath 2023-02-22 12:14:33 +00:00
  • 6445912d9c test: enable ssl-opt in test_psa_crypto_config_[accel/reference]_ecdsa_use_psa Valerio Setti 2023-02-22 12:35:16 +01:00
  • 5eff1033b6 Remove redundant checks for jpake alg Przemek Stekiel 2023-02-21 19:10:36 +01:00
  • 51a677bb30 Remove support for pake opaque driver Przemek Stekiel 2023-02-21 12:20:46 +01:00
  • ce131bf5c5 PAKE driver: fix password releasing Przemek Stekiel 2023-02-21 12:19:27 +01:00
  • 80a8849903 Adapt conditional compilation flags for jpake alg Przemek Stekiel 2023-02-20 13:32:22 +01:00
  • a54dc69fe0 mbedtls_psa_pake_setup: move driver password and alg init to the common part Przemek Stekiel 2023-02-20 10:18:10 +01:00
  • 6b64862ef7 Documentation fixes and code adaptation Przemek Stekiel 2023-02-19 22:55:33 +01:00
  • 251e86ae3f Adapt names to more suitable and fix conditional compilation flags Przemek Stekiel 2023-02-17 14:30:50 +01:00
  • b45b8ce474 Disable MBEDTLS_PSA_CRYPTO_SE_C is hash psa builds Przemek Stekiel 2023-02-15 14:50:14 +01:00
  • 6d77830c6a Remove redundant code Przemek Stekiel 2023-02-14 20:24:32 +01:00
  • dff21d3429 Move jpake role check to psa_pake_complete_inputs() Przemek Stekiel 2023-02-14 20:09:10 +01:00
  • 4fcc61eec0 Optimize psa_pake_ecjpake_setup() Przemek Stekiel 2023-02-14 20:05:43 +01:00
  • 849c35f8b4 Remove pake abort on failure from driver (handled by core) Przemek Stekiel 2023-02-14 15:11:40 +01:00
  • e1d51bf3c9 Optimieze psa_pake_complete_inputs() Przemek Stekiel 2023-02-14 14:28:33 +01:00
  • 3e784d8981 PSA crypto pake: call abort on each failure Przemek Stekiel 2023-02-08 09:12:42 +01:00
  • a48cf500d7 mbedtls_test_transparent_pake_abort: call driver/build-in impl even when status is forced Przemek Stekiel 2023-01-31 20:03:57 +01:00
  • d69dca9fc4 Rework psa_pake_abort Przemek Stekiel 2023-01-31 19:59:20 +01:00
  • f62b3bb087 Optimization of pake core functions Przemek Stekiel 2023-01-31 19:51:24 +01:00
  • ac067d779e Fix PSA_PAKE_OPERATION_INIT macro Przemek Stekiel 2023-01-26 16:31:03 +01:00
  • 9dd2440c95 Change pake input: key_lifetime -> key attributes Przemek Stekiel 2023-01-26 15:06:09 +01:00
  • d5d28a217f Use operation alg for locking key slot Przemek Stekiel 2023-01-26 10:46:05 +01:00
  • 1c3cfb4fb0 Introduce PSA_PAKE_OPERATION_STAGE_SETUP to optimize out alg checks Przemek Stekiel 2023-01-26 10:35:02 +01:00
  • ff01bc496c Remove j-pake specific checks from psa_pake_setup Przemek Stekiel 2023-01-26 09:48:06 +01:00
  • dde6a910bb Optimize out psa_pake_computation_stage_t Przemek Stekiel 2023-01-26 08:46:37 +01:00
  • 27cd488088 Update the documentation (v.3) Przemek Stekiel 2023-01-25 23:16:18 +01:00
  • 38b4e1761d Remove typedef for enum Przemek Stekiel 2023-01-18 15:52:24 +01:00
  • 33ea63d766 Minor updates of the documentation Przemek Stekiel 2023-01-18 09:42:32 +01:00
  • 5cbca790f7 Make usage of pake input getters Przemek Stekiel 2023-01-17 16:51:19 +01:00
  • 18620a3b1c Make copy of inputs on stack before passing to psa_driver_wrapper_pake_setup Przemek Stekiel 2023-01-17 16:34:52 +01:00
  • ca8d2b2589 Add get-data functions for inputs + tests Przemek Stekiel 2023-01-17 16:21:33 +01:00
  • 0f50f689b7 Remove redundant dummy fields inside unions Przemek Stekiel 2023-01-17 14:22:10 +01:00
  • 7b730175b3 Simplify psa_pake_computation_stage_s structure Przemek Stekiel 2023-01-17 12:49:44 +01:00
  • b09c487546 Combine core pake computation stage(step,sequence,state) into single driver step Przemek Stekiel 2023-01-17 12:05:38 +01:00
  • 8c8ab26b2a Update documentation (handling inputs, function names) Przemek Stekiel 2023-01-16 09:36:57 +01:00
  • d67a5b6320 Update PAKE driver documentation (v.2) Przemek Stekiel 2023-01-11 10:28:52 +01:00
  • 5798003b99 Add enum that presents computation stage as single value Przemek Stekiel 2023-01-09 15:07:26 +01:00
  • d6eb11007f Add draft documentation for the PAKE driver dispatch logic Przemek Stekiel 2022-12-29 13:27:51 +01:00
  • 9a5b812aa8 Cleanup the code Przemek Stekiel 2022-12-22 13:34:47 +01:00
  • fcd70e250f Adapt pake driver wrapper tests for the new design Przemek Stekiel 2022-12-22 11:22:45 +01:00
  • 2797d37424 Split handling of memory allocation for password between core and driver Przemek Stekiel 2022-12-22 11:19:22 +01:00
  • e12ed36a6c Move JPAKE state machine logic from driver to core Przemek Stekiel 2022-12-21 12:54:46 +01:00
  • be5e27b5ad Remove redundant code Przemek Stekiel 2022-12-14 08:54:54 +01:00
  • 3f9dbac83f Adapt ake driver tests to the new design Przemek Stekiel 2022-12-14 08:27:46 +01:00
  • 95629ab4ae Add forced status for pake setup Przemek Stekiel 2022-12-14 08:22:25 +01:00
  • c6b954686b Adapt test_suite_psa_crypto_pake test for the new design Przemek Stekiel 2022-12-08 11:13:29 +01:00
  • ca67483b15 psa_crypto_pake.h: adapt function descriptions Przemek Stekiel 2022-12-07 14:47:34 +01:00
  • 96ae8b939d Move pake definitions to headers for composite algorithms Przemek Stekiel 2022-12-07 11:52:08 +01:00
  • 51eac53b93 Divide pake operation into two phases collecting inputs and computation. Przemek Stekiel 2022-12-07 11:04:51 +01:00
  • e5e41eb14c Remove redundant line (fix rebase error) Przemek Stekiel 2022-12-01 15:55:29 +01:00
  • 061f6949fd Make psa_get_and_lock_key_slot_with_policy() static function Przemek Stekiel 2022-11-30 10:51:35 +01:00
  • 0c78180ee5 mbedtls_psa_pake_get_implicit_key: move psa_key_derivation_input_bytes call to upper layer Przemek Stekiel 2022-11-29 14:53:13 +01:00
  • 4f0035be29 Add guards for buildin pake set_password function Przemek Stekiel 2022-11-23 23:19:22 +01:00
  • 7658a0768b Add pake driver wrapper tests Przemek Stekiel 2022-11-22 14:35:44 +01:00
  • 061a016c65 Add ALG_TLS12_PRF, TLS12_PSK_TO_MS, LG_TLS12_ECJPAKE_TO_PMS support to test driver extensions Przemek Stekiel 2022-11-22 14:16:36 +01:00
  • 6a9785f061 Add pake.h to test driver header Przemek Stekiel 2022-11-22 14:11:31 +01:00
  • 6c7644150a Adapt pake impl for driver dispatch Przemek Stekiel 2022-11-22 14:05:12 +01:00
  • d91bcb7673 Refactor structures for pake driver support Przemek Stekiel 2022-11-22 14:00:51 +01:00
  • 03790029a6 Add test components to test accelerated pake and fallback Przemek Stekiel 2022-11-22 13:54:44 +01:00
  • d3da040f34 Add test driver impl for pake Przemek Stekiel 2022-11-22 13:53:26 +01:00
  • 2e73649f9c Add pake psa crypto driver wrappers implementation Przemek Stekiel 2022-11-22 13:50:22 +01:00
  • 5ae609631e Move the common parameters check code out of the wrapper Neil Armstrong 2022-09-15 11:29:46 +02:00
  • a7d08c3009 Add PSA PAKE api calling the PAKE wrappers Neil Armstrong 2022-06-01 18:21:20 +02:00
  • 7da8c56b84 Add PSA PAKE wrappers Neil Armstrong 2022-06-01 18:17:22 +02:00
  • 56b8d23ca1 Add mbedtls_ prefix to PSA PAKE over MbedTLS implementation Neil Armstrong 2022-06-01 18:05:57 +02:00
  • 63e33dd175 Fix unchecked return value Manuel Pégourié-Gonnard 2023-02-21 15:45:15 +01:00
  • 3bfe133832 Improve readability Jerry Yu 2023-02-22 15:01:05 +08:00
  • 3304c204ba Improve readabilities Jerry Yu 2023-02-22 14:37:11 +08:00
  • 07d5085fcf Skip ECDH ciphersuites for O->m pair Pengyu Lv 2023-02-22 12:17:26 +08:00
  • 4d786a732b Fix regression issue for clang workaround. Jerry Yu 2023-02-22 11:01:07 +08:00
  • f01ac3af0e Remove explicit ECDH exclusion for Travis CI Pengyu Lv 2023-02-22 10:07:16 +08:00
  • a64c277588 compat.sh: Skip all *ECDH_* ciphersuites Pengyu Lv 2023-02-22 09:30:20 +08:00
  • 4dcc08c244 Merge pull request #7138 from davidhorstmann-arm/2.28-fix-oid-printing-bug Gilles Peskine 2023-02-21 23:16:48 +01:00
  • ffb92b0789 Merge pull request #7105 from davidhorstmann-arm/fix-oid-printing-bug Gilles Peskine 2023-02-21 23:16:44 +01:00
  • 88f8eb5844 Merge pull request #7091 from paul-elliott-arm/remove_gcc_warning Gilles Peskine 2023-02-21 23:14:29 +01:00
  • 48c591cb56 Fix warning with GCC 12 Paul Elliott 2023-02-13 18:15:30 +00:00
  • da7979bb91 Restore debug message removed by mistake Manuel Pégourié-Gonnard 2023-02-21 09:31:10 +01:00
  • 8e176f747c Fix wrong return statement Manuel Pégourié-Gonnard 2023-02-09 10:33:54 +01:00
  • 626aaed213 Fix unused variable warnings in some builds Manuel Pégourié-Gonnard 2023-02-06 22:03:06 +01:00
  • 43cc127d3a Fix code style Manuel Pégourié-Gonnard 2023-02-06 11:48:19 +01:00
  • e1a4caa934 Handle hash errors in calc_finished Manuel Pégourié-Gonnard 2023-02-06 10:14:25 +01:00
  • b9b564e64b Handle hash errors in calc_verify Manuel Pégourié-Gonnard 2023-02-06 10:06:04 +01:00
  • df94901566 Handle hash errors in update_checksum Manuel Pégourié-Gonnard 2023-02-06 10:00:52 +01:00
  • b72ff498c9 Handle hash errors in reset_checksum Manuel Pégourié-Gonnard 2023-02-06 09:54:49 +01:00
  • b8b07aa24a Handle errors from functions that now return int Manuel Pégourié-Gonnard 2023-02-06 00:34:21 +01:00
  • d7a7a23308 Use reset_checksum in reset_transcript_for_hrr Manuel Pégourié-Gonnard 2023-02-05 10:26:49 +01:00
  • 537f231fd9 Split hash start out of handshake_params_init Manuel Pégourié-Gonnard 2023-02-05 10:17:45 +01:00
  • 226aa15702 Make handshake hashing functions return int Manuel Pégourié-Gonnard 2023-02-05 09:46:59 +01:00
  • 250a5ac4cb Merge pull request #7095 from paul-elliott-arm/interruptible_sign_hash_codestyle Gilles Peskine 2023-02-21 15:13:34 +01:00
  • d89360b87b Fix and improve documentation, comments and logs Ronald Cron 2023-02-21 08:53:33 +01:00
  • 18904acc93 Adapt the code to support SAN types: uniformResourceIdentifier, dNSName and IPAddress Przemek Stekiel 2023-02-14 11:54:37 +01:00
  • 6b108606fa Added ability to include the SubjectAltName extension to a CSR Hannes Tschofenig 2022-12-28 18:38:53 +01:00
  • d1c001aff7 Fix some dependencies in test_suite_psa_crypto Manuel Pégourié-Gonnard 2023-02-21 13:12:30 +01:00
  • a006f8c17b Adapt dependencies for parsing rfc822Name test Przemek Stekiel 2023-02-21 13:36:56 +01:00
  • e91bcf31b6 Add comparison of accel_ecdh_use_psa against ref Manuel Pégourié-Gonnard 2023-02-21 13:07:19 +01:00
  • e42cedf256 Merge pull request #7077 from daverodgman/pkcs7-fixes-dm-rebased Dave Rodgman 2023-02-21 11:53:30 +00:00
  • 59a2b8fd57 Add component accel_ecdh_use_psa Manuel Pégourié-Gonnard 2023-02-21 12:42:31 +01:00
  • e3095e7cb0 Add comments to accel_ecdh component Manuel Pégourié-Gonnard 2022-12-28 10:09:53 +01:00
  • f65a059a64 Add test generation for ecp_mod_p224_raw Gabor Mezei 2023-02-14 18:26:36 +01:00