Commit Graph

  • ad4f0ada37 Merge pull request #8514 from mschulz-at-hilscher/fixes/uninitialized-variable-in-ssl_msg Manuel Pégourié-Gonnard 2023-12-06 11:06:03 +00:00
  • 1e3fcc5692 config-tfm: fix typo in comment Valerio Setti 2023-12-06 11:56:08 +01:00
  • 69402fd6a2 changelog: fix typos and working Valerio Setti 2023-12-06 11:32:10 +01:00
  • ae952174a7 Enable early data depend on whether the early data file exist Xiaokang Qian 2023-12-06 10:27:27 +00:00
  • 2bd53667d6 pk: guard key enrollment function with PSA_CRYPTO_CLIENT Valerio Setti 2023-12-05 10:14:06 +01:00
  • 750e06743f remove misbehavior tests and code Jerry Yu 2023-12-06 15:43:23 +08:00
  • 95648b0134 Some minor improvement Jerry Yu 2023-12-06 15:03:34 +08:00
  • c59c586ac4 change prototype of write_early_data_ext Jerry Yu 2023-12-05 10:40:49 +08:00
  • 163e12f7ff remove assignment for session->max_early_data_size Jerry Yu 2023-12-05 10:37:23 +08:00
  • ebe1de62f9 fix various issue Jerry Yu 2023-11-28 15:16:35 +08:00
  • 9e7f9bc253 Add missing debug message Jerry Yu 2023-11-27 16:52:07 +08:00
  • db97163ac7 add ticket max_early_data_size check Jerry Yu 2023-11-27 15:27:59 +08:00
  • 5233539d9f share write_early_data_ext function Jerry Yu 2023-11-23 18:06:06 +08:00
  • 0069abc141 improve comments of new session ticket Jerry Yu 2023-11-23 21:07:28 +08:00
  • 1a160703f8 set max_early_data_size of ticket to keep consistent Jerry Yu 2023-11-23 18:17:38 +08:00
  • f135bac89c Add max_early_data_size check Jerry Yu 2023-11-23 18:10:51 +08:00
  • 930ce4cfac Revert "change max_early_data_size source" Jerry Yu 2023-11-23 17:28:01 +08:00
  • 2f5d93b1c9 Revert "set init value for max_early_data_size in session" Jerry Yu 2023-11-23 17:27:55 +08:00
  • d450fd25ae change max_early_data_size source Jerry Yu 2023-11-22 16:38:00 +08:00
  • 525990fb62 set init value for max_early_data_size in session Jerry Yu 2023-11-15 14:51:18 +08:00
  • db6fda71e5 improve early data comments Jerry Yu 2023-11-22 12:40:20 +08:00
  • 10795a0c3b replace ticket permission set Jerry Yu 2023-11-22 12:29:17 +08:00
  • c2b1bc4fb6 replace early data permission check Jerry Yu 2023-11-22 10:08:13 +08:00
  • 4da7c22cd6 add early data flag check function Jerry Yu 2023-11-21 17:30:43 +08:00
  • ea96ac3da9 fix various issues Jerry Yu 2023-11-21 17:06:36 +08:00
  • 3db60dfe5e rename nst early data write function Jerry Yu 2023-11-21 16:39:10 +08:00
  • 391c943340 Add tests for ticket early data permission bit Jerry Yu 2023-11-15 12:46:58 +08:00
  • 3c2b21ed0e Enable multi max_early_data_size value for connections Jerry Yu 2023-02-08 16:39:13 +08:00
  • fceddb310e Add early data permission check Jerry Yu 2022-12-12 15:30:34 +08:00
  • 01da35e2c8 add early data extension of NST Jerry Yu 2022-12-12 15:09:22 +08:00
  • bced8bc8d7 ssl_tls12_server: export/import PK parsed key in TLS side Valerio Setti 2023-12-06 10:40:47 +01:00
  • 611c717c02 Sync the early_data option with internal parameters in ssl_client2 Xiaokang Qian 2023-12-06 09:24:58 +00:00
  • fbbafa0d2d pkparse: do not set key algorithm for Montgomery keys in pk_ecc_set_key() Valerio Setti 2023-12-06 10:07:34 +01:00
  • f8fe11d14d Remove the generic file read functions and simply the early data read Xiaokang Qian 2023-12-06 07:40:50 +00:00
  • 40f3f1c36f Merge pull request #7058 from yuhaoth/pr/tls13-early-data-parsing-0-rtt-data Ronald Cron 2023-12-06 06:47:32 +00:00
  • eaebedb30b Refine the detect code to enable early data or not Xiaokang Qian 2023-12-06 02:55:16 +00:00
  • b1db72923e Rename the generic read functions to ssl_read_file_text Xiaokang Qian 2023-12-06 02:33:38 +00:00
  • 6c678d7543 Improve the comments of early data input Xiaokang Qian 2023-12-06 02:20:51 +00:00
  • 9f55e8e442 Add a section about ALT implementations Gilles Peskine 2023-12-05 22:21:09 +01:00
  • 42020fb186 revert output message which used by testing Jerry Yu 2023-12-05 17:35:53 +08:00
  • a1e867c676 Merge pull request #8576 from yanrayw/issue/fix-tls13-session_negotiate-assignment Ronald Cron 2023-12-05 08:31:24 +00:00
  • 631e6bd221 ChangeLog: add fix-tls13-server-min-version-check.txt Yanray Wang 2023-12-05 15:34:49 +08:00
  • 4ac2c18834 pk_wrap: try both ECDSA signature schemes in ecdsa_sign_psa() Valerio Setti 2023-12-05 07:59:01 +01:00
  • 70fbdcf904 Change early data flag to input file Xiaokang Qian 2023-12-04 08:46:02 +00:00
  • ebb1b1d48f fix ci test failure Jerry Yu 2023-12-05 11:02:15 +08:00
  • b55f9eb5c5 fix various issues Jerry Yu 2023-12-05 10:27:17 +08:00
  • e5044a0eb2 Add a generic section about key management Gilles Peskine 2023-12-04 23:14:45 +01:00
  • 32dfaf485c More information about output buffer sizes Gilles Peskine 2023-12-04 23:14:25 +01:00
  • 76bc64e101 Diffie-Hellman: several clarifications and corrections Gilles Peskine 2023-12-04 22:49:18 +01:00
  • d921391bf4 Note a few things about PAKE (thanks Manuel) Gilles Peskine 2023-12-04 22:35:34 +01:00
  • 5eeca33749 Use "workflow" rather than "flow" for clarity Gilles Peskine 2023-12-04 22:35:12 +01:00
  • 06002c5624 typos and minor clarifications Gilles Peskine 2023-12-04 22:24:25 +01:00
  • 2fffc45feb fixup! Correct function names prefixes where they diverge from module names Gilles Peskine 2023-12-04 22:22:07 +01:00
  • 8aec84f3a7 pkwrite: minor code reshape Valerio Setti 2023-12-04 16:04:21 +01:00
  • 5e18b90c95 config-tfm: disable CIPHER_C Valerio Setti 2023-12-04 12:07:30 +01:00
  • 58d0206f39 test_suite_block_cipher: fix depends_on for Camellia tests Valerio Setti 2023-12-04 12:01:06 +01:00
  • 20e93a2a9d driver-only-builds: update documentation for AEADs Valerio Setti 2023-12-04 11:29:36 +01:00
  • 10149c9516 changelog: add changelog for AEAD support without CIPHER_C Valerio Setti 2023-12-04 09:21:46 +01:00
  • fe23daf8a3 Remove leftover code from initial changelog support Gabor Mezei 2023-12-04 14:37:31 +01:00
  • 302a487499 test_driver_key_management: rename counter for export_public_key() hits Valerio Setti 2023-12-04 10:27:00 +01:00
  • 829ce0facf test_driver_cipher: add forced return status for encrypt and set_iv Valerio Setti 2023-11-27 12:27:46 +01:00
  • 7ef35a9b3c test_suite_psa_crypto_driver_wrappers: add counter for failing psa_cipher_update() Valerio Setti 2023-11-24 12:51:42 +01:00
  • 83e0de8481 crypto_extra: revert changes to mbedtls_psa_random_free() Valerio Setti 2023-11-24 12:13:05 +01:00
  • 0ca1868fcd test_suite_psa_crypto_driver_wrappers: fix missing hit counter reset before test Valerio Setti 2023-11-24 12:10:23 +01:00
  • 7448367f68 test_suite_psa_crypto_slot_management: modify check on open key slots Valerio Setti 2023-11-24 08:36:12 +01:00
  • 7ab90723c4 mbedtls_config: update descriptions of MBEDTLS_CTR_DRBG_C and MBEDTLS_PSA_CRYPTO_C Valerio Setti 2023-11-23 16:29:51 +01:00
  • 45337a8895 test_suite_psa_crypto_driver_wrappers: add counter for cipher_update() Valerio Setti 2023-11-23 14:35:02 +01:00
  • 6ef82ae39d test_suite_psa_crypto_driver_wrappers: improving driver access counters Valerio Setti 2023-11-13 10:32:34 +01:00
  • 0a903db804 test_suite_psa_crypto_slot_management: some fix for available key slots Valerio Setti 2023-11-13 10:29:53 +01:00
  • dc32ac20fd test_suite_[ctr_drbg/random]: initialize/close PSA in tests Valerio Setti 2023-11-13 10:27:56 +01:00
  • 402cfba4dc psa: free RNG implementation before checking for remaining open key slots Valerio Setti 2023-11-13 10:24:32 +01:00
  • 5f4b28defc ctr_drbg: add alternative PSA implementation when AES_C is not defined Valerio Setti 2023-11-13 10:18:16 +01:00
  • fbefe04bf3 check_config: fix requirements for CTR_DRBG Valerio Setti 2023-11-13 10:15:43 +01:00
  • 40a93dff32 all.sh: keep CTR_DRBG enabled in test_psa_crypto_config_accel_cipher_aead() Valerio Setti 2023-11-13 10:14:47 +01:00
  • 3d12d65946 Merge pull request #8590 from valeriosetti/fix-pkcs5-pkcs12 Manuel Pégourié-Gonnard 2023-12-04 10:03:02 +00:00
  • 9afc0200c7 Merge pull request #8563 from Oldes/issues-8562 Dave Rodgman 2023-12-04 09:53:08 +00:00
  • 3d82ffce5b ssl-opt: test handshake for TLS 1.2 only cli with TLS 1.3 only srv Yanray Wang 2023-12-04 15:32:20 +08:00
  • fb0f47b1f8 tls13: srv: check tls version in ClientHello with min_tls_version Yanray Wang 2023-12-04 15:27:28 +08:00
  • 7a2dae6442 Merge pull request #8589 from daverodgman/ct-unused Dave Rodgman 2023-12-04 09:41:39 +00:00
  • aad9449146 test_suite_debug.function: check return value for _config_defaults Yanray Wang 2023-12-04 10:42:06 +08:00
  • a72bc9adf7 ssl_helpers: remove guard for rng_get() Yanray Wang 2023-12-01 23:34:27 +08:00
  • 197199f154 tls12 & tls13 server: remove RNG check in write_server_hello Yanray Wang 2023-12-01 17:28:56 +08:00
  • c83186effa ssl_client: remove RNG check in write_client_hello Yanray Wang 2023-12-01 17:24:48 +08:00
  • 5b60b424b7 test_suite_debug.function: configure RNG to address test failure Yanray Wang 2023-12-01 17:20:22 +08:00
  • d6128e9ab9 test_suite_ssl.function: configure RNG to address test failure Yanray Wang 2023-12-01 17:08:56 +08:00
  • f88e529de3 ssl_helpers: make rng_get available for other test cases Yanray Wang 2023-12-01 16:39:34 +08:00
  • 7bb40a3650 send unexpected alert when not received eoed or app during reading early data Jerry Yu 2023-12-04 10:04:15 +08:00
  • fbf039932a Send decode error alert when EOED parsing fail Jerry Yu 2023-12-04 10:00:37 +08:00
  • 3be850782c fix various issues Jerry Yu 2023-12-04 09:58:54 +08:00
  • 10769bca9e Fix bad whitespace in keyword argument assignment Thomas Daubney 2023-12-01 23:47:59 +00:00
  • 3a0690647e Use guess_mbedtls_root in Mbed-TLS-only script Thomas Daubney 2023-12-01 18:27:25 +00:00
  • 04c446cc21 Modify crypto_core_directory to also return a relative path Thomas Daubney 2023-12-01 17:18:38 +00:00
  • 4577bda6d5 pkcs[5|12]: use cipher enums for encrypt and decrypt Valerio Setti 2023-12-01 16:51:24 +01:00
  • 744577a429 tls13: early_data: cli: check a PSK has been selected in EE Yanray Wang 2023-12-01 22:33:59 +08:00
  • f1be1f6740 Remove unused code Dave Rodgman 2023-12-01 13:53:45 +00:00
  • 304fa091cf Shortening a comment line Related to: https://github.com/Mbed-TLS/mbedtls/issues/8562 Oldes Huhuman 2023-12-01 12:23:26 +01:00
  • 99030e2a50 Remove trailing whitespace Thomas Daubney 2023-12-01 09:52:35 +00:00
  • 9ae6534c20 tls13: early_data: cli: improve comment Yanray Wang 2023-12-01 17:46:06 +08:00
  • 03a00768c0 tls13: early_data: cli: improve comment Yanray Wang 2023-12-01 17:40:19 +08:00
  • 0af63dc263 improve comments and output message Jerry Yu 2023-12-01 17:14:51 +08:00