Commit Graph

  • 901c9b731f Erase secrets in allocated memory before freeing said memory Steven Cooreman 2022-02-25 11:14:59 +01:00
  • bca99ee0ac Add PSA key in mbedtls_ssl_cookie_ctx Neil Armstrong 2022-03-04 10:20:20 +01:00
  • 3f076dfb6d Fix comments for conditional compilation Przemek Stekiel 2022-03-04 09:36:46 +01:00
  • e87804920a Use new PSA to mbedtls PK error mapping functions in rsa_decrypt_wrap() Neil Armstrong 2022-03-03 16:54:16 +01:00
  • b556a42656 Use now shared RSA_PRV_DER_MAX_BYTES define in pk_wrap.c Neil Armstrong 2022-02-25 08:58:12 +01:00
  • f47135756c Map INVALID_PADDING from PSA to MbedTLS error in rsa_decrypt_wrap() Neil Armstrong 2022-02-24 15:23:42 +01:00
  • 0d46786034 Fix style issue in rsa_decrypt_wrap() Neil Armstrong 2022-02-24 15:18:05 +01:00
  • f1b564bb8d Check psa_destroy_key() return in rsa_decrypt_wrap() Neil Armstrong 2022-02-24 15:17:47 +01:00
  • 18f43c7304 PK: RSA decrypt PSA wrap implementation Neil Armstrong 2022-02-09 15:32:45 +01:00
  • 502da11df1 Initialize PSA crypto in test_suite_pk pk_rsa_decrypt_test_vec() when USE_PSA_CRYPTO is enabled Neil Armstrong 2022-02-09 15:33:15 +01:00
  • e4edcf761d Use new PSA to mbedtls PK error mapping functions in ecdsa_sign_wrap() Neil Armstrong 2022-03-03 16:46:41 +01:00
  • ff70f0bf77 Check psa_destroy_key() return in rsa_sign_wrap() Neil Armstrong 2022-03-03 14:31:17 +01:00
  • edcc73c992 Fix 80 characters indentation in ecdsa_sign_wrap() Neil Armstrong 2022-03-03 12:34:14 +01:00
  • dab14de96a Use now shared ECP_PRV_DER_MAX_BYTES define in pk_wrap.c Neil Armstrong 2022-03-01 14:00:49 +01:00
  • 15021659d1 Move pk_ecdsa_sig_asn1_from_psa() before ecdsa_sign_wrap() Neil Armstrong 2022-03-01 10:14:17 +01:00
  • 5874aa38f7 Fix style issue in find_ecdsa_private_key() Neil Armstrong 2022-03-01 10:08:02 +01:00
  • cf5a215a43 Check psa_destroy_key() return in rsa_verify_wrap() Neil Armstrong 2022-02-24 16:58:54 +01:00
  • 5b32038ff0 Alternative CSR checks in x509_csr_check when USE_PSA_CRYPTO Neil Armstrong 2022-02-21 17:22:10 +01:00
  • e960690b89 PK: ECDSA signing PSA wrap implementation Neil Armstrong 2022-02-09 14:23:00 +01:00
  • db69c5213f Use new PSA to mbedtls PK error mapping functions in rsa_sign_wrap() Neil Armstrong 2022-03-03 16:41:23 +01:00
  • 66fa769ae8 Fix 80 characters indentation in rsa_sign_wrap() Neil Armstrong 2022-03-03 12:32:15 +01:00
  • 4b1a059f7d Use now shared RSA_PRV_DER_MAX_BYTES define in pk_wrap.c Neil Armstrong 2022-02-25 08:58:12 +01:00
  • 48a9833cdf Check psa_destroy_key() return in rsa_sign_wrap() Neil Armstrong 2022-02-24 16:56:46 +01:00
  • e4f28688fd Fix comment typo in rsa_sign_wrap() Neil Armstrong 2022-02-24 15:41:39 +01:00
  • 5f8328b2f6 Initialize PSA crypto in test_suite_x509write for RSA signing tests Neil Armstrong 2022-02-22 17:32:00 +01:00
  • 9854568204 PK: RSA signing PSA wrap implementation Neil Armstrong 2022-02-22 16:12:51 +01:00
  • 3770e2483f Use new PSA to mbedtls PK error mapping functions in pk_wrap.c Neil Armstrong 2022-03-03 16:37:33 +01:00
  • c921bfdf30 Fix 80 characters indentation in pk_rsa_encrypt_decrypt_test() Neil Armstrong 2022-03-03 14:35:38 +01:00
  • 7f1055223d Remove pk_rsa_encrypt_test_vec() test in favor to pk_rsa_encrypt_decrypt_test() Neil Armstrong 2022-02-25 09:14:49 +01:00
  • deb4bfb2b9 Use now shared RSA_PUB_DER_MAX_BYTES define in pk_wrap.c Neil Armstrong 2022-02-25 08:58:12 +01:00
  • 9dccd866c3 Check psa_destroy_key() return in ecdsa_verify_wrap() Neil Armstrong 2022-02-24 15:33:13 +01:00
  • 7dd3b20d36 Check psa_destroy_key() return in rsa_encrypt_wrap() Neil Armstrong 2022-02-24 15:29:18 +01:00
  • ac014ca5d9 Fix comment typos in rsa_encrypt_wrap() Neil Armstrong 2022-02-24 15:27:54 +01:00
  • dac2f23a82 Stop checking against reference vector in pk_rsa_encrypt_test_vec when USE_PSA_CRYPTO Neil Armstrong 2022-02-22 14:27:17 +01:00
  • e0df42cbb7 Introduce pk_rsa_encrypt_decrypt_test Neil Armstrong 2022-02-22 14:26:49 +01:00
  • 96a16a429b PK: RSA encrypt PSA wrap implementation Neil Armstrong 2022-02-10 10:40:11 +01:00
  • 445d2192d5 Initialize PSA crypto in test_suite_pk pk_rsa_encrypt_test_vec() & pk_rsa_alt() when USE_PSA_CRYPTO is enabled Neil Armstrong 2022-02-10 15:25:29 +01:00
  • fe6da1c35c Fix style issues in mac_sign_verify_multi() Neil Armstrong 2022-03-03 16:29:14 +01:00
  • 23ea2c6c00 Merge pull request #5593 from tom-daubney-arm/2-28_bp_fix_uninitialised_buffers_in_tests Gilles Peskine 2022-03-03 13:31:01 +01:00
  • 052deb941f Merge pull request #5554 from tom-daubney-arm/fix_uninitialised_buffers_in_tests Gilles Peskine 2022-03-03 13:30:58 +01:00
  • 1f13e984ad Merge pull request #5529 from superna9999/5514-translate-psa-errs-to-mbedtls Gilles Peskine 2022-03-03 13:30:29 +01:00
  • 644b3f6072 Unify module documentation with --help text Gilles Peskine 2022-03-03 10:23:09 +01:00
  • 93c2a42166 Don't require ABI tools if not checking the ABI Gilles Peskine 2022-03-03 10:22:36 +01:00
  • 53a07dc924 Modifies data files to match new test function name Thomas Daubney 2022-03-02 16:54:41 +00:00
  • 755cb9bf4f Changes name of check_iv to iv_len_validity Thomas Daubney 2022-03-02 16:49:38 +00:00
  • 7c4a486081 Initialise buffer before use Thomas Daubney 2022-03-02 16:47:49 +00:00
  • ac72f9c213 Initialise iv buffer before use Thomas Daubney 2022-03-02 16:44:51 +00:00
  • d929dbbb25 Merge pull request #5368 from mfil/feature/additional_md_getters Gilles Peskine 2022-03-02 16:44:26 +01:00
  • 757464c865 Merge pull request #5592 from Tachi107/2.28-msvc-utf-8 Gilles Peskine 2022-03-02 16:42:35 +01:00
  • 5459a15863 Merge pull request #5365 from Tachi107/msvc-utf-8 Gilles Peskine 2022-03-02 16:42:33 +01:00
  • e8c8300190 Merge pull request #5581 from superna9999/pk-move-rename-rsa-ec-key-sizes Gilles Peskine 2022-03-02 16:41:53 +01:00
  • 6828d8fdc4 Return MBEDTLS_ERR_SSL_BAD_INPUT_DATA if MAC algorithm isn't supported in ssl_tls.c Neil Armstrong 2022-03-02 15:36:46 +01:00
  • 6958bd0206 Clean aux_out in PSA version of mbedtls_ct_hmac() Neil Armstrong 2022-03-02 15:16:52 +01:00
  • 4313f55a13 Simplify error handling of PSA mac operationsg in ssl_msg.c Neil Armstrong 2022-03-02 15:14:07 +01:00
  • 321116c755 Remove spurious debug in ssl_tls12_populate_transform() Neil Armstrong 2022-03-02 15:06:15 +01:00
  • 38df86cc6c Simplyfy asymmetric_decrypt() test function Przemek Stekiel 2022-02-25 15:00:37 +01:00
  • e894c5c4a5 Fix code style (indentation) in ssl_tls13_generate_and_write_ecdh_key_exchange() Przemek Stekiel 2022-03-02 08:45:56 +01:00
  • 9a0b482e98 Merge pull request #5589 from gilles-peskine-arm/mypy-on-jenkins-2.28 Gilles Peskine 2022-03-01 20:48:46 +01:00
  • a9b4c436ee Merge pull request #5588 from gilles-peskine-arm/mypy-on-jenkins Gilles Peskine 2022-03-01 20:48:42 +01:00
  • e356f075f5 Merge pull request #5512 from gilles-peskine-arm/psa-driver-interface-tweaks-202201 Gilles Peskine 2022-03-01 20:46:14 +01:00
  • 92e08fba4c Merge pull request #5475 from miudr/fix_issue_5140 Gilles Peskine 2022-03-01 20:45:54 +01:00
  • 2cf0d4f072 Merge pull request #5584 from gilles-peskine-arm/cmake-Wunused-function Dave Rodgman 2022-03-01 19:17:16 +00:00
  • 06898650f9 Merge pull request #5471 from yuhaoth/pr/add-tls13-client-certificate-verify Paul Elliott 2022-03-01 18:42:00 +00:00
  • 24f20af0cd build(msvc): always assume source files are in UTF-8 Andrea Pappacoda 2021-12-27 22:41:21 +01:00
  • 4400be408b Adapt test cases for invalid bits with and without ECC keys enabled Przemek Stekiel 2022-03-01 17:02:46 +01:00
  • 15565eeb59 Move publick key check out of MBEDTLS_PSA_BUILTIN_KEY_TYPE_ECC_KEY_PAIR Przemek Stekiel 2022-03-01 17:01:39 +01:00
  • 19915c2c00 Rename error translation functions and move them to library/pk_wrap.* Neil Armstrong 2022-03-01 15:21:02 +01:00
  • a81aed2dae Clean up init values of psa crypto status and fix switch default case Przemek Stekiel 2022-03-01 15:13:30 +01:00
  • f110dc05be Clenup conditional compilation flags. Przemek Stekiel 2022-03-01 14:48:05 +01:00
  • dcab6ccb3b Return PSA_ERROR_INVALID_ARGUMENT for a public key, and PSA_ERROR_NOT_SUPPORTED for a type that is not handled. Przemek Stekiel 2022-03-01 14:22:29 +01:00
  • 0f49f83625 Use now shared ECP_PUB_DER_MAX_BYTES define in pk_wrap.c Neil Armstrong 2022-02-28 15:07:38 +01:00
  • e9ecd27890 Rename max sizes of RSA & EC DER keys defines Neil Armstrong 2022-03-01 10:03:21 +01:00
  • e0326a6acc Move max sizes of RSA & EC DER keys into private pkwrite.h Neil Armstrong 2022-02-25 08:57:19 +01:00
  • 5831b4fd77 Merge pull request #5372 from AndrzejKurek/doxygen-fixes-compact-doxyfile Gilles Peskine 2022-02-28 23:49:15 +01:00
  • 1eba24a6ce Merge pull request #5543 from AndrzejKurek/doxygen-fixes-compact-doxyfile-2-28 Gilles Peskine 2022-02-28 23:49:11 +01:00
  • 4766f99fe5 Add multi-part mac sign/verify test Neil Armstrong 2022-02-28 16:23:59 +01:00
  • e2279e02ea Merge pull request #5503 from AndrzejKurek/doxygen-duplicate-parameter-docs-2-28 Gilles Peskine 2022-02-28 17:09:49 +01:00
  • f48bd4bccb Merge pull request #5371 from AndrzejKurek/doxygen-duplicate-parameter-docs Gilles Peskine 2022-02-28 17:09:45 +01:00
  • e69324458a Merge pull request #5540 from gilles-peskine-arm/check_config-chachapoly-2.28 Gilles Peskine 2022-02-28 17:07:53 +01:00
  • 0037fcd6c7 Merge pull request #4910 from gilles-peskine-arm/check_config-chachapoly-development Gilles Peskine 2022-02-28 17:07:48 +01:00
  • df57835a76 Make mypy unconditional Gilles Peskine 2022-02-28 16:06:36 +01:00
  • 254efe5f0c Make mypy unconditional Gilles Peskine 2022-02-28 16:06:36 +01:00
  • 60234f87a6 Revert "Introduce new mac_key_policy_multi() variant of mac_key_policy() testing multiple updates occurences" Neil Armstrong 2022-02-28 15:21:38 +01:00
  • 9c656ec718 Fix unused function warning Gilles Peskine 2022-02-26 19:55:58 +01:00
  • d5438a5678 Enable -Wunused-function in cmake builds for tests Gilles Peskine 2022-02-26 19:54:41 +01:00
  • 0ebf24a668 Adjust comment describing mbedtls_ssl_conf_sni() Glenn Strauss 2022-01-24 18:30:13 -05:00
  • 48a37f01b3 Add cert_cb use to programs/ssl/ssl_server2.c Glenn Strauss 2022-01-24 16:40:20 -05:00
  • 6989407261 Add accessor to retrieve SNI during handshake Glenn Strauss 2022-01-24 12:58:00 -05:00
  • 36872dbd0b Provide means to reset handshake cert list Glenn Strauss 2022-01-22 05:06:31 -05:00
  • 2ed95279c0 Add server certificate selection callback Glenn Strauss 2022-01-21 18:02:17 -05:00
  • 588d7a7538 Add a missing requires_max_content_len Gilles Peskine 2022-02-25 21:02:28 +01:00
  • c6d197b68a ssl-opt needs debug messages Gilles Peskine 2022-02-25 21:00:16 +01:00
  • 6e86e54abb Adapt tests for PSK in PSK-only builds Gilles Peskine 2022-02-25 19:52:52 +01:00
  • 2fe796f1b7 Add some missing dependencies: EXTENDED_MASTER_SECRET, CACHE Gilles Peskine 2022-02-25 19:51:52 +01:00
  • 3561526249 Only run "Default" tests if the expected ciphersuite is enabled Gilles Peskine 2022-02-25 19:50:38 +01:00
  • a165b5ced6 Automatically skip tests for some absent features: tickets, ALPN Gilles Peskine 2022-02-25 19:47:04 +01:00
  • 82a4ab2486 ssl-opt: automatically skip DTLS tests in builds without DTLS Gilles Peskine 2022-02-25 19:46:30 +01:00
  • 168f17c233 New sample/test configuration: small DTLS 1.2 Gilles Peskine 2022-02-25 19:28:00 +01:00
  • 7451e5a1c6 Minimal TLS configuration: documentation improvements Gilles Peskine 2022-02-25 19:20:36 +01:00
  • 4b94f10b93 Add changelog entry for zeroizing key buffers before freeing Steven Cooreman 2022-02-25 16:53:11 +01:00