Commit Graph

  • de8f56e936 Merge pull request #7884 from valeriosetti/issue7612 Manuel Pégourié-Gonnard 2023-08-01 07:13:36 +00:00
  • 9da40b8927 Update default variable values for compilers Gowtham Suresh Kumar 2023-07-31 16:38:10 +01:00
  • 926d8da47e Fix test dependency Dave Rodgman 2023-07-31 17:28:26 +01:00
  • 3d574da6fc Revert to not enabling asm under Memsan Dave Rodgman 2023-07-31 16:54:00 +01:00
  • 378280e57f Revert "Move constant_flow.h into the main library" Dave Rodgman 2023-07-31 16:34:19 +01:00
  • 3d1bb9be06 Revert "Fix doxygen error" Dave Rodgman 2023-07-31 16:34:17 +01:00
  • 0a6743b2de Fixed AlgorithmIdentifier parameters when used with ECDSA signature algorithm in x509 certificate Marek Jansta 2022-11-07 12:38:38 +01:00
  • f5257c06d1 Cherry picked required prerequisites from dev branch, git hash 0167244b Marek Jansta 2023-07-31 14:49:38 +02:00
  • 3ed980d60f Fix full config in config.py Janos Follath 2023-07-31 16:13:35 +01:00
  • e7eb8052be Seperate declarations from function body Agathiyan Bragadeesh 2023-07-31 16:16:38 +01:00
  • 5521b4ce37 Assign have_rng in declaration of ecp_mul_mxz Agathiyan Bragadeesh 2023-07-31 16:15:56 +01:00
  • baf350c6bd Add PSA_HAVE_SOFT_PBKDF2 to crypto_driver_context_key_derivation Kusumit Ghoderao 2023-07-31 20:22:33 +05:30
  • ab02d391cb test: use only rev-parse for getting the current branch Valerio Setti 2023-07-31 16:47:07 +02:00
  • ccb0344969 test: add GIT alternative commands for older GIT versions Valerio Setti 2023-07-31 15:07:49 +02:00
  • d175d52433 Fix doxygen error Dave Rodgman 2023-07-31 14:03:08 +01:00
  • dc2d7cce02 Merge pull request #7777 from xkqian/bignum_cleanup_ecp_curves Tom Cosgrove 2023-07-31 12:23:35 +00:00
  • fd78c34e23 Move constant_flow.h into the main library Dave Rodgman 2023-07-31 12:38:55 +01:00
  • 1714a9b0eb Revert to old design for mbedtls_ct_memmove_left Dave Rodgman 2023-07-31 12:37:01 +01:00
  • 04a334af55 Make const-time test not depend on internal knowledge of mbedtls_ct_condition_t Dave Rodgman 2023-07-31 12:35:26 +01:00
  • ad9e5b9abe Improve docs for mbedtls_ct_memcmp Dave Rodgman 2023-07-31 12:33:47 +01:00
  • 9ee0e1f6fe Remove GCC redundant-decls workaround for mbedtls_ct_memcmp Dave Rodgman 2023-07-31 12:33:36 +01:00
  • 0172de8b3d Fix docs grammar Dave Rodgman 2023-07-31 12:32:23 +01:00
  • 741d423ef8 Clarify docs for mbedtls_ct_memcpy_if Dave Rodgman 2023-07-31 12:31:01 +01:00
  • 93cec45af3 Improve docs for mbedtls_ct_compiler_opaque Dave Rodgman 2023-07-31 12:30:26 +01:00
  • 32d726033b Improve comments in mbedtls_mpi_lt_mpi_ct Dave Rodgman 2023-07-31 12:28:05 +01:00
  • 07f853713d Clarify comments in mbedtls_ct_memcpy_if Dave Rodgman 2023-07-31 12:27:49 +01:00
  • fb1b851797 Improve docs for mbedtls_mpi_core_cond_assign Dave Rodgman 2023-07-31 12:27:05 +01:00
  • 2f04582d37 Move MBEDTLS_ECP_WITH_MPI_UINT to mbedtls_config.h Janos Follath 2023-07-31 10:57:16 +01:00
  • 43c5bf4f88 crypto_sizes: use PSA_WANT_ALG for MAX signatures and key agreement sizes Valerio Setti 2023-07-31 11:06:50 +02:00
  • f5051efa81 test: properly size output buffer in key_agreement_fail() Valerio Setti 2023-07-31 11:00:43 +02:00
  • 8b27decc6a Revert "crypto_sizes: check also if DH is enabled for PSA_SIGNATURE_MAX_SIZE" Valerio Setti 2023-07-31 10:15:42 +02:00
  • f3135af159 Use config.py in all new bignum tests Janos Follath 2023-07-31 10:07:57 +01:00
  • 82823b2fe8 Fix new bignum tests Janos Follath 2023-07-27 12:25:05 +01:00
  • 59159abcce Fix fast quasi-reduction modulo value of p192K1 in comments Xiaokang Qian 2023-07-28 06:20:06 +00:00
  • d0657b0015 ecp_mod_p448 has been moved to ecp_mod_p_generic_raw, remove here Xiaokang Qian 2023-07-26 10:35:24 +00:00
  • 796500e751 Fix the type cast(size_t to unsigned short) warning Xiaokang Qian 2023-07-20 07:03:07 +00:00
  • b903f4ecb6 Free P and N of the group cause they are dynamic allocated Xiaokang Qian 2023-07-20 05:51:53 +00:00
  • 02a3e0318f Declare mbedtls_ecp_fix_negative() always static to fix check_name failures Xiaokang Qian 2023-06-15 08:35:25 +00:00
  • a8d30ac7e5 Use new ECP_LIGHT symbol in ecp_curves.c Xiaokang Qian 2023-06-15 07:17:35 +00:00
  • be4d6b62ab Fix use of sizeof without brackets in ecp_curves.c Xiaokang Qian 2023-06-15 07:10:48 +00:00
  • e25597dad7 Make ecp_mode_xxx functions depend on the new macro Xiaokang Qian 2023-06-15 07:00:20 +00:00
  • 748a362fd0 Revert ecp_curves.c to commit 449bd83 to save code size Xiaokang Qian 2023-06-15 06:57:34 +00:00
  • 2b174abd86 code style Dave Rodgman 2023-07-28 18:29:41 +01:00
  • 2d28c46055 Fix asm Memsan workaround Dave Rodgman 2023-07-28 18:22:56 +01:00
  • 983448ea62 fix check for no-longer-used macro Dave Rodgman 2023-07-28 17:30:52 +01:00
  • 1ba9744afb Correct code style Thomas Daubney 2023-07-28 17:25:16 +01:00
  • c918c32cc0 Stop hashing the null byte Thomas Daubney 2023-07-28 17:15:03 +01:00
  • 6f1977bf20 Use variables for selecting compilers Gowtham Suresh Kumar 2023-07-28 17:04:47 +01:00
  • c2ad3ad62a Fix error in test vectors Dave Rodgman 2023-07-28 16:44:18 +01:00
  • 1e829a403f Use compgen to gather components in all.sh Gowtham Suresh Kumar 2023-07-28 16:41:21 +01:00
  • d684d7342b code style Dave Rodgman 2023-07-28 16:21:41 +01:00
  • 08691679b5 Enable testing of asm under Memsan Dave Rodgman 2023-07-28 16:17:57 +01:00
  • 8d45ec8b97 Remove test_clang_opt check Gowtham Suresh Kumar 2023-07-28 16:36:25 +01:00
  • 1eacae865e test: check exported length against proper MAX_SIZE Valerio Setti 2023-07-28 16:07:03 +02:00
  • fbe742b2d0 Add extra check to one-shot operation results Thomas Daubney 2023-07-28 16:17:38 +01:00
  • ce14124f7c Check result of multipart operation Thomas Daubney 2023-07-28 16:14:20 +01:00
  • fa5a4bbb02 Improve mbedtls_ct_memmove_left w.r.t. const-flow tests Dave Rodgman 2023-07-28 16:13:52 +01:00
  • 606110fc19 Restructure start of program Thomas Daubney 2023-07-28 15:57:10 +01:00
  • 9cd8011978 tls: fix definition of symbol KEY_EXCHANGE_SOME_XXDH_PSA_ANY Valerio Setti 2023-07-25 12:04:21 +02:00
  • 1f98736e71 Add clarifying comment to new program section Thomas Daubney 2023-07-28 15:23:06 +01:00
  • a2b7519d63 Use memcmp instead of reinventing it Thomas Daubney 2023-07-28 15:21:46 +01:00
  • 8de3482507 Fix false-positive non-const-time errors in test Dave Rodgman 2023-07-28 15:10:00 +01:00
  • 9730cb1274 Change hash output formatting Thomas Daubney 2023-07-28 15:07:19 +01:00
  • 478c236938 crypto_sizes: check also if DH is enabled for PSA_SIGNATURE_MAX_SIZE Valerio Setti 2023-07-28 16:05:53 +02:00
  • c07fa29b58 Change wording in error message Thomas Daubney 2023-07-28 14:58:55 +01:00
  • 3071c85835 Clarify comments Thomas Daubney 2023-07-28 14:47:47 +01:00
  • c050037c08 Remove mbedtls_ and psa_ prefix from var names Thomas Daubney 2023-07-28 14:44:25 +01:00
  • a79f806225 Remove superfluous calls to psa_hash_abort Thomas Daubney 2023-07-28 14:33:20 +01:00
  • 6fc4ca2d85 Replace hash_size with hash_length Thomas Daubney 2023-07-28 14:31:06 +01:00
  • 2c872340e8 Fix erroneous macro guards Thomas Daubney 2023-07-28 14:21:38 +01:00
  • c1319f4a26 debug: improve debug_print_psa_ec() as not to depend on bignum Valerio Setti 2023-07-27 16:20:07 +02:00
  • 797e396fd9 debug: use proper guard for PK_DEBUG_MPI items Valerio Setti 2023-07-27 16:19:00 +02:00
  • ee07afa205 code_size_compare: add option '--show-all' Yanray Wang 2023-07-28 16:34:05 +08:00
  • 43cef57e51 Merge pull request #7811 from mpg/md-info Manuel Pégourié-Gonnard 2023-07-28 08:34:09 +00:00
  • cec82e41e0 Merge pull request #8003 from daverodgman/code_style_since Dave Rodgman 2023-07-28 10:56:58 +01:00
  • b167320e27 code_size_compare: use '.md' suffix if '--markdown' enabled Yanray Wang 2023-07-28 13:47:19 +08:00
  • e15b8d21d6 Merge pull request #8004 from daverodgman/code_style_since-2.28 Tom Cosgrove 2023-07-28 08:22:04 +00:00
  • dcf360dd72 code_size_compare: track removed object as well Yanray Wang 2023-07-27 15:28:20 +08:00
  • c22affd9ec Fix dependencies for pbkdf2 cmac Kusumit Ghoderao 2023-07-28 13:31:58 +05:30
  • f3e696dc1b Add ifdef for hmac and cmac set password Kusumit Ghoderao 2023-07-28 13:30:50 +05:30
  • c012a2de7c crypto_sizes: change initial MAX_SIZE value to 1 Valerio Setti 2023-07-28 09:34:44 +02:00
  • 644e01d767 crypto_sizes: fix typo Valerio Setti 2023-07-28 09:31:51 +02:00
  • dd7b24c3bf whitespace fix Dave Rodgman 2023-07-27 20:00:41 +01:00
  • fccc5f8b9d whitespace fix Dave Rodgman 2023-07-27 20:00:41 +01:00
  • 82d174a6a8 pylint tidy-up Dave Rodgman 2023-07-27 18:50:50 +01:00
  • e67ffd6d20 pylint tidy-up Dave Rodgman 2023-07-27 18:50:50 +01:00
  • 73b87e39d6 Make code_style.py -s default to -s=mbedtls-2.28 Dave Rodgman 2023-07-27 14:22:55 +01:00
  • b96dbc6486 Make code_style.py -s more precise Dave Rodgman 2023-07-27 14:22:34 +01:00
  • eaf2761ae1 Make code_style.py -s default to -s=development Dave Rodgman 2023-07-27 14:22:55 +01:00
  • 05b60f40ac Make code_style.py -s more precise Dave Rodgman 2023-07-27 14:22:34 +01:00
  • a83d9bf0db crypto_sizes: size PSA max symbols according to actual support Valerio Setti 2023-07-27 18:15:20 +02:00
  • be55b7e45a Add test cases for 16 byte and empty password Kusumit Ghoderao 2023-07-27 21:22:26 +05:30
  • 5f3345ae44 Add issue link instead of issue number Kusumit Ghoderao 2023-07-27 21:21:38 +05:30
  • 0bca4c5fc4 Add ifdef for hmac and cmac specific functions Kusumit Ghoderao 2023-07-27 21:20:14 +05:30
  • a12e2d53bd Replace AES_CMAC_128_PRF_OUTPUT_SIZE with PSA_MAC_LENGTH() Kusumit Ghoderao 2023-07-27 21:18:30 +05:30
  • 9ab03c3d72 Define PSA_ALG_IS_PBKDF2 Kusumit Ghoderao 2023-07-27 21:14:05 +05:30
  • 2addf35855 Replace MBEDTLS_PSA_BUILTIN_PBKDF2_XXX with PSA_HAVE_SOFT_PBKDF2 Kusumit Ghoderao 2023-07-27 21:09:26 +05:30
  • 105f772fe8 Add PSA_HAVE_SOFT_PBKDF2 Kusumit Ghoderao 2023-07-27 21:03:06 +05:30
  • ce38db1c0b Change config_psa.h PBKDF2_CMAC dependencies Kusumit Ghoderao 2023-07-27 21:01:03 +05:30
  • a0f81e8ef8 Add OID tests for HMAC-xxx Dave Rodgman 2023-07-27 15:46:33 +01:00