Commit Graph

  • e6ed23cb90 Fix typo in x509_crt_check() comment Neil Armstrong 2022-04-22 09:44:04 +02:00
  • e8ff350698 Update code to align with tls13 coding standard XiaokangQian 2022-04-22 02:34:40 +00:00
  • 287527042b Avoid potentially passing NULL arguments Leonid Rozenboim 2022-04-21 18:00:52 -07:00
  • 70701e39b5 Merge pull request #5726 from mprse/mixed_psk_1_v2 Manuel Pégourié-Gonnard 2022-04-21 17:11:52 +02:00
  • 90c70146b5 Merge pull request #5728 from superna9999/5711-pk-opaque-rsa-pss-sign Manuel Pégourié-Gonnard 2022-04-21 17:11:18 +02:00
  • 4d3a60475c Change default config version to development style XiaokangQian 2022-04-21 13:46:17 +00:00
  • 4e8cd7b903 Remove useless selected_group XiaokangQian 2022-04-21 09:48:09 +00:00
  • 35de7b013a Merge pull request #5741 from gilles-peskine-arm/depends-curves-positive-only-2.28 Gilles Peskine 2022-04-21 12:34:47 +02:00
  • 9d8716c5aa Merge pull request #5739 from gilles-peskine-arm/depends-curves-positive-only Gilles Peskine 2022-04-21 12:34:44 +02:00
  • 843795ad2f Use macro for public key buffer size in pk_psa_wrap_sign_ext() Neil Armstrong 2022-04-21 12:23:28 +02:00
  • 13e76be02b Reorganize & simplify mbedtls_pk_sign_ext() handling of wrapped RSA-PSS Neil Armstrong 2022-04-21 12:08:52 +02:00
  • afbfed9397 Merge pull request #5582 from gilles-peskine-arm/ssl-opt-auto-psk Gilles Peskine 2022-04-21 12:03:53 +02:00
  • f7a101af3c Merge pull request #5730 from gilles-peskine-arm/ssl-opt-auto-psk-2.28 Gilles Peskine 2022-04-21 12:03:43 +02:00
  • 4e47a91d2e Fix indentation issues Przemek Stekiel 2022-04-21 11:40:18 +02:00
  • 4daaa2bd05 derive_output mix-psk test: add more cases for derivation of output key Przemek Stekiel 2022-04-20 10:06:38 +02:00
  • 6aabc473ce derive_output test: remove redundant tests with raw key agreement Przemek Stekiel 2022-04-20 09:18:04 +02:00
  • e665466a80 derive_output test: add other key type value 11 to handle raw key type Przemek Stekiel 2022-04-20 09:14:51 +02:00
  • c5bd1b8b24 PSA key derivation mix-psk tests: add description for bad state cases Przemek Stekiel 2022-04-20 09:04:12 +02:00
  • 03faf5d2c1 psa_tls12_prf_psk_to_ms_set_key: clear buffers after usage Przemek Stekiel 2022-04-20 08:37:43 +02:00
  • 937b90febf Add null check for pms allocation Przemek Stekiel 2022-04-20 08:33:13 +02:00
  • 7f1c89d1d4 Provide other_secret, other_secret_length fields if MBEDTLS_PSA_BUILTIN_ALG_TLS12_PSK_TO_MS is defined Przemek Stekiel 2022-04-19 14:00:37 +02:00
  • e47201b34a rename: psa_tls12_prf_set_other_key->psa_tls12_prf_psk_to_ms_set_other_key and adapt code Przemek Stekiel 2022-04-19 13:53:28 +02:00
  • 38647defa8 derive_output() test: fix code style Przemek Stekiel 2022-04-19 13:27:47 +02:00
  • 2503f7e4cb Handle empty other secret when passed with input bytes Przemek Stekiel 2022-04-12 12:08:01 +02:00
  • cd00d7f724 test PSA key derivation: add positive and negative cases for mixed-psk Przemek Stekiel 2022-04-01 13:40:48 +02:00
  • 23143dca2a Update mbedtls_pk_wrap_as_opaque() public documentation for RSA & RSA-PSS Neil Armstrong 2022-04-21 11:33:54 +02:00
  • b29d814169 Use MAX_SIZE macros instead of hard-coding IV/nonce max size Gilles Peskine 2022-04-21 11:14:52 +02:00
  • 5eef11af2c Remove redundant initialization of iv_length Gilles Peskine 2022-04-21 11:14:30 +02:00
  • 286c314ae3 cipher_alg_without_iv: also test multipart decryption Gilles Peskine 2022-04-20 17:09:38 +02:00
  • 9e38f2c8fd cipher_alg_without_iv: generalized to also do decryption Gilles Peskine 2022-04-20 17:07:52 +02:00
  • 060d867598 Update parse_key_share in server side and version config XiaokangQian 2022-04-21 09:24:56 +00:00
  • 9b9b614a02 cipher_encrypt_alg_without_iv: validate size macros independently Gilles Peskine 2022-04-20 16:55:03 +02:00
  • 09030a345c Refine component_check_test_requires_psa_disabled change grep options order for better compatibility Neil Armstrong 2022-04-21 11:17:43 +02:00
  • b973ae43db Use MAX_SIZE macros instead of hard-coding IV/nonce max size Gilles Peskine 2022-04-21 11:14:52 +02:00
  • b534759e19 Remove redundant initialization of iv_length Gilles Peskine 2022-04-21 11:14:30 +02:00
  • 62de767b27 test_psa_crypto_config_accel_ecdsa: disable obsolete hashes Gilles Peskine 2022-04-21 11:05:16 +02:00
  • 771e42a270 Merge pull request #5698 from ronald-cron-arm/tls13-misc Ronald Cron 2022-04-21 09:57:36 +02:00
  • 7ea6ae892e Merge pull request #5743 from Anton-TF/build-win32 Paul Elliott 2022-04-21 08:42:56 +01:00
  • b84f8d4e88 Corrects flag set in tests Thomas Daubney 2022-04-21 08:35:29 +01:00
  • ec52893ec3 Improve readability and relevance of values Manuel Pégourié-Gonnard 2022-04-21 09:25:23 +02:00
  • 28015e1e44 Set flag to proper value Thomas Daubney 2022-04-21 08:12:59 +01:00
  • 0a1b54ed73 Minor change the place of some functions XiaokangQian 2022-04-21 03:01:38 +00:00
  • 784e65b7e2 Add RC4 positive test Gilles Peskine 2022-04-20 17:09:57 +02:00
  • 4da5a85f80 cipher_alg_without_iv: also test multipart operations Gilles Peskine 2022-04-20 17:09:38 +02:00
  • 69d9817a66 cipher_alg_without_iv: generalized to also do decryption Gilles Peskine 2022-04-20 17:07:52 +02:00
  • 5f50420dc8 cipher_encrypt_alg_without_iv: validate size macros independently Gilles Peskine 2022-04-20 16:55:03 +02:00
  • 4a83c1047f Fix RC4 multipart PSA Gilles Peskine 2022-04-20 17:00:22 +02:00
  • c768600de7 Mbed TLS supports RC4 only with 128-bit keys Gilles Peskine 2022-04-20 16:31:37 +02:00
  • ce78c9600f Rename and document mac_or_tag_lengths -> permitted_truncations Gilles Peskine 2022-04-12 18:51:01 +02:00
  • b8bd61a6ed No need to recalculate iv_length Gilles Peskine 2022-04-05 16:32:07 +02:00
  • 913c01f978 Fix digits in octal constant Gilles Peskine 2022-04-05 16:31:16 +02:00
  • 65bc92a425 Don't try to perform operations when driver support is lacking Gilles Peskine 2022-03-20 20:44:22 +01:00
  • 75d40ef8cb Refine code base on review XiaokangQian 2022-04-20 11:05:24 +00:00
  • 318dc763a6 Fix test failure issue and update code styles XiaokangQian 2022-04-20 09:43:51 +00:00
  • de33391fa0 Rebase and solve conflicts XiaokangQian 2022-04-20 08:49:42 +00:00
  • d8d19de1c7 Expand negative coverage of ECDSA verification Manuel Pégourié-Gonnard 2022-04-20 10:34:22 +02:00
  • 0803755347 Update code base on review comments XiaokangQian 2022-04-20 07:16:41 +00:00
  • 17f974c63e Re-order the ciphersuite matching code in parse_client_hello XiaokangQian 2022-04-19 09:57:41 +00:00
  • 84823779ce Only store the first group in ssl_tls13_parse_supported_groups_ext() XiaokangQian 2022-04-19 07:57:30 +00:00
  • 3f84d5d0cd Update test cases and fix the test failure XiaokangQian 2022-04-19 06:36:17 +00:00
  • b67384d05c Fix coding style and comments styles XiaokangQian 2022-04-19 00:02:38 +00:00
  • f8ceb94fe7 Fix the parse_sig_alg_ext fail issue XiaokangQian 2022-04-15 11:43:27 +00:00
  • 8f9dfe41c0 Fix comments about coding styles and test cases XiaokangQian 2022-04-15 02:52:39 +00:00
  • cfd925f3e8 Fix comments and remove hrr related code XiaokangQian 2022-04-14 07:10:37 +00:00
  • ed582dd023 Update based on comments XiaokangQian 2022-04-13 08:21:05 +00:00
  • 4080a7f687 Change code style and some share functions XiaokangQian 2022-04-11 09:55:18 +00:00
  • 9b5d04b078 Share parse_key_share() between client and server XiaokangQian 2022-04-10 10:20:43 +00:00
  • c4b8c99a38 Rebase and solve conflicts and issues XiaokangQian 2022-04-07 11:31:38 +00:00
  • 8840888fbc Fix some CI issues XiaokangQian 2022-04-02 10:15:03 +00:00
  • c5763b5efd Change some code style XiaokangQian 2022-04-02 03:34:37 +00:00
  • 3207a32b1e Fix unused parameter issue and not defined cookie issue XiaokangQian 2022-02-23 03:15:27 +00:00
  • 7ac3ab3404 Add hello retry request count for server XiaokangQian 2022-02-22 04:03:26 +00:00
  • a9c58419f2 Fix compile and test issues XiaokangQian 2022-02-17 09:41:26 +00:00
  • 5e4528cd12 Add test cases for server side parse client hello XiaokangQian 2022-02-17 07:51:12 +00:00
  • 7807f9f5c9 Add client hello into server side XiaokangQian 2022-02-15 10:04:37 +00:00
  • fd8cbda3ec Remove ECDH code specific to TLS 1.3 Ronald Cron 2022-04-05 16:25:33 +02:00
  • 9d0a3e8296 generate_tls13_compat_tests.py: Fix/Unify parameter ordering Ronald Cron 2022-04-05 16:13:38 +02:00
  • df5f8681cc ssl-opt.sh: Fix/Unify TLS 1.3 test descriptions Ronald Cron 2022-04-05 16:01:03 +02:00
  • fd6193c285 ssl_tls13_client: Add downgrade attack protection Ronald Cron 2022-04-05 11:04:20 +02:00
  • 217d699d85 Fix Doxygen marks Ronald Cron 2022-04-04 10:23:22 +02:00
  • a2da9c7e45 Merge pull request #5631 from gstrauss/enum-tls-vers Paul Elliott 2022-04-19 17:05:26 +01:00
  • c144ca6473 Hide unnecessarily public functions in SHA-256 and SHA-512 A64 acceleration Tom Cosgrove 2022-04-19 13:52:24 +01:00
  • f4d70b2944 Merge pull request #5608 from AndrzejKurek/raw-key-agreement-fail Gilles Peskine 2022-04-19 14:00:48 +02:00
  • 6e8a4b87ea Merge pull request #5747 from AndrzejKurek/raw-key-agreement-fail-2-28 Gilles Peskine 2022-04-19 14:00:34 +02:00
  • 46435f05e1 Merge pull request #5706 from hanno-arm/bn_mul_cleanup Manuel Pégourié-Gonnard 2022-04-19 11:30:05 +02:00
  • 606cb1626f Add comment explaining structure of UMAAL assembly Hanno Becker 2022-04-17 06:57:34 +01:00
  • d46d96cc3f Add 2-fold unrolled assembly for umaal based multiplication Hanno Becker 2022-04-06 11:38:48 +01:00
  • 63eb28c728 Use separate counters for 8-fold and single multiplication steps Hanno Becker 2022-04-06 11:30:51 +01:00
  • eacf3b9eb4 Simplify organization of inline assembly for bignum Hanno Becker 2022-04-06 11:25:22 +01:00
  • 5bd0b51048 Use terse output from lsof Gilles Peskine 2022-04-15 22:53:18 +02:00
  • a841c2a20f test_cmake_out_of_source: run an ssl-opt test case that exists Gilles Peskine 2022-04-16 11:31:25 +02:00
  • 7393ec5ccf test_cmake_out_of_source: validate that ssl-opt passed Gilles Peskine 2022-04-15 22:43:38 +02:00
  • 36019d5182 Use terse output from lsof Gilles Peskine 2022-04-15 22:53:18 +02:00
  • e8133cbecc test_cmake_out_of_source: validate that ssl-opt passed Gilles Peskine 2022-04-15 22:43:38 +02:00
  • 719a652834 Fix REMOVE_ARC4 test case dependencies Gilles Peskine 2022-04-15 20:03:33 +02:00
  • 041388af2a Short-tag AEAD with the nominal length are encoded as nominal AEAD Gilles Peskine 2022-03-19 18:06:52 +01:00
  • 9d3706fb7f exercise_key: support combined key agreement+derivation algorithms Gilles Peskine 2022-03-19 16:04:30 +01:00
  • 8ddced5b1b Only exercise Brainpool curve keys on one algorithm Gilles Peskine 2022-03-19 15:36:09 +01:00
  • cb451702b4 Public keys can't be used as private-key inputs to key agreement Gilles Peskine 2022-03-19 12:16:45 +01:00
  • 32611243d4 Don't exercise OAEP with small key and large hash Gilles Peskine 2022-03-19 12:09:13 +01:00