Commit Graph

  • 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
  • 7b0ee1e655 Fix control bypass warnings Agathiyan Bragadeesh 2023-07-27 15:51:46 +01:00
  • d7bdbbeb0a Improve naming of mimimum RSA key size generation configurations Waleed Elmelegy 2023-07-20 16:26:58 +00:00
  • f2e3eb8bd9 Add OID for HMAC-RIPEMD160 Dave Rodgman 2023-07-27 15:46:05 +01:00
  • 5cc67a3ee2 Add OIDs for HMAC-SHA3 Dave Rodgman 2023-07-27 14:44:35 +01:00
  • a2cdc840de Fix pre-existing missing closing #endif comment Dave Rodgman 2023-07-27 14:44:13 +01:00
  • 2d626cc44f Fix missing opening brace in comments Dave Rodgman 2023-07-27 14:43:55 +01:00
  • 0540fe74e3 Fix code style Tom Cosgrove 2023-07-27 14:17:27 +01:00
  • 25b4e72d6e MBEDTLS_PSA_CRYPTO_CONFIG is ready for production Gilles Peskine 2023-07-27 15:05:12 +02:00
  • e0fa7ec4db Merge pull request #7988 from gabor-mezei-arm/7598_add_32bit_test_component Janos Follath 2023-07-27 13:00:04 +00:00
  • 763b353f2f Replace TEST_ASSERT("message" == 0) with TEST_FAIL Agathiyan Bragadeesh 2023-07-27 13:52:31 +01:00
  • 5c60382201 code style Dave Rodgman 2023-07-27 13:28:41 +01:00
  • d2c9f6d256 Strengthen psa_mac_verify testing Dave Rodgman 2023-07-27 13:00:02 +01:00
  • 0c38385858 Use psa_mac_compare in tests; add some HMAC edge-cases Dave Rodgman 2023-07-27 12:54:09 +01:00
  • 3d158f0c28 Adapt tests to work on all possible minimum RSA key sizes Waleed Elmelegy 2023-07-07 11:48:03 +00:00
  • ab5707185a Add a minimum rsa key size config to psa config Waleed Elmelegy 2023-07-05 16:40:58 +00:00
  • 76336c3e4d Enforce minimum key size when generating RSA key size Waleed Elmelegy 2023-06-30 16:48:19 +01:00
  • 0fda0d2e5c Fix overly specific description in public doc Manuel Pégourié-Gonnard 2023-07-27 12:22:52 +02:00
  • 430a4f3968 rsa_signature: Use heap memory to allocate DER encoded RSA private key Sarvesh Bodakhe 2023-07-27 14:51:25 +05:30
  • 9c5c2a4b71 crypto_legacy: fix initial comment Valerio Setti 2023-07-27 11:11:19 +02:00
  • 3a96227706 generate_psa_tests: remove checks for DH's LEGACY symbols Valerio Setti 2023-07-27 11:01:33 +02:00
  • dfed278218 changelog: fix errors/typos Valerio Setti 2023-07-27 10:57:55 +02:00
  • ae68c09a69 Merge pull request #7987 from gilles-peskine-arm/ssl_premaster_secret-empty-2.28 Gilles Peskine 2023-07-27 10:29:27 +02:00
  • 7ef14bf8a2 Merge pull request #7835 from gilles-peskine-arm/ssl_premaster_secret-empty-3.4 Gilles Peskine 2023-07-27 08:28:21 +00:00
  • 4b36c59d42 ChangeLog: improving descriptions of KEY_PAIR changes Valerio Setti 2023-07-13 11:31:21 +02:00
  • 27602c32a2 test: accelerate all KEY_PAIR symbols in accel FFDH component Valerio Setti 2023-07-10 16:38:59 +02:00
  • a55f042636 psa: replace DH_KEY_PAIR_LEGACY with new symbols Valerio Setti 2023-07-10 15:34:41 +02:00
  • 4dfc132bcb code_size_compare: change format for comparison result Yanray Wang 2023-07-27 10:44:50 +08:00
  • 6f09267646 code_size_compare: remove column of percentage for code size change Yanray Wang 2023-07-27 10:15:13 +08:00
  • 34d8bd37d9 Fix warnings from clang-16 Gowtham Suresh Kumar 2023-07-26 17:18:55 +01:00
  • 1997f3022f PSA_CRYPTO_DRIVER_TEST_ALL is incompatible with MBEDTLS_PSA_CRYPTO_CONFIG Gilles Peskine 2023-07-26 18:45:20 +02:00
  • 51ed3139d1 Merge pull request #7909 from mpg/dh-generate-psa-tests Gilles Peskine 2023-07-26 17:46:09 +00:00
  • 44fae4908d Add PSA HMAC MD5 test Dave Rodgman 2023-07-26 18:45:19 +01:00
  • faff45c917 Add HMAC tests for other digest algorithms Dave Rodgman 2023-07-26 18:13:58 +01:00