Commit Graph

  • 1fd916a1a3 Address review comments Thomas Daubney 2023-07-25 16:10:48 +01:00
  • bc345e8685 Protect macro parameter expansion with parentheses Tom Cosgrove 2023-07-25 15:17:39 +01:00
  • 350226f636 Use a macro for mbedtls_mpi_zeroize_and_free() Tom Cosgrove 2023-07-25 14:58:25 +01:00
  • 93a859341b Remove remaining redundant casts Agathiyan Bragadeesh 2023-07-25 12:28:59 +01:00
  • d298b76421 Remove redundant casts Agathiyan Bragadeesh 2023-07-25 11:33:00 +01:00
  • 19fec5487d test: remove GENPRIME dependency when RSA_KEY_PAIR_GENERATE Valerio Setti 2023-07-25 12:31:50 +02:00
  • fe478909f0 psa_crypto_rsa: fix guards for importing the key Valerio Setti 2023-07-25 12:27:19 +02:00
  • 9520df7580 Fix code style Thomas Daubney 2023-07-25 10:56:54 +01:00
  • 46520ea52d tls12: check buffer size before memcpy-ing data into it Valerio Setti 2023-07-25 11:41:28 +02:00
  • c9ae862225 tls: use TLS 1.3 guards in ssl_tls13 modules Valerio Setti 2023-07-25 11:23:50 +02:00
  • ea59c43499 tls: fix a comment a rename a variable/symbol Valerio Setti 2023-07-25 11:14:03 +02:00
  • d0371b0a08 debug: keep ECDH_C guard for debug printf accessing ecdh_context's items Valerio Setti 2023-07-25 10:57:01 +02:00
  • 60d3b91eba tls: use TLS 1.2 macros in ssl_tls12_server.c Valerio Setti 2023-07-25 10:43:53 +02:00
  • e4a3636fac code_size_compare: add comments to make code more readable Yanray Wang 2023-07-25 10:37:11 +08:00
  • 25bd331899 code_size_compare: round percentage to an integer value Yanray Wang 2023-07-25 10:24:20 +08:00
  • 1db78fa32a Demonstrate algorithm agility Thomas Daubney 2023-07-24 16:49:14 +01:00
  • 17526a0d16 Merge pull request #7906 from yanrayw/add-pake_guards_psa_crypto Tom Cosgrove 2023-07-24 15:59:28 +01:00
  • cad28ae77a Merge remote-tracking branch 'origin/development' into psa-sha3 Dave Rodgman 2023-07-24 15:51:13 +01:00
  • f7348ae1fc Improve program from first round review comments Thomas Daubney 2023-07-24 12:18:40 +01:00
  • f3fafc3645 Fix CI errors related pkcs5_pbe changes Waleed Elmelegy 2023-07-21 16:20:17 +01:00
  • f2cd717952 code_size_compare: print 'None' if comparing size for a new file Yanray Wang 2023-07-24 16:56:46 +08:00
  • 69262fc087 code_size_compare: add extra indication if print to sys.stdout Yanray Wang 2023-07-24 16:36:40 +08:00
  • a6cf692e2a code_size_compare: simplify how to generate file name of code size Yanray Wang 2023-07-24 15:20:42 +08:00
  • 950590099d code_size_compare: simplify CodeSizeGeneratorWithSize Yanray Wang 2023-07-24 12:29:22 +08:00
  • 5605c6f58f code_size_compare: make CodeSizeBuildInfo more flexible Yanray Wang 2023-07-21 16:09:00 +08:00
  • 955671b0ef code_size_compare: replace SimpleNameSpace to a clearer data struct Yanray Wang 2023-07-21 12:08:27 +08:00
  • 5b64e4c7e0 code_size_compare: clean up comments Yanray Wang 2023-07-20 15:09:51 +08:00
  • 386c2f9e93 code_size_compare: clean up code to make it more readable Yanray Wang 2023-07-20 15:32:15 +08:00
  • 21127f7095 code_size_compare: add logging module and tweak prompt message Yanray Wang 2023-07-19 12:09:45 +08:00
  • 1dd20a32e2 Remove trailing backslash Agathiyan Bragadeesh 2023-07-21 17:07:00 +01:00
  • 8dc913899d Fix server1.crt.der in makefile Agathiyan Bragadeesh 2023-07-24 10:44:00 +01:00
  • 227576aaa4 code_size_compare: add option --stdout to show result in sys.stdout Yanray Wang 2023-07-18 14:35:05 +08:00
  • b664cb7569 code_size_compare: add --markdown to show result in a markdown table Yanray Wang 2023-07-18 12:28:35 +08:00
  • 9b174e90d3 code_size_compare: generate text,data as comparison result Yanray Wang 2023-07-17 17:59:53 +08:00
  • 802af160b4 code_size_compare: support to measure code size with multiple tools Yanray Wang 2023-07-17 14:04:30 +08:00
  • 923f943a3e code_size_compare: introduce SimpleNamespace to store info Yanray Wang 2023-07-17 12:43:00 +08:00
  • 5e9130a5e9 code_size_compare: simplify methods in CodeSizeComparison Yanray Wang 2023-07-17 11:55:54 +08:00
  • e0e276046b code_size_compare: add CodeSizeCalculator to calculate code size Yanray Wang 2023-07-14 17:37:45 +08:00
  • 15c43f3407 code_size_compare: add a base class as CodeSizeGenerator Yanray Wang 2023-07-17 11:17:12 +08:00
  • fc6ed4ddad code_size_compare: add a parser to generate code size with size tool Yanray Wang 2023-07-14 17:33:09 +08:00
  • 3dd3ae219e Remove trailing backslash Agathiyan Bragadeesh 2023-07-21 17:07:00 +01:00
  • 5fd88b7f75 Simplify the logic in a test Gilles Peskine 2023-07-20 22:18:23 +02:00
  • 9d5952dba8 Fix some dependencies on symmetric crypto in some TLS 1.3 tests Gilles Peskine 2023-07-20 20:11:21 +02:00
  • ca57d78a6e Fix PBKDF2 with empty salt on platforms where malloc(0)=NULL Gilles Peskine 2023-07-20 19:08:06 +02:00
  • 3c861642c8 Make sure that size constants are unsigned Gilles Peskine 2023-07-20 15:10:34 +02:00
  • eb41e0d6c8 Correct some msg messages in full config Gilles Peskine 2023-07-19 19:36:55 +02:00
  • 14302ed1c0 Simplify msg messages in full config Gilles Peskine 2023-07-19 19:30:04 +02:00
  • 884b462044 When subtracting classic symbols from full, turn off PSA_CRYPTO_CONFIG Gilles Peskine 2023-07-20 20:11:51 +02:00
  • 7eea4a7a80 Enable MBEDTLS_PSA_CRYPTO_CONFIG in "config.py full" Gilles Peskine 2023-07-19 19:26:30 +02:00
  • cf4fe58fd0 Make malloc-0-null a user config file Gilles Peskine 2023-07-20 19:00:15 +02:00
  • 36dea1501b Fix inconsistencies in no-chachapoly test Gilles Peskine 2023-07-20 22:19:45 +02:00
  • 8dbdf2f7ea Fix typo in function name Gilles Peskine 2023-07-19 19:16:37 +02:00
  • af3a5a263e Remove comments that duplicate the 'msg' call just below Gilles Peskine 2023-07-19 19:10:43 +02:00
  • e92ff1128b Remove duplicated component Gilles Peskine 2023-07-19 19:05:00 +02:00
  • b98d39ce2a Merge pull request #7965 from gilles-peskine-arm/psa_inject_entropy-file-stability-2.28 Gilles Peskine 2023-07-21 17:37:19 +02:00
  • 5647d06be8 Merge pull request #7518 from gilles-peskine-arm/psa_inject_entropy-file-stability Gilles Peskine 2023-07-21 17:37:15 +02:00
  • 2387bdab0f Merge pull request #1038 from Mbed-TLS/development Gilles Peskine 2023-07-21 15:40:36 +02:00
  • 27d8c21a87 Merge pull request #1039 from Mbed-TLS/mbedtls-2.28 Gilles Peskine 2023-07-21 15:39:20 +02:00
  • e4e9e7da58 For tests, rename TEST_BUFFERS_EQUAL() to TEST_MEMORY_COMPARE() Tom Cosgrove 2023-07-21 11:40:20 +01:00
  • a45d902822 Rename the length argument to TEST_CALLOC() to be the more accurate item_count Tom Cosgrove 2023-07-21 11:34:44 +01:00
  • 05b2a87ea0 For tests, rename TEST_CALLOC_OR_FAIL() to just TEST_CALLOC() Tom Cosgrove 2023-07-21 11:31:13 +01:00
  • 87f62850f3 Merge pull request #7893 from ronald-cron-arm/misc-from-psa-crypto Ronald Cron 2023-07-21 10:54:41 +02:00
  • c495845e7a Align ECP_MPI_INIT with mbedtls_mpi struct order in ecp_new.c Xiaokang Qian 2023-07-19 09:11:36 +00:00
  • 73d98405b8 Rework the clone of ecp_curves.c Xiaokang Qian 2023-07-12 03:19:41 +00:00
  • 4d71051145 Enable build of ecp_curves_new.c Xiaokang Qian 2023-06-13 10:57:43 +00:00
  • dc2ea2705b Clone the ecp_curve.c file as ecp_curve_new.c Xiaokang Qian 2023-06-13 10:50:35 +00:00
  • 1fc71160b1 Add missing dependencies on real entropy Gilles Peskine 2023-07-20 20:04:00 +02:00
  • 24d0124868 Fix copypasta in function documentation Gilles Peskine 2023-07-20 17:54:19 +02:00
  • 581c6e12ce MBEDTLS_PSA_INJECT_ENTROPY: ignore seed file Gilles Peskine 2023-04-29 00:32:34 +02:00
  • 58d085419c MBEDTLS_PSA_INJECT_ENTROPY: check the seed file UID Gilles Peskine 2023-04-28 21:13:43 +02:00
  • 154dadfae8 MBEDTLS_PSA_INJECT_ENTROPY: check the lifecycle of the seed file Gilles Peskine 2023-04-28 21:08:46 +02:00
  • cf21e944f6 Modernize remove_seed_file() Gilles Peskine 2023-04-28 21:07:07 +02:00
  • 55e89985f0 Test MBEDTLS_PSA_INJECT_ENTROPY Gilles Peskine 2023-04-28 21:04:28 +02:00
  • bfda1a96bb MBEDTLS_PSA_INJECT_ENTROPY: Skip incompatible tests Gilles Peskine 2023-04-28 23:41:38 +02:00
  • 4f8bf3cc54 MBEDTLS_PSA_INJECT_ENTROPY: Make sure the seed file exist when running tests Gilles Peskine 2023-04-28 23:39:45 +02:00
  • 73521b0715 Tests: provide necessary functions for MBEDTLS_PSA_INJECT_ENTROPY Gilles Peskine 2023-04-28 21:01:49 +02:00
  • 9a9d5eea53 Fix a build error when MBEDTLS_PSA_INJECT_ENTROPY is enabled Gilles Peskine 2023-04-28 21:00:28 +02:00
  • 412a813ad4 For tests, rename ASSERT_ALLOC_WEAK() to TEST_CALLOC_OR_SKIP() Tom Cosgrove 2023-07-20 16:55:14 +01:00
  • c723e86e56 Fix copypasta in function documentation Gilles Peskine 2023-07-20 17:54:19 +02:00
  • f9ffd11e7a For tests, rename ASSERT_ALLOC() to TEST_CALLOC_OR_FAIL() Tom Cosgrove 2023-07-20 16:48:18 +01:00
  • 65cd8519f7 For tests, rename ASSERT_COMPARE() to TEST_BUFFERS_EQUAL() Tom Cosgrove 2023-07-20 16:46:01 +01:00
  • 668323c49e Merge pull request #7922 from AndrzejKurek/doxygen-bad-param-names-2-28 Dave Rodgman 2023-07-20 14:10:13 +01:00
  • ed70fd0c39 Merge pull request #5549 from AndrzejKurek/doxygen-bad-param-names Dave Rodgman 2023-07-20 14:10:10 +01:00
  • c844c1a771 Merge pull request #7546 from mpg/align-psa-md-identifiers Manuel Pégourié-Gonnard 2023-07-20 11:34:28 +02:00
  • 7612d8c049 all.sh: Use consistently CONFIG_TEST_DRIVER_H Ronald Cron 2023-07-20 10:03:54 +02:00
  • 6b49b55d6d all.sh: Use consistently CRYPTO_CONFIG_H Ronald Cron 2023-07-20 09:57:54 +02:00
  • 7a93ac5308 all.sh: Use consistently CONFIG_H Ronald Cron 2023-07-20 09:49:12 +02:00
  • 2b25d36165 Fix PSA crypto configuration file name Ronald Cron 2023-07-20 09:09:10 +02:00
  • 7fa27a1a18 Merge pull request #7960 from daverodgman/expect-fix Dave Rodgman 2023-07-19 19:48:15 +01:00
  • e9fcffd089 Robustness fix to MBEDTLS_LIKELY Dave Rodgman 2023-07-19 15:42:19 +01:00
  • b1d1e4269c Introduce deliberate conflict with the base branch Bence Szépkúti 2023-07-17 19:16:35 +02:00
  • 8e8e6b9be3 Merge pull request #7934 from AgathiyanB/move-declarations-to-top Dave Rodgman 2023-07-19 15:25:27 +01:00
  • 6dd40642e8 Merge pull request #7932 from AgathiyanB/add-mpi-uint-size-macro Dave Rodgman 2023-07-19 14:57:39 +01:00
  • 708d78f80b Improve & test legacy mbedtls_pkcs5_pbe2 Waleed Elmelegy 2023-07-19 14:01:35 +01:00
  • eed55c6c94 Use defined macros for MBEDTLS_MPI_UINT_MAX Agathiyan Bragadeesh 2023-07-19 11:08:02 +01:00
  • 9e8104cdd9 Merge pull request #7949 from AgathiyanB/IAR-asm-keyword Dave Rodgman 2023-07-19 10:03:30 +01:00
  • 131a22ef27 Merge pull request #7950 from AgathiyanB/fix-IAR-using-memset-s Dave Rodgman 2023-07-19 10:01:58 +01:00
  • 8907815866 Added ChangeLog entry Thomas Daubney 2023-07-18 18:29:46 +01:00
  • 5f65acb02b Merge pull request #7859 from gilles-peskine-arm/mbedtls_mpi-smaller Dave Rodgman 2023-07-18 16:48:37 +01:00
  • 46259f670f Internal function mbedtls_mpi_zeroize() can be mbedtls_mpi_zeroize_and_free() Tom Cosgrove 2023-07-18 16:44:14 +01:00