Commit Graph

  • 701ae1d3d9 Exp mod: move declarations before use Janos Follath 2024-02-19 10:56:54 +00:00
  • c9faea0f70 Bignum: Remove/update obsolete comments Janos Follath 2024-02-19 10:49:18 +00:00
  • d93e640882 Merge pull request #8797 from adeaarm/check_config_look_for_crypto_client Manuel Pégourié-Gonnard 2024-02-19 08:14:34 +00:00
  • eba4ca19c6 test_suite_pem: solve driver test disparities Valerio Setti 2024-02-19 07:42:18 +01:00
  • 6805ff7892 use mbedtls_ssl_session_init() to init session variable Benson Liou 2023-12-27 22:03:24 +08:00
  • 4cc6522a85 pem: do not parse ASN1 data after decryption (removes ASN1 dependency) Valerio Setti 2024-02-16 14:40:42 +01:00
  • 8aff4ef274 test_suite_pem: add more test cases for invalid padding data Valerio Setti 2024-02-16 14:31:51 +01:00
  • 90ea4fd201 pk: fix documentation for sign/verify and encrypt/decrypt Valerio Setti 2024-02-15 15:42:24 +01:00
  • 46ee81d259 test_suite_pk: add test cases for RSA keys (sign/verify & crypt/decrypt) Gilles Peskine 2024-02-13 20:05:29 +01:00
  • 0f286d5453 pem: reject empty PEM contents Valerio Setti 2024-02-16 14:30:58 +01:00
  • 41bed383ec To check if client random number is unchanged while receiving HRR BensonLiou 2024-02-16 16:07:53 +08:00
  • f862aae7c3 Merge branch 'development' into random_bye_on_hrr BensonLiou 2024-02-16 15:59:20 +08:00
  • 83b8baf899 mbedtls_pk_import_into_psa: fix Montgomery keys in the legacy case Gilles Peskine 2024-02-15 17:26:07 +01:00
  • 2ec141a429 After pk_import_into_psa, test that the keys match Gilles Peskine 2024-02-15 17:22:37 +01:00
  • 6fe8a06f7e New test helper: mbedtls_test_key_consistency_psa_pk Gilles Peskine 2024-02-15 17:21:17 +01:00
  • 24da9917a6 tests: ssl: early data: Add systematic default case in scenario switches Ronald Cron 2024-02-15 16:13:44 +01:00
  • d6d32b9210 tls13: Improve declaration and doc of early data status Ronald Cron 2024-02-14 12:01:50 +01:00
  • b9a9b1f5a5 tls13: Fix/Improve comments Ronald Cron 2024-02-14 11:28:05 +01:00
  • 84dfbf488a tls13: client: Add comment about early data in 2nd ClientHello Ronald Cron 2024-02-14 10:38:09 +01:00
  • 5fbd27055d tls13: Use a flag not a counter for CCS and HRR handling Ronald Cron 2024-02-14 10:03:36 +01:00
  • 4da1f01f88 Fix copypasta Gilles Peskine 2024-02-15 15:32:12 +01:00
  • d6fc3501c0 Test mbedtls_pk_import_into_psa with different bits Gilles Peskine 2024-02-15 13:53:03 +01:00
  • 1110698ed9 Improve quote_args output readability Dave Rodgman 2024-02-15 16:04:36 +00:00
  • 93ecbef6a8 pk_wrap: set proper PSA algin rsa wrappers based on padding mode set in RSA context Valerio Setti 2024-02-14 11:44:48 +01:00
  • 90dbba5385 Improve output from make/cmake wrapper Dave Rodgman 2024-02-15 14:39:48 +00:00
  • 049ea32931 Fix copypasta Gilles Peskine 2024-02-15 15:32:12 +01:00
  • 3c0c6b1c4b Conditionally include exit label Thomas Daubney 2024-02-15 14:25:08 +00:00
  • 50f58fc3e4 Conditionally include exit label Thomas Daubney 2024-02-15 14:24:03 +00:00
  • db5d607cb1 Generate test wrappers Thomas Daubney 2024-02-15 14:18:02 +00:00
  • 9da359fc65 Add buffer protection to psa_key_derivation_key_agreement Thomas Daubney 2024-02-15 13:15:47 +00:00
  • 4304276539 Add buffer protection to psa_raw_key_agreement Thomas Daubney 2024-02-15 12:57:26 +00:00
  • fe2bda3257 Generate test wrappers Thomas Daubney 2024-02-15 13:35:06 +00:00
  • 9739ac047a Add buffer protection to psa_key_derivation_key_agreement Thomas Daubney 2024-02-15 13:15:47 +00:00
  • ba536dc1db Lock test mutex before doing mutex usage check Paul Elliott 2024-02-13 15:36:47 +00:00
  • 81899aba11 Add buffer protection to psa_raw_key_agreement Thomas Daubney 2024-02-15 12:57:26 +00:00
  • 114ed5ef1e Fix missing mutex lock for mutex usage error Paul Elliott 2024-02-13 15:35:14 +00:00
  • 264e21011a Rename internal test info data accessors Paul Elliott 2024-02-15 12:28:56 +00:00
  • 68a287dc7a Use named constants FROM_PAIR/FROM_PUBLIC for readability Gilles Peskine 2024-02-15 13:30:55 +01:00
  • 0fa6b36257 Always display make/cmake invocation command Dave Rodgman 2024-02-15 12:27:03 +00:00
  • f50cd59b51 Fix encrypt/decrypt confusion Gilles Peskine 2024-02-15 13:13:26 +01:00
  • cbd2cbb408 Rename identifier for consistency Gilles Peskine 2024-02-15 13:12:44 +01:00
  • a9cc4cd1cb Merge pull request #1179 from Ryan-Everett-arm/key-derivation-buffer-protection-backport David Horstmann 2024-02-15 11:54:28 +00:00
  • b539126670 Merge pull request #1156 from Ryan-Everett-arm/key-derivation-buffer-protection David Horstmann 2024-02-15 11:54:20 +00:00
  • 0315123cfb Merge pull request #8691 from billatarm/add-pc-files Janos Follath 2024-02-15 11:21:14 +00:00
  • 63072b1f94 Only test custom-e RSA key generation when built in Gilles Peskine 2024-02-15 11:48:58 +01:00
  • 69f11c8dfb generate key ext: skip driver invocation with non-default method Gilles Peskine 2024-02-14 23:07:33 +01:00
  • c81393b2ed generate/derive key ext: pass method_data_length rather than method_length Gilles Peskine 2024-02-14 20:51:28 +01:00
  • 7a18f9645c psa_generate_key_ext: RSA: support custom public exponent Gilles Peskine 2024-02-12 16:48:11 +01:00
  • f0543becf9 Add Changelog Janos Follath 2024-02-14 15:12:16 +00:00
  • 1609d57d53 Increase default exponentiation window size Janos Follath 2024-02-14 14:58:39 +00:00
  • 4b5edfa0bb Bignum: remove unused functions Janos Follath 2024-02-13 14:15:45 +00:00
  • 1ba40585f9 Use mpi_core_exp_mod in bignum. Janos Follath 2024-02-13 12:36:13 +00:00
  • f0765fa06a Implement psa_generate_key_ext, psa_key_derivation_output_key_ext Gilles Peskine 2024-02-12 16:46:16 +01:00
  • 1d25a0a810 Refactoring: extract rsa_test_e Gilles Peskine 2024-02-12 16:40:04 +01:00
  • 6d81cbc81f Document new functions psa_generate_key_ext, psa_key_derivation_output_key_ext Gilles Peskine 2024-02-12 16:25:19 +01:00
  • 59d63b2106 Merge pull request #8582 from yanrayw/issue/8167/PK_parse_write_OID_dependency Manuel Pégourié-Gonnard 2024-02-15 08:34:14 +00:00
  • a8f8eb1e35 check_config: add missing dependency check for MBEDTLS_PK_WRITE_C Yanray Wang 2023-12-05 11:00:33 +08:00
  • 072a068f9f check_config: combine check for MBEDTLS_PK_PARSE_C Yanray Wang 2023-12-05 10:53:04 +08:00
  • 5b118d4aed Check MBEDTLS_PK_{PARSE,WRITE}_C requires MBEDTLS_OID_C Yanray Wang 2023-12-05 10:31:54 +08:00
  • 687bfcb54c pk: remove duplicate define of MBEDTLS_PK_HAVE_ECC_KEYS Yanray Wang 2023-12-01 12:15:17 +08:00
  • e9954bb9d5 test_suite_pk.function: add correct dependency Yanray Wang 2023-11-30 17:16:33 +08:00
  • b807cc6eba Add checks for PK_[PARSE/WRITE]_C when PK_HAVE_ECC_KEYS is set Yanray Wang 2023-11-30 17:16:20 +08:00
  • 7ebb3c5d01 Add metatests for failing TEST_EQUAL and TEST_LE_* Paul Elliott 2024-02-13 15:06:10 +00:00
  • e66c841c73 Make internal test info accessor functions static. Paul Elliott 2024-02-13 15:33:26 +00:00
  • 60bbfe63a1 Add metatests for failing TEST_EQUAL and TEST_LE_* Paul Elliott 2024-02-13 15:06:10 +00:00
  • 73feaf2682 Comment on locking strategy in psa_fail_key_creation Ryan Everett 2024-02-14 11:36:41 +00:00
  • 3d8118d9dc Revert psa_reserve_free_key_slot changes, lock in start_key_creation instead Ryan Everett 2024-01-30 16:58:47 +00:00
  • b71014406c Make psa_fail_key_creation thread safe Ryan Everett 2024-01-23 20:09:49 +00:00
  • 91ffe5b871 Make psa_finish_key_creation thread safe Ryan Everett 2024-01-23 20:05:42 +00:00
  • 024b395f85 Make psa_reserve_free_key_slot thread safe Ryan Everett 2024-01-23 19:56:32 +00:00
  • 427a5a1915 Docs; minor tidy-up Dave Rodgman 2024-02-14 13:57:53 +00:00
  • 693fb4f0b2 roll up chi loop for gcc -Os Dave Rodgman 2024-02-14 13:46:30 +00:00
  • 3ea9450463 Merge pull request #8734 from valeriosetti/issue8564 Gilles Peskine 2024-02-14 13:43:40 +00:00
  • 0020080f44 Merge pull request #8810 from PiotrBzdrega/development Gilles Peskine 2024-02-14 13:43:36 +00:00
  • 039c903e7b Merge pull request #8818 from forkiee2/mbedtls-2.28 Gilles Peskine 2024-02-14 13:43:32 +00:00
  • 1cf3585ee4 pacify check-names Dave Rodgman 2024-02-14 12:11:47 +00:00
  • 865480279c roll-up chi loop on clang Dave Rodgman 2024-02-14 10:02:58 +00:00
  • 75c8e61ce0 Merge pull request #8814 from gilles-peskine-arm/rsa-bitlen-fix-2.28 Tom Cosgrove 2024-02-14 11:18:28 +00:00
  • 1c0b1bffee Merge pull request #8779 from gilles-peskine-arm/rsa-bitlen-fix Tom Cosgrove 2024-02-14 11:18:25 +00:00
  • aaba623fb4 pacify check-names Dave Rodgman 2024-02-14 10:52:54 +00:00
  • a111c0c894 Improve docs; pacify check-names Dave Rodgman 2024-02-14 09:31:41 +00:00
  • d26df72256 Merge pull request #8820 from gilles-peskine-arm/sha3-compressed-rc Tom Cosgrove 2024-02-14 09:33:50 +00:00
  • e273f7203d tls13: client: Improve CCS handling Ronald Cron 2024-02-13 18:22:26 +01:00
  • d8840ec6e5 add changelog Valerio Setti 2024-02-12 11:28:06 +01:00
  • 3a4f2040b3 test_suite_psa_crypto: fix some test descriptions Valerio Setti 2024-02-12 11:05:15 +01:00
  • c1b93751b3 test_suite_pem: add more test cases for encrypted PEM buffers Valerio Setti 2024-02-12 11:03:16 +01:00
  • 095e1ac71c pem: check data padding in DES/AES decrypted buffers Valerio Setti 2024-02-12 11:01:37 +01:00
  • 6fd6542e9c Roll/unroll various bits Dave Rodgman 2024-02-14 01:20:33 +00:00
  • dc6606b5e3 newline at end of changelog file PiotrBzdrega 2024-02-13 22:17:08 +01:00
  • c609654665 newline at end of changelog file PiotrBzdrega 2024-02-13 22:12:23 +01:00
  • e6c80bc6e5 Merge pull request #8755 from ronald-cron-arm/tls13-client-early-data-status Manuel Pégourié-Gonnard 2024-02-13 20:36:42 +00:00
  • 418f859579 fix cast warning Dave Rodgman 2024-02-13 19:22:28 +00:00
  • cfb126f1ba Read pi table in 4-byte chunks Dave Rodgman 2024-02-13 18:35:41 +00:00
  • d407e0df1b Read rho table in 4-byte chunks Dave Rodgman 2024-02-13 18:27:55 +00:00
  • eb77b6f418 Add session config bit for KEEP_PEER_CERTIFICATE David Horstmann 2024-02-13 17:53:35 +00:00
  • 255a0f5916 Rotate right instead of left Dave Rodgman 2024-02-13 17:55:18 +00:00
  • a2fd778868 Merge pull request #1148 from tom-daubney-arm/backport_hash_buffer_protection David Horstmann 2024-02-13 18:17:57 +00:00
  • 2e7db3c0dd Merge pull request #1142 from tom-daubney-arm/hash_buffer_protection David Horstmann 2024-02-13 18:17:52 +00:00
  • f8b983c855 Pack the iota round constants Gilles Peskine 2024-02-13 18:14:58 +01:00
  • 1f3a7d659f Merge pull request #8816 from paul-elliott-arm/fix_test_fail_deadlock Paul Elliott 2024-02-13 16:34:23 +00:00