Commit Graph

  • 02ec585518 Replace MBEDTLS_OID_C by function-specific dependencies Gilles Peskine 2025-05-12 20:52:07 +02:00
  • 6354411670 Remove unused function Gilles Peskine 2025-05-12 20:23:25 +02:00
  • cd4c0d7b00 Move OID string definitions back to mbedtls/oid.h Gilles Peskine 2025-05-07 23:45:12 +02:00
  • f9ca8ed9dd Create a public header file for OID values Gilles Peskine 2025-05-07 20:10:35 +02:00
  • 71ccc723cd Remove macros for crypto OID Gilles Peskine 2025-05-07 22:47:50 +02:00
  • 4c83221320 Replace MBEDTLS_ERR_OID_NOT_FOUND with MBEDTLS_ERR_X509_UNKNOWN_OID Gilles Peskine 2025-05-07 23:05:12 +02:00
  • 47f1d7be95 Replace MBEDTLS_ERR_OID_BUF_TOO_SMALL with PSA_ERROR_BUFFER_TOO_SMALL Gilles Peskine 2025-05-07 21:04:51 +02:00
  • 32a1112e88 Remove MBEDTLS_OID_X509_EXT_xxx constants Gilles Peskine 2025-04-09 21:51:46 +02:00
  • b7ef4df001 Remove OID tables that are not used in X.509 Gilles Peskine 2025-05-07 20:45:03 +02:00
  • 532e3ee104 Switch library and tests to the x509_oid module Gilles Peskine 2025-05-07 20:37:15 +02:00
  • d2fe51cfc4 Add the x509_oid module to the build Gilles Peskine 2025-05-07 20:36:20 +02:00
  • 86e45ba0ba Rename OID functions and types to mbedtls_x509_oid_xxx in x509_oid Gilles Peskine 2025-05-07 20:33:39 +02:00
  • 86a47f85fa Switch to "x509_oid.h" in code that uses OID functions Gilles Peskine 2025-05-07 20:20:12 +02:00
  • b825dcfe2d Update file names in comments Gilles Peskine 2025-05-07 19:41:09 +02:00
  • 86b9d3f299 documentation of mbedtls_ssl_async_sign_t with RSA: update to PSA Gilles Peskine 2025-04-10 14:00:40 +02:00
  • 0050f5f394 Update framework with additional operation initialization checks Gilles Peskine 2025-02-05 20:04:40 +01:00
  • e51bde06da Fix possible UB in mbedtls_asn1_write_raw_buffer() Manuel Pégourié-Gonnard 2025-06-03 11:22:55 +02:00
  • 381900520f Fix psa_pake_operation_s member types Ronald Cron 2025-06-02 11:25:41 +02:00
  • d3324fd095 Move PAKE size calculation macros, cipher suite and operation structs Ronald Cron 2025-06-02 11:14:57 +02:00
  • 591d854b1a Merge pull request #10201 from gabor-mezei-arm/9144_SHA3_testing Bence Szépkúti 2025-06-02 17:52:07 +00:00
  • b9d728467a Fix calling config.py and update comment Gabor Mezei 2025-06-02 17:22:53 +02:00
  • 8e5ee478e1 Add temporary component for SHA3 testing Gabor Mezei 2025-06-02 12:31:15 +02:00
  • 6edb76cba4 mbedtls_test_ssl_endpoint_init: split configuration and setup Gilles Peskine 2025-06-01 21:53:52 +02:00
  • 00eb072846 mbedtls_test_ssl_endpoint_init: store user_data_n in the endpoint object Gilles Peskine 2025-06-01 21:50:05 +02:00
  • a6e71f95fb Don't change the configuration after mbedtls_ssl_setup Gilles Peskine 2025-06-01 21:32:05 +02:00
  • 6e4d245b00 Move certificate and key parsing to auxiliary functions Gilles Peskine 2025-05-27 17:13:52 +02:00
  • fb2ce055a3 SSL tests: make client authentication more uniform, defaulting on Gilles Peskine 2025-05-28 17:36:12 +02:00
  • 27586d83f0 Move more endpoint configuration into the setup function Gilles Peskine 2025-05-28 17:01:42 +02:00
  • 7a8fd46392 Separate test function to perform an SSL connection Gilles Peskine 2025-05-28 15:41:54 +02:00
  • bd95340070 Unify SSL version checks between client and server Gilles Peskine 2025-05-28 15:20:28 +02:00
  • e23a6d12fc Move serialization testing into its own function Gilles Peskine 2025-05-27 21:17:09 +02:00
  • 78df6aebbc Move renegotiation testing into its own function Gilles Peskine 2025-05-27 21:14:25 +02:00
  • e30b5c73f3 mbedtls_test_ssl_perform_handshake: make client, server pointers Gilles Peskine 2025-05-27 21:05:48 +02:00
  • 07432b9d0c Unify identical code Gilles Peskine 2025-05-27 21:07:44 +02:00
  • ca8a9ac4af Remove unused parameters to endpoint init/free Gilles Peskine 2025-05-27 20:52:24 +02:00
  • 6c154e7d51 Move queue management into mbedtls_test_ssl_dtls_join_endpoints Gilles Peskine 2025-05-27 20:23:52 +02:00
  • b092e78ab3 New auxiliary function mbedtls_test_ssl_dtls_join_endpoints Gilles Peskine 2025-05-27 20:15:03 +02:00
  • 29969593e4 Move DTLS context into the endpoint structure Gilles Peskine 2025-05-27 19:24:28 +02:00
  • 9b993681fd mbedtls_test_ssl_perform_handshake: declare options as const Gilles Peskine 2025-05-27 18:44:12 +02:00
  • c4949d1426 mbedtls_ssl_conf_alpn_protocols: declare list elements as const Gilles Peskine 2025-05-27 19:45:29 +02:00
  • 2744a43977 Refactor set_ciphersuites to work on the endpoint structure Gilles Peskine 2025-05-27 13:27:22 +02:00
  • 0677e02b78 Move timer into the endpoint structure Gilles Peskine 2025-05-27 18:05:20 +02:00
  • 35a2d9b65a Remove testing of mbedtls_ssl_conf_own_cert(NULL) Gilles Peskine 2025-05-26 22:17:53 +02:00
  • b6bb3fb6ef Flatten out mbedtls_test_ssl_endpoint_certificate structure Gilles Peskine 2025-05-26 21:57:52 +02:00
  • 353eb33d0c Use TEST_EQUAL(a,b) instead of TEST_ASSERT(a==b) Gilles Peskine 2025-05-14 17:42:53 +02:00
  • 23a0d48d1c Merge pull request #10196 from ronald-cron-arm/move-crypto-struct-inclusion David Horstmann 2025-05-28 15:51:09 +00:00
  • 03a86e783b test: suites: pkcs7/x509parse: add missing PSA_INIT and PSA_DONE Valerio Setti 2025-05-28 12:01:14 +02:00
  • 5989da22a9 Add tests for bug in mbedtls_x509_string_to_names() Manuel Pégourié-Gonnard 2025-05-21 14:35:42 +02:00
  • a4ffc4e4c6 Merge remote-tracking branch 'public/development' into development-restricted Manuel Pégourié-Gonnard 2025-05-28 12:41:28 +02:00
  • d9c141749b Merge pull request #1345 from davidhorstmann-arm/pkcs7-side-channel-missing-credit-3.6 Manuel Pégourié-Gonnard 2025-05-28 11:49:35 +02:00
  • 4960825a94 Add change log Ronald Cron 2025-05-28 10:05:32 +02:00
  • 3ea3635d2f Move the inclusion of crypto_sizes.h and crypto_struct.h in crypto.h Ronald Cron 2025-05-28 10:02:12 +02:00
  • 80b697d78a Merge pull request #10183 from felixc-arm/fix-ssl-opt-error-codes Gilles Peskine 2025-05-27 14:52:51 +00:00
  • 7f363dfe62 programs: ssl_client2: set max restartable op also in PSA Valerio Setti 2025-05-27 11:59:32 +02:00
  • ffac311aaf library: debug: fix guards for EC helper functions Valerio Setti 2025-05-27 09:58:02 +02:00
  • 199a15645d library: debug: make mbedtls_debug_print_ecp() internal Valerio Setti 2025-05-27 09:56:27 +02:00
  • 36f424e240 Merge pull request #10190 from valeriosetti/prerequisites-for-ecp-restartable Ronald Cron 2025-05-26 15:15:23 +00:00
  • 04fe95d95b Add ChangeLog entry Manuel Pégourié-Gonnard 2025-05-26 12:38:52 +02:00
  • 12df5f3a16 Improve unit tests for mbedtls_asn1_store_named_data Manuel Pégourié-Gonnard 2025-05-26 10:55:59 +02:00
  • 2df7ab7c0c Fix bug in mbedtls_asn1_store_named_data() Manuel Pégourié-Gonnard 2025-05-26 10:42:14 +02:00
  • 4a2e7b9ed8 tests: suite_x509parse: set PSA max operations in x509_verify_restart() Valerio Setti 2025-05-23 15:15:22 +02:00
  • 153a906a51 library: debug: remove mbedtls_debug_printf_ecdh() Valerio Setti 2025-05-23 15:08:48 +02:00
  • 28ef01a3c1 library: debug: make mbedtls_debug_print_psa_ec() static Valerio Setti 2025-05-23 15:03:26 +02:00
  • 127c78e589 Merge pull request #10133 from bjwtaylor/remove-compat-2 Gilles Peskine 2025-05-23 09:57:49 +00:00
  • 13f86e689e Add tests for bug in mbedtls_x509_string_to_names() Manuel Pégourié-Gonnard 2025-05-21 14:35:42 +02:00
  • 077f8e6353 Restore standard initializers in _init tests Gilles Peskine 2025-02-05 19:13:51 +01:00
  • 93dd99571b Use short initializers for multipart operation structures Gilles Peskine 2025-02-05 19:00:04 +01:00
  • 2b410eeaeb Add ChangeLog entry for MinGW format specifier fix David Horstmann 2025-05-21 14:49:59 +01:00
  • 1e9267c993 Merge pull request #1340 from mpg/fix-string-to-names-uaf-3.6 Manuel Pégourié-Gonnard 2025-05-21 14:48:43 +02:00
  • 235143090b Merge pull request #1343 from mpg/fix-string-to-names-uaf-dev Manuel Pégourié-Gonnard 2025-05-21 14:48:37 +02:00
  • 768f90f3c3 Merge pull request #10186 from mpg/rm-pk-decrypt Manuel Pégourié-Gonnard 2025-05-21 12:47:55 +00:00
  • 6b8f517e4d Avoid a useless copy in cert_{req,write} Manuel Pégourié-Gonnard 2025-05-21 11:17:39 +02:00
  • 38317281e9 Fix type in ChangeLog Manuel Pégourié-Gonnard 2025-05-19 12:29:11 +02:00
  • bb8c0aba74 Add comment on apparent type mismatch Manuel Pégourié-Gonnard 2025-05-19 12:28:42 +02:00
  • 8de781d99d Remove redundant free loop Manuel Pégourié-Gonnard 2025-05-19 12:21:32 +02:00
  • 8ac3eb9833 Avoid a useless copy in cert_{req,write} Manuel Pégourié-Gonnard 2025-05-21 11:17:39 +02:00
  • 92a9bd345c Remove call to pk_decrypt() in ssl_server2 Manuel Pégourié-Gonnard 2025-05-20 12:04:26 +02:00
  • 66c6aaacf6 Merge pull request #10177 from gilles-peskine-arm/union-initialization-gcc15-basic-fix-dev Manuel Pégourié-Gonnard 2025-05-20 09:56:51 +00:00
  • 1173786544 Merge pull request #10185 from rojer/tls_consts_3.6 Manuel Pégourié-Gonnard 2025-05-20 06:55:12 +00:00
  • fb5e2e5e46 Mark ssl_tls12_preset_suiteb_sig_algs const Deomid rojer Ryabkov 2024-03-20 00:43:34 +00:00
  • e3aaf82a77 Mark ssl_tls12_preset_default_sig_algs const Deomid rojer Ryabkov 2024-03-18 12:32:30 +00:00
  • e0ce40bc8f Change hardcoded error values in ssl-opt to take in the PSA error alias Felix Conway 2025-05-19 13:30:42 +01:00
  • b9da11f289 Test with GCC 15 with sloppy union initialization Gilles Peskine 2025-05-07 18:50:51 +02:00
  • 421318c074 Update crypto with the union initialization fixes Gilles Peskine 2025-05-15 19:50:07 +02:00
  • dad206d25c Merge pull request #10168 from gilles-peskine-arm/union-initialization-gcc15-basic-fix-3.6 Manuel Pégourié-Gonnard 2025-05-19 10:31:47 +00:00
  • 8429619a92 Fix type in ChangeLog Manuel Pégourié-Gonnard 2025-05-19 12:29:11 +02:00
  • 8a6fc08607 Add comment on apparent type mismatch Manuel Pégourié-Gonnard 2025-05-19 12:28:42 +02:00
  • 35f2220e37 Remove redundant free loop Manuel Pégourié-Gonnard 2025-05-19 12:21:32 +02:00
  • 32745c95f9 Merge pull request #8947 from rojer/consts Manuel Pégourié-Gonnard 2025-05-19 10:09:30 +00:00
  • addf8fc03e Fix ECDSA documentation: blinding is no longer optional Gilles Peskine 2025-05-16 15:00:09 +02:00
  • c0b357d8b4 ECDSA is a special flower Gilles Peskine 2025-05-16 14:59:42 +02:00
  • ed10e2ab87 Note functions that store the RNG callback in a context Gilles Peskine 2025-05-16 14:24:50 +02:00
  • 060c70e3ab Reference mbedtls_f_rng_t in public documentation Gilles Peskine 2025-05-16 14:19:38 +02:00
  • 1337d540ad Name and document the type of random generator callbacks Gilles Peskine 2025-05-16 14:12:15 +02:00
  • 3e715b02e6 Fix format specifiers for ANSI stdio David Horstmann 2025-05-07 12:27:02 +01:00
  • 0d9b00d483 cmake: library: Remove unnecessary link_to_source Ronald Cron 2025-05-14 10:22:31 +02:00
  • d31a3c39b1 Merge pull request #10159 from gilles-peskine-arm/union-initialization-gcc15-preliminaries-dev Gilles Peskine 2025-05-15 14:33:45 +00:00
  • 7dddc1724f Mark ssl_tls12_preset_suiteb_sig_algs const Deomid rojer Ryabkov 2024-03-20 00:43:34 +00:00
  • e2d71ccc64 Mark ssl_tls12_preset_default_sig_algs const Deomid rojer Ryabkov 2024-03-18 12:32:30 +00:00
  • ddbf8d030a Add credit to the reporters of the PKCS7 issue David Horstmann 2025-05-14 15:45:00 +01:00