Commit Graph

  • abddad4af8 Add note about aliasing of operands for mbedtls_mpi_mod_raw_add() Tom Cosgrove 2022-11-24 15:54:16 +00:00
  • 54d87bf5c2 Take limb count from the modulus in mod_raw_add tests Tom Cosgrove 2022-11-24 15:47:02 +00:00
  • e4c0a6c3ba Change cast to correct type Werner Lewis 2022-11-17 11:19:58 +00:00
  • f907576245 Pass correct arguments in test Werner Lewis 2022-11-08 16:01:06 +00:00
  • 1a277d9ad6 Replace comparison with XOR Werner Lewis 2022-11-08 15:55:17 +00:00
  • d391b8ce61 Change types and move const before type Werner Lewis 2022-11-08 15:53:47 +00:00
  • baa34b6248 Add test function for mpi_mod_raw_add Werner Lewis 2022-11-01 15:37:50 +00:00
  • 9fa91ebcb9 Use modulus structure in mbedtls_mpi_mod_raw_add Werner Lewis 2022-11-01 13:36:51 +00:00
  • 0eea827cbd Rename MPI_CORE(add_mod) to mbedtls_mpi_mod_raw_add Werner Lewis 2022-11-01 13:27:29 +00:00
  • a45b6fee91 Extract MPI_CORE(add_mod) from the prototype Hanno Becker 2022-11-01 13:14:28 +00:00
  • 0f6fb0cab2 compat.sh: Restore testing against OpenSSL for pre 1.2 TLS versions Ronald Cron 2022-11-24 12:59:52 +01:00
  • b400fb0b76 Merge pull request #6452 from AndrzejKurek/depends-py-reloaded-2-28 Dave Rodgman 2022-11-24 10:59:31 +00:00
  • cbcbf4e434 Remove hand-written tests got raw_mod_sub Gabor Mezei 2022-11-24 11:48:59 +01:00
  • 3bb0e43b41 fix review comment Pengyu Lv 2022-11-24 17:29:05 +08:00
  • 6921959b83 Remove unused variable Dave Rodgman 2022-11-24 09:27:15 +00:00
  • 4cf77e99ab Merge pull request #6621 from ronald-cron-arm/tls13-early-data-write Ronald Cron 2022-11-24 09:58:07 +01:00
  • fecc6b2fe4 Minor tune-up to ChangeLog & documentation Manuel Pégourié-Gonnard 2022-11-24 09:40:12 +01:00
  • 358c7d6eb0 Fix naming inconsistency Dave Rodgman 2022-11-23 20:29:03 +00:00
  • dd3103e9e7 Tidy up UNALIGNED_UINT32_T macro Dave Rodgman 2022-11-23 19:42:13 +00:00
  • 3172e4e1c9 Fix typo in test_suite_common Dave Rodgman 2022-11-23 19:38:13 +00:00
  • e7cd137606 Define UNALIGNED_UINT32_PTR for unaligned access Dave Rodgman 2022-11-23 19:14:26 +00:00
  • a6778013b4 Tidy up UBSan detection Dave Rodgman 2022-11-23 17:16:57 +00:00
  • 468df317bf Fix MSVC support for inline keyword Dave Rodgman 2022-11-23 16:56:35 +00:00
  • 1bab27f983 Prevent unaligned access under ASan builds Dave Rodgman 2022-11-23 16:51:59 +00:00
  • 15531bc6d2 Test for all alignment combinations Dave Rodgman 2022-11-23 16:11:04 +00:00
  • 8fe23a065a Fix MSVC 12 (Visual Studio 2013) choking on inline Gilles Peskine 2022-11-23 17:24:37 +01:00
  • 01bf631159 Fix NULL+0 undefined behavior in ECB encryption and decryption Gilles Peskine 2022-11-23 14:15:57 +01:00
  • 6b3c0c5943 Update the test case generator Gabor Mezei 2022-11-23 16:45:05 +01:00
  • 6157fee306 Unify defintions of inline for MSVC (and old armcc?) Gilles Peskine 2022-11-23 16:13:13 +01:00
  • 3c8eb7e990 Provide external definition of mbedtls_xor Dave Rodgman 2022-11-23 14:50:03 +00:00
  • 63d114305f Whitespace cleanup Dave Rodgman 2022-11-23 14:03:30 +00:00
  • f9a1c37bc8 Whitespace cleanup Dave Rodgman 2022-11-23 14:02:00 +00:00
  • b3b3466657 Test subtraction if the parameters are aliased to each other Gabor Mezei 2022-11-23 13:17:13 +01:00
  • 4d3f3c5430 Fix the checking of the used limbs Gabor Mezei 2022-11-23 13:14:15 +01:00
  • 68a45e0aaf Fix potential not initialized warning Gabor Mezei 2022-11-23 13:12:51 +01:00
  • 02d2313829 Fix documentation Gabor Mezei 2022-11-23 13:09:43 +01:00
  • 3411e949cd Cas variable to proper type Gabor Mezei 2022-11-16 11:31:00 +01:00
  • c426d9b6cc Add generated test for low level subtraction with modulus Gabor Mezei 2022-11-15 18:51:20 +01:00
  • cefe03a10c Add tests for low level subtraction with modulus Gabor Mezei 2022-11-15 18:50:17 +01:00
  • 4c7cf7d742 Add low level subtraction with modulus Gabor Mezei 2022-11-09 14:07:43 +01:00
  • 531a871b88 Merge pull request #6235 from tom-cosgrove-arm/issue-6231-core-sub-int Janos Follath 2022-11-23 13:32:02 +00:00
  • 4a8c9e2cff tls13: Add definition of mbedtls_ssl_{write,read}_early_data Ronald Cron 2022-10-26 18:49:09 +02:00
  • 42649d9270 Fix NULL+0 undefined behavior in ECB encryption and decryption Gilles Peskine 2022-11-23 14:15:57 +01:00
  • ef25a99f20 Merge pull request #6533 from valeriosetti/issue5847 Manuel Pégourié-Gonnard 2022-11-23 13:27:30 +01:00
  • 3518fb11d0 Improve ChangeLog entry for driver-only hashes Manuel Pégourié-Gonnard 2022-11-23 13:14:52 +01:00
  • 1d1d53622f Merge pull request #6490 from xkqian/tls13_parse_early_data_indication_ee Ronald Cron 2022-11-23 12:31:25 +01:00
  • cb0e680779 Merge pull request #6476 from yuhaoth/pr/fix-tls13-mbedtls_ssl_is_handshake_over Ronald Cron 2022-11-23 12:12:02 +01:00
  • f53d0ba529 depends.py: remove tls defines in SHA-512-only test Andrzej Kurek 2022-11-23 05:54:46 -05:00
  • 99ac73d963 Merge pull request #969 from yanesca/issue-946-backport Manuel Pégourié-Gonnard 2022-11-23 10:30:40 +01:00
  • 660b396e41 Merge pull request #975 from yanesca/issue-946 Manuel Pégourié-Gonnard 2022-11-23 10:30:35 +01:00
  • b157e915ad Move the early data status set afeter all of the extensions parse Xiaokang Qian 2022-11-23 08:12:26 +00:00
  • d8603a7b44 Merge pull request #6638 from ronald-cron-arm/tls13-misc Ronald Cron 2022-11-23 09:07:36 +01:00
  • e861ba01d4 Remove the duplicate early_data_status check Xiaokang Qian 2022-11-23 03:21:02 +00:00
  • ca09afc60a Remove useless function and parse early data in ee Xiaokang Qian 2022-11-22 10:05:19 +00:00
  • a6a94ad599 lms: Move merkle tree generation to heap allocation Moritz Fischer 2022-11-12 08:28:04 -08:00
  • 43d3de4977 Make pylint happy Janos Follath 2022-11-22 21:50:22 +00:00
  • cf0e86c9b8 mpi_core_exp_mod: remove manual tests Janos Follath 2022-11-22 21:40:24 +00:00
  • 05867cb036 mpi_core_exp_mod: add generated tests Janos Follath 2022-11-22 21:37:10 +00:00
  • 3321b5842c mpi_exp_mod: improve documentation Janos Follath 2022-11-22 21:08:33 +00:00
  • 7d89d351e6 Zeroize sensitive data Gilles Peskine 2022-11-16 22:54:14 +01:00
  • 0b270a5603 Explain a little more Gilles Peskine 2022-11-16 22:54:03 +01:00
  • 4380d7b7f3 Simplify cleanup logic Gilles Peskine 2022-11-16 22:20:59 +01:00
  • 3b63d09fea Make the main loop's logic clearer Gilles Peskine 2022-11-16 22:06:18 +01:00
  • c718a3ce94 Simplify exponent bit selection Gilles Peskine 2022-11-16 20:42:09 +01:00
  • d83b5cb504 Local readability improvements Gilles Peskine 2022-11-16 20:26:14 +01:00
  • 0de0a049f1 Move window precomputation into an auxiliary function Gilles Peskine 2022-11-16 20:12:49 +01:00
  • cf979b0fc1 Define variables closer to their use Gilles Peskine 2022-11-16 20:04:00 +01:00
  • 7af166b827 Change E closer to where it's used Gilles Peskine 2022-11-16 19:52:30 +01:00
  • 07f2c69511 More consistent variable names Gilles Peskine 2022-11-16 19:48:23 +01:00
  • 0ec6e3f394 mpi_core_mod_exp: improve style and documentation Janos Follath 2022-11-14 12:52:08 +00:00
  • a77911e5c1 core_exp_mod: improve window selection Janos Follath 2022-10-08 09:48:20 +01:00
  • 0f0d1e88a2 mpi_core_exp_mod: add unit tests Janos Follath 2022-10-06 13:36:21 +01:00
  • 59cbd1be27 Make mbedtls_mpi_core_ct_uint_table_lookup static Janos Follath 2022-10-28 18:13:43 +01:00
  • bad42c4d0d mpi_core_exp_mod: fix local variable type Janos Follath 2022-11-09 14:30:44 +00:00
  • b6673f0f19 Add modular exponentiation to bignum core Janos Follath 2022-09-30 14:13:14 +01:00
  • fdd967ebdc Detect support for unaligned memory access Dave Rodgman 2022-11-22 18:55:17 +00:00
  • 728b142f40 test: psa_pake: port changes from cd356c3 Valerio Setti 2022-11-22 19:47:24 +01:00
  • 8c18baf8c1 Add test for unaligned buffers Dave Rodgman 2022-11-22 18:15:55 +00:00
  • 5e3c70e3be Merge branch 'development' into driver-wrapper-key-agreement Aditya Deshpande 2022-11-22 17:58:52 +00:00
  • 8cc1470c18 Merge branch 'development' into driver-wrapper-key-agreement Aditya Deshpande 2022-11-22 17:55:53 +00:00
  • e0d41de822 test: psa_pake: add missing initialization in ecjpake_setup() Valerio Setti 2022-11-22 15:47:27 +01:00
  • db4736a4ca test: psa_pake: remove empty password test Valerio Setti 2022-11-22 12:24:21 +01:00
  • b9ef1c2f03 test: psa_pake: fix error inject macro in ecjpake_do_round() Valerio Setti 2022-11-22 11:31:18 +01:00
  • b697745d14 test: psa_pake: fix erroneously duplicated tests Valerio Setti 2022-11-22 11:29:02 +01:00
  • 40323c5d51 test: psa_pake: improved ecjpake_do_round() test function Valerio Setti 2022-11-22 10:38:49 +01:00
  • ac3ba95ee4 test: psa_pake: fix data file for ecjpake_setup() Valerio Setti 2022-11-21 16:22:29 +01:00
  • e65a41f278 test: psa_pake: fixes in ecjpake_setup() Valerio Setti 2022-11-21 15:38:29 +01:00
  • e5d7864aa0 test: psa_pake: improved description of macros used in ecjpake_setup() Valerio Setti 2022-11-21 15:17:54 +01:00
  • 6d4e75f0c6 psa_crypto_pake: initialize psa_status_t stack variables Valerio Setti 2022-11-21 14:56:56 +01:00
  • 7bb65ad22f test: psa_crypto_pake: enhanced ecjpake_setup() Valerio Setti 2022-11-18 18:27:48 +01:00
  • 024b028ce1 test: split psa_pake function/data from the generic test_suite_psa_crypto Valerio Setti 2022-11-16 12:32:29 +01:00
  • 1070aed778 test_suite_psa_crypto: do not re-use PAKE's contexts in case of errors Valerio Setti 2022-11-11 19:37:31 +01:00
  • fdb77cdae3 psa_crypto_pake: internally call to psa_pake_abort() in case of errors Valerio Setti 2022-11-11 12:02:24 +01:00
  • c36a56e890 Use mbedtls_xor in TLS messaging layer Dave Rodgman 2022-11-22 17:00:26 +00:00
  • 74b345f282 Use mbedtls_xor in PKCS #5 Dave Rodgman 2022-11-22 16:56:59 +00:00
  • 99a507ee55 Use mbedtls_xor in md Dave Rodgman 2022-11-22 16:54:54 +00:00
  • d22fb73e3e Use mbedtls_xor in GCM Dave Rodgman 2022-11-22 16:53:25 +00:00
  • 2e9db8e9bf Use mbedtls_xor in DES Dave Rodgman 2022-11-22 16:43:29 +00:00
  • ffb5499988 Use mbedtls_xor in CTR_DRBG Dave Rodgman 2022-11-22 16:40:58 +00:00
  • 8c0ff81ce7 Use mbedtls_xor in CMAC Dave Rodgman 2022-11-22 16:38:44 +00:00