Commit Graph

  • 9be61680b1 Update library/psa_its_file.c PeterSpace 2022-02-11 10:21:16 +01:00
  • 55dfd8bb0a BUGFIX: PSA test vectors use UID 1 instead of 0. Test vector to test rejection of uid = 0 was added. pespacek 2022-02-08 13:47:25 +01:00
  • ecaca12612 TEST: added psa_its_set expected failure test pespacek 2022-02-08 13:57:10 +01:00
  • 55f15c7e6c BUGFIX: psa_its_set now rejects UID = 0 pespacek 2022-02-08 13:52:28 +01:00
  • 59550537f0 Change signature_length type to size_t Andrzej Kurek 2022-02-16 07:46:42 -05:00
  • 32048a6d92 pk_verify_ext: introduce more tests for signature length mismatches Andrzej Kurek 2022-02-16 06:14:17 -05:00
  • 4a953cdd9f pk: properly handle signatures in larger buffers when using PSA Andrzej Kurek 2022-02-16 06:13:35 -05:00
  • 6d2479516c Merge pull request #5533 from paul-elliott-arm/fix_fuzz_privkey_null_ctx Manuel Pégourié-Gonnard 2022-02-16 09:55:01 +01:00
  • 5d7e61fb61 Fix uninitialised return value. Paul Elliott 2022-02-15 16:05:17 +00:00
  • d917081b8b Typo Gabor Mezei 2022-02-15 16:25:27 +01:00
  • 7381242748 Use PSA_INIT() Gabor Mezei 2022-02-15 16:24:58 +01:00
  • 8d5a4cbfdb Check return value of psa_destroy_key Gabor Mezei 2022-02-15 16:23:17 +01:00
  • 833713c35c Add better name for variable Gabor Mezei 2022-02-15 16:16:08 +01:00
  • 41d0334b4c Write up requirements Gilles Peskine 2022-02-14 23:55:59 +01:00
  • eec6b2c6b4 Updated slot->attr and slot->key access Andrzej Kurek 2021-11-08 14:09:29 +01:00
  • 8666df6f18 Add signature length mismatch handling when using PSA in pk_verify_ext Andrzej Kurek 2022-02-15 08:23:02 -05:00
  • 90ba2cbd0a Cosmetic changes to return placement and variable naming Andrzej Kurek 2022-02-15 08:18:44 -05:00
  • a7a1deabf8 Merge pull request #5393 from gilles-peskine-arm/opt-testcases-outcomes-fix Ronald Cron 2022-02-15 13:53:10 +01:00
  • 8e1ca4df2e Merge pull request #5459 from gilles-peskine-arm/check_test_cases-list-2.28 Ronald Cron 2022-02-15 13:52:37 +01:00
  • 853ad7bfcf Use macros in tests for PSA init/deinit routines Andrzej Kurek 2022-02-15 07:13:03 -05:00
  • ef3f27b4ba doxygen: enable the search engine Andrzej Kurek 2022-02-15 06:56:16 -05:00
  • 60d9947bc4 Change our code size reference job to use baremetal_size Gilles Peskine 2021-09-01 20:00:33 +02:00
  • 98bb5d330d New configuration preset baremetal_size Gilles Peskine 2021-09-01 19:51:19 +02:00
  • b3fca7bbce doxygen: remove irrelevant options Andrzej Kurek 2022-02-15 06:55:11 -05:00
  • 4d6ed1142c Remove default values and comments from mbedtls.doxyfile Andrzej Kurek 2022-02-15 06:44:05 -05:00
  • fa21dda04a Fix indentation Gilles Peskine 2021-09-09 20:39:47 +02:00
  • 9130b5b774 Add check_config checks for AEAD Gilles Peskine 2021-09-02 10:33:57 +02:00
  • a1b506996d Merge pull request #5526 from paul-elliott-arm/fix_fuzzer_null_ref Manuel Pégourié-Gonnard 2022-02-15 10:31:03 +01:00
  • 05b6125f69 Merge pull request #5449 from gilles-peskine-arm/pip-requirements-no-maintainer-2.28 Manuel Pégourié-Gonnard 2022-02-15 10:18:08 +01:00
  • b788c044b7 Use PSA status to Mbed TLS error code conversion function Ronald Cron 2022-02-15 09:14:15 +01:00
  • 617fb004fd Merge pull request #5536 from mpg/fix-ecdh-psa-2.28 Manuel Pégourié-Gonnard 2022-02-15 09:09:13 +01:00
  • e14b644f4d Merge pull request #5456 from mpg/cleanup-ecdh-psa Manuel Pégourié-Gonnard 2022-02-15 09:09:07 +01:00
  • 0f5ecefbe9 Clean up the code Przemyslaw Stekiel 2022-02-14 17:10:05 +01:00
  • 4b3fff43a8 Destroy ecdh_psa_privkey on HRR Przemyslaw Stekiel 2022-02-14 16:39:52 +01:00
  • a1dc3e5a60 Add safety to dummy_random in case of NULL context Paul Elliott 2022-02-14 18:26:21 +00:00
  • 169f115bf0 ssl_client2: init psa crypto for TLS 1.3 build Przemyslaw Stekiel 2022-02-14 13:49:27 +01:00
  • 86cacac91a Port ALPN support for tls13 client from tls13-prototype lhuang04 2022-01-21 07:34:27 -08:00
  • bb0168144e Ensure valid context is used in fuzz_dtlsserver Paul Elliott 2022-02-14 15:57:11 +00:00
  • 87829e5429 Fix documentation Ronald Cron 2022-02-14 16:31:33 +01:00
  • a6e955e729 X.509: x509write_crt_set_key_identifier created pespacek 2022-02-14 15:20:57 +01:00
  • a7a646986f Improving readability pespacek 2022-02-14 15:18:43 +01:00
  • b9f07a79a7 Changing buffer size checks. pespacek 2022-02-14 15:13:26 +01:00
  • 3110c7b340 Changing error codes. pespacek 2022-02-14 15:07:41 +01:00
  • 0178487fb2 Fix missing check on server-chosen curve Manuel Pégourié-Gonnard 2022-01-25 11:46:19 +01:00
  • 298d6cc397 Add mbedtls_ssl_check_curve_tls_id() (internal) Manuel Pégourié-Gonnard 2022-02-14 11:34:47 +01:00
  • c2774a3ad4 Update library/psa_its_file.c PeterSpace 2022-02-11 10:21:16 +01:00
  • 4f419e55a1 ssl_tls13_write_key_share_ext: initialize key_exchange_len (compiler warning) Przemyslaw Stekiel 2022-02-10 15:56:26 +01:00
  • c0824bfb11 Change mbedtls_ssl_tls13_key_schedule_stage_handshake() to use psa_raw_key_agreement() Przemyslaw Stekiel 2022-02-10 10:37:15 +01:00
  • 6d6aabdb0d Remove unused function: ssl_tls13_check_ecdh_params() Przemyslaw Stekiel 2022-02-10 10:35:01 +01:00
  • 9e23ddb09d Change ssl_tls13_read_public_ecdhe_share() to use PSA-specific parsing code. Przemyslaw Stekiel 2022-02-10 10:32:02 +01:00
  • 51a7679a8e Ensure context is passed in to dummy_rand Paul Elliott 2022-02-11 19:10:14 +00:00
  • fb84e98fb4 Add change log Ronald Cron 2022-02-11 15:18:57 +01:00
  • 135427cb35 Run TLS 1.3 tests when MBEDTLS_USE_PSA_CRYPTO is enabled Ronald Cron 2022-01-07 22:14:24 +01:00
  • f6893e11c7 Finalize PSA hash operations in TLS 1.3 Ronald Cron 2022-01-07 22:09:01 +01:00
  • ea859c24b7 Change ssl_tls13_generate_and_write_ecdh_key_exchange() to use PSA Przemyslaw Stekiel 2022-02-10 10:19:46 +01:00
  • 4279bac965 Document TLS 1.3 MVP limitation regarding MBEDTLS_USE_PSA_CRYPTO Ronald Cron 2022-02-11 15:08:48 +01:00
  • bebeae9428 Merge pull request #5504 from gstrauss/mbedtls_pem_get_der Gilles Peskine 2022-02-10 23:56:57 +01:00
  • 00738bf65e Ensure ctr_drbg is initialised every time Paul Elliott 2022-02-10 18:15:42 +00:00
  • b15f33d496 Enable ecdh_psa_xxx fields in struct mbedtls_ssl_handshake_params for TLS 1.3 Przemyslaw Stekiel 2022-02-10 10:12:12 +01:00
  • 75638a4402 Change mbedtls_ssl_tls13_key_schedule_stage_handshake() to use psa_raw_key_agreement() tls_ecdh_2c Przemyslaw Stekiel 2022-02-10 10:37:15 +01:00
  • 830c45eb40 Remove unused function: ssl_tls13_check_ecdh_params() Przemyslaw Stekiel 2022-02-10 10:35:01 +01:00
  • f008ae7f59 Change ssl_tls13_read_public_ecdhe_share() to use PSA-specific parsing code. Przemyslaw Stekiel 2022-02-10 10:32:02 +01:00
  • b1b1f36e47 Change ssl_tls13_generate_and_write_ecdh_key_exchange() to use PSA Przemyslaw Stekiel 2022-02-10 10:19:46 +01:00
  • c05e2a7cdb Enable ecdh_psa_xxx fields in struct mbedtls_ssl_handshake_params for TLS 1.3 Przemyslaw Stekiel 2022-02-10 10:12:12 +01:00
  • 574e538c75 Merge pull request #5522 from mpg/fixup-psa-migration Manuel Pégourié-Gonnard 2022-02-10 13:41:56 +01:00
  • 29e0e6fa3c Merge pull request #5501 from gstrauss/ssl-ticket-rotate Manuel Pégourié-Gonnard 2022-02-10 13:18:32 +01:00
  • c70013e4bc Clarify the trailer field situation Manuel Pégourié-Gonnard 2022-02-10 13:07:22 +01:00
  • c7f3254379 Clarify a sentence Manuel Pégourié-Gonnard 2022-02-10 13:00:33 +01:00
  • 58d101b721 Fix a few more typos Manuel Pégourié-Gonnard 2022-02-10 12:58:09 +01:00
  • 9607ab4dbd Prevent function not used compilation error Gabor Mezei 2022-02-09 17:00:32 +01:00
  • b35759ded8 Add tests for mbedtls_psa_hkdf_expand Gabor Mezei 2022-02-09 16:59:11 +01:00
  • a3eecd242c Implement HKDF expand in TLS 1.3 based on PSA HMAC Gabor Mezei 2022-02-09 16:57:26 +01:00
  • a941b62985 Create public macros for ssl_ticket key,name sizes Glenn Strauss 2022-02-09 15:24:56 -05:00
  • e328245618 Add test case use of mbedtls_ssl_ticket_rotate Glenn Strauss 2022-02-03 17:23:24 -05:00
  • a950938ff0 Add mbedtls_ssl_ticket_rotate for ticket rotation. Glenn Strauss 2022-02-02 23:32:18 -05:00
  • 7db1b78fff Make RSA-PSS verification use PSA with MBEDTLS_USE_PSA_CRYPTO Andrzej Kurek 2022-02-09 14:13:44 -05:00
  • 748ab4ae77 Use ASSERT_ALLOC Gabor Mezei 2022-02-09 16:31:48 +01:00
  • 196a1c4256 Merge pull request #5517 from yuhaoth/pr/fix-client-auth-fail Gilles Peskine 2022-02-09 13:08:12 +01:00
  • 7840f81303 fix client_auth fail Jerry Yu 2022-01-29 10:26:51 +08:00
  • 2c5fbad479 Merge pull request #5004 from mpg/doc-psa-migration Manuel Pégourié-Gonnard 2022-02-09 12:07:12 +01:00
  • 62b49cd06a Merge pull request #5472 from yuhaoth/pr/move-client-auth Manuel Pégourié-Gonnard 2022-02-09 10:57:00 +01:00
  • 9193f7d836 Merge pull request #5436 from mpg/prog-hmac-cipher-psa Manuel Pégourié-Gonnard 2022-02-09 10:53:49 +01:00
  • 6ca6faa67e Merge pull request #5080 from xffbai/add-tls13-read-certificate-request Ronald Cron 2022-02-09 09:51:55 +01:00
  • 1df23b903f Check the result of PEM decoding Manuel Pégourié-Gonnard 2022-02-07 12:59:10 +01:00
  • 33ab075f45 Add success case for pem_read testing Manuel Pégourié-Gonnard 2022-02-07 12:47:00 +01:00
  • 72bd4e4d6a Add accessor to get buf from mbedtls_pem_context Glenn Strauss 2022-02-04 10:32:17 -05:00
  • 7c8b6a97b9 Update CertificateRequest skip condition Xiaofei Bai 2022-02-08 15:21:13 +00:00
  • 443c78eb83 BUGFIX: PSA test vectors use UID 1 instead of 0. Test vector to test rejection of uid = 0 was added. pespacek 2022-02-08 13:47:25 +01:00
  • d62e906b1c TEST: added psa_its_set expected failure test pespacek 2022-02-08 13:57:10 +01:00
  • 5c7d1cce97 fix typo error Jerry Yu 2022-02-08 21:08:29 +08:00
  • 2d9a694088 change type of client_auth Jerry Yu 2022-02-08 21:07:10 +08:00
  • e990100ddb BUGFIX: psa_its_set now rejects UID = 0 pespacek 2022-02-08 13:52:28 +01:00
  • ae1bae8412 Give a magic constant a name Manuel Pégourié-Gonnard 2022-02-08 11:36:28 +01:00
  • c82504e22c Clean up output from cipher_aead_demo Manuel Pégourié-Gonnard 2022-02-08 11:31:36 +01:00
  • 5e6c884315 Improve info() function in cipher_aead_demo Manuel Pégourié-Gonnard 2022-02-08 11:29:59 +01:00
  • 7599a7744e X.509: use PSA for hashing under USE_PSA_CRYPTO pespacek 2022-02-07 14:40:55 +01:00
  • c234ecf695 Update mbedtls_ssl_handshake_free() and address review comments. Xiaofei Bai 2022-02-08 09:59:23 +00:00
  • 64754e1b8d Wrap long lines Manuel Pégourié-Gonnard 2022-02-08 11:21:14 +01:00
  • 340808ca67 Add comments on error codes Manuel Pégourié-Gonnard 2022-02-08 11:15:26 +01:00
  • 48bae0295c Avoid hardcoding a size Manuel Pégourié-Gonnard 2022-02-08 11:14:58 +01:00