Commit Graph

  • 374b188468 Don't specify gcc unless the test requires it Dave Rodgman 2024-01-04 10:30:57 +00:00
  • b046b9a96b Enable -O2 in depends.py Dave Rodgman 2023-12-19 11:33:55 +00:00
  • 5b00fb111f Use gcc in test_psa_compliance Dave Rodgman 2023-12-18 22:29:56 +00:00
  • b0660c22d9 Ensure test_psa_compliance uses gcc Dave Rodgman 2023-12-18 19:55:40 +00:00
  • e0a2f6d08d Ensure clang is present Dave Rodgman 2023-12-18 19:53:25 +00:00
  • 62be456449 Use clang by default Dave Rodgman 2023-12-18 18:34:50 +00:00
  • 66b1ded73a Merge pull request #8623 from daverodgman/verbatim-tfm Manuel Pégourié-Gonnard 2024-01-04 08:08:06 +00:00
  • 44d557c52d Indicate which curves Mbed TLS supports Gilles Peskine 2024-01-03 20:59:38 +01:00
  • 6e2069661e Note unusual curve size Gilles Peskine 2024-01-03 20:59:03 +01:00
  • 2a22dac694 Fix typo in curve name Gilles Peskine 2024-01-03 20:58:55 +01:00
  • 68b5182dad Add test data for secp192r1 Gilles Peskine 2024-01-03 20:57:52 +01:00
  • 478dd84b63 Fix mixup between secp224r1 and secp224k1 in test scripts Gilles Peskine 2024-01-03 20:50:56 +01:00
  • 3ca93e5d25 Merge pull request #8667 from gilles-peskine-arm/pthread-link-auto-make-followup Paul Elliott 2024-01-03 18:51:48 +00:00
  • 7406b74fce driver-only-builds: fix typo Valerio Setti 2024-01-03 14:47:36 +01:00
  • a10d112e45 Remove useless guards on MBEDTLS_BIGNUM_C Gilles Peskine 2024-01-03 14:08:10 +01:00
  • 62a2e3c8db Merge pull request #8512 from mschulz-at-hilscher/feature/timing-alt-compatible-benchmark Dave Rodgman 2024-01-03 11:46:58 +00:00
  • f88dd840a2 timing.c: use memset to initialize the structure, from Gilles Peskine Gianfranco Costamagna 2024-01-03 01:41:32 +01:00
  • 7565b54545 Move MBEDTLS_CIPHER modification to appropriate section Dave Rodgman 2023-12-13 17:26:57 +00:00
  • 13d2633126 Fix MBEDTLS_NO_PLATFORM_ENTROPY for baremetal aarch64 with armclang Dave Rodgman 2023-12-13 17:23:46 +00:00
  • 1c91057fab Update check_files.py to accomodate non-standard license headers in TF-M config files Dave Rodgman 2023-12-08 17:58:44 +00:00
  • b925d141de minor tidy-up Dave Rodgman 2023-12-08 16:04:29 +00:00
  • fc566605b6 Mention copyright in the readme Dave Rodgman 2023-12-08 15:33:50 +00:00
  • 27a3785d98 Use verbatim TF-M configs from upstream Dave Rodgman 2023-12-08 15:27:49 +00:00
  • bff2a58b6e Add supporting files to enable use of verbatim TF-M config Dave Rodgman 2023-12-08 15:26:32 +00:00
  • 0ae58dd985 Unify MBEDTLS_TEST_OBJS Gilles Peskine 2024-01-02 23:11:24 +01:00
  • cd06a813c6 Fix name in documentation Gilles Peskine 2024-01-02 18:14:40 +01:00
  • 8939148339 Minor readability improvement Gilles Peskine 2024-01-02 18:14:00 +01:00
  • 570e54822c Finish unifying LOCAL_CFLAGS Gilles Peskine 2024-01-02 18:11:10 +01:00
  • 5d867872dd Improve readability of null-argument tests Gilles Peskine 2024-01-02 17:57:51 +01:00
  • 39b7bba8a0 Make input parameter const Gilles Peskine 2024-01-02 17:56:54 +01:00
  • 593e9cb600 Merge pull request #8511 from mschulz-at-hilscher/feature/rsa3072-benchmark Dave Rodgman 2024-01-02 16:35:14 +00:00
  • 1cc90a1003 Merge pull request #8517 from mschulz-at-hilscher/fixes/issue-6910 Dave Rodgman 2024-01-02 16:34:40 +00:00
  • 6315441be7 adjust_legacy_from_psa: relax condition for legacy block cipher auto-enabling Valerio Setti 2024-01-02 11:47:41 +01:00
  • c1c6858bfc cipher_wrap: fix guards for some CCM/GCM functions Valerio Setti 2024-01-02 11:46:17 +01:00
  • a87cd17b35 psa-transition: update with MD translation functions Valerio Setti 2024-01-02 15:12:37 +01:00
  • a835d6da08 changelog: document MD's conversion functions Valerio Setti 2024-01-02 15:02:19 +01:00
  • 2c1070b397 test_suite_md: improve md_to_from_psa() test function and related data Valerio Setti 2024-01-02 14:58:22 +01:00
  • 3d2e0f5f42 psa_util: add algorithm's availability checks for MD conversion functions Valerio Setti 2024-01-02 14:57:19 +01:00
  • 384fbde49a library/tests: replace md_psa.h with psa_util.h as include file for MD conversion Valerio Setti 2024-01-02 13:26:40 +01:00
  • 45c3cae8a5 md: move PSA conversion functions from md_psa.h to psa_util.h Valerio Setti 2024-01-02 13:26:04 +01:00
  • 9fe1c699a8 Clarify PSA-to-PK copy intent Gilles Peskine 2024-01-02 13:16:31 +01:00
  • f80dcc5f8b Resolve ECDSA conversion API: don't use an ASN.1 interface Gilles Peskine 2024-01-02 13:15:47 +01:00
  • a7226a1f60 Our TLS 1.3 API doesn't actually require PSA key identifiers Gilles Peskine 2024-01-02 13:15:14 +01:00
  • 93cdb77835 Minor clarifications Gilles Peskine 2024-01-02 13:15:04 +01:00
  • 84125a167e Merge remote-tracking branch 'origin/development' into default-compiler-all Dave Rodgman 2024-01-02 11:42:38 +00:00
  • 8c8b4da3a3 all.sh: keep PSA_WANT_ALG_[CCM/GCM] enabled in common_block_cipher_dispatch() Valerio Setti 2024-01-02 11:44:30 +01:00
  • ea982e39a1 Merge pull request #8637 from bensze01/fix_supported_components Gilles Peskine 2024-01-02 09:41:02 +00:00
  • 3d46b7f81a Fix Max fragmen length test to use TLS 1.2 maximum output size Waleed Elmelegy 2024-01-01 20:50:53 +00:00
  • bae705c12b Fix TLS 1.2 test to use TLS 1.2 maximum output size Waleed Elmelegy 2024-01-01 14:21:21 +00:00
  • 84d19e0836 all.sh: keep DES_C and CTR_DRBG_C enabled in test_full_no_cipher_with_crypto() Valerio Setti 2023-12-29 16:41:54 +01:00
  • ea03183bd7 Adjust TLS 1.3 tests to new maximum output changes Waleed Elmelegy 2023-12-29 15:36:51 +00:00
  • e581e140cc oid/pkparse: add missing guards for PKCS[5/12] functions when !CIPHER_C Valerio Setti 2023-12-29 16:35:07 +01:00
  • 562dfe1067 all.sh: keep PKCS[5/12] enabled in full_no_cipher test components Valerio Setti 2023-12-29 16:34:19 +01:00
  • 81338483e6 changelog: enhance description Valerio Setti 2023-12-29 15:46:17 +01:00
  • 045d680054 driver-only-builds: enhancing cipher related sections Valerio Setti 2023-12-29 15:42:22 +01:00
  • f333b3fbde driver-only-builds: fix typos Valerio Setti 2023-12-29 14:49:03 +01:00
  • a0c9c6684d analyze_outcomes: ignore only test concerning AES/ARIA/Camellia in CMAC Valerio Setti 2023-12-29 14:14:11 +01:00
  • 160b2bde09 test_suite_cmac: add used key type to all test cases Valerio Setti 2023-12-29 14:07:11 +01:00
  • 2125443aef Add warning for PKCS 1.5 decryption Janos Follath 2023-12-29 11:14:58 +00:00
  • 87a373eea6 Improve Record size limit testing Waleed Elmelegy 2023-12-28 17:49:36 +00:00
  • 6a971fd61a Refactor and improve Record size limit handling Waleed Elmelegy 2023-12-28 17:48:16 +00:00
  • 0635cca7d1 analyze_outcomes: update skipped tests following latest changes to all.sh Valerio Setti 2023-12-28 16:16:02 +01:00
  • cd21d4eb8f all.sh: keep legacy cipher modes enabled in test_full_block_cipher_legacy_dispatch() Valerio Setti 2023-12-28 16:00:55 +01:00
  • 1fff4f2012 psa: add key_type as input parameter of psa_can_do_cipher() Valerio Setti 2023-12-28 14:19:34 +01:00
  • 9a4cc122a7 test_suite_block_cipher.psa: remove misleading initial comment Valerio Setti 2023-12-28 14:05:15 +01:00
  • 1994e72e18 check_config/block_cipher: minor improvements Valerio Setti 2023-12-28 14:01:22 +01:00
  • ab0494f193 analyze_outcomes: update comments of skipped tests Valerio Setti 2023-12-28 13:56:13 +01:00
  • 92e5c693ba driver-only-builds: updated ciphers and AEADs related sections Valerio Setti 2023-12-28 13:28:03 +01:00
  • b3413bf0b4 changelog: update description Valerio Setti 2023-12-28 12:15:45 +01:00
  • b9f4bfc33b all.sh: fix messages in test_psa_crypto_config_accel_des Valerio Setti 2023-12-28 11:07:48 +01:00
  • e98ad5931a mbedls_config: update documentation for MBEDTLS_PKCS[5/12]_C Valerio Setti 2023-12-28 10:42:12 +01:00
  • ca902dbd9c timing.c Gianfranco Costamagna 2023-12-27 16:25:37 +01:00
  • 6d0a093582 use mbedtls_ssl_session_init() to init session variable Benson Liou 2023-12-27 22:03:24 +08:00
  • 575938e806 Fix a comment in ecp Chien Wong 2023-12-27 21:22:31 +08:00
  • 8c4cabf6aa Fix typo Janos Follath 2023-12-27 10:47:21 +00:00
  • d83dc85a10 RSA: improve readability Janos Follath 2023-12-27 10:44:36 +00:00
  • c762521e73 RSA: remove unneeded temporaries Janos Follath 2023-12-27 10:33:00 +00:00
  • dad6d66661 RSA: document Montgomery trick in unblind Janos Follath 2023-12-27 10:22:59 +00:00
  • d2d2cd1a16 Merge pull request #8653 from gilles-peskine-arm/pthread-link-auto-make Manuel Pégourié-Gonnard 2023-12-27 08:59:53 +00:00
  • 8f1307adcd Asymmetric cryptography: rough draft Gilles Peskine 2023-12-25 21:42:23 +01:00
  • 28e9d86cbc Changelog entry for the new ECP functions Gilles Peskine 2023-06-21 20:40:55 +02:00
  • 3b17ae78d2 Add ECP-heavy-only test cases to the driver parity analysis ignore list Gilles Peskine 2023-06-23 11:08:39 +02:00
  • 9552a52f5f Declare dependency on bignum in sample programs Gilles Peskine 2023-12-23 18:44:20 +01:00
  • 52cc2a6368 Use new mbedtls_ecp_keypair functions in sample programs Gilles Peskine 2023-06-22 22:32:05 +02:00
  • 62e33bcc64 New function mbedtls_ecp_write_public_key Gilles Peskine 2023-06-22 22:27:32 +02:00
  • 6dd87384ae Rename variable that's a C++ keyword Gilles Peskine 2023-06-22 20:27:19 +02:00
  • ad5e437c8e mbedtls_ecp_read_key: explain how to set the public key Gilles Peskine 2023-12-22 21:59:46 +01:00
  • 7ea72026cd New function mbedtls_ecp_keypair_calc_public Gilles Peskine 2023-06-21 20:39:08 +02:00
  • 28240323d3 New function mbedtls_ecp_set_public_key Gilles Peskine 2023-06-21 19:52:11 +02:00
  • 091a85a762 Promise mbedtls_ecp_read_key doesn't overwrite the public key Gilles Peskine 2023-06-21 19:51:28 +02:00
  • ba5b5d67aa Support partial export from mbedtls_ecp_keypair Gilles Peskine 2023-06-21 18:24:04 +02:00
  • e6886102ef New function mbedtls_ecp_keypair_get_group_id Gilles Peskine 2023-06-21 18:22:06 +02:00
  • f3316f132b Correct name and documentation of preprocessor symbol check function Gilles Peskine 2023-12-22 18:30:37 +01:00
  • 7602298a16 Allow *.make to contain tabs Gilles Peskine 2023-12-22 15:28:07 +01:00
  • 2337a3b886 Explain the use of control Gilles Peskine 2023-12-22 13:25:18 +01:00
  • 259df98972 Revert "Add option to pass make variables to depends.py" Gilles Peskine 2023-12-22 13:17:33 +01:00
  • 811daaa48c Revert "Add ability to pass make variables to psa_collect_statuses.py" Gilles Peskine 2023-12-22 13:16:59 +01:00
  • 21570cf232 Auto-detect the need to link with pthread on Unix-like platforms Gilles Peskine 2023-12-22 11:49:50 +01:00
  • 4392fc101f Unify some common rules of programs/Makefile and tests/Makefile Gilles Peskine 2023-12-22 11:49:35 +01:00
  • 076fd25480 Unify common variables of programs/Makefile and tests/Makefile Gilles Peskine 2023-12-22 11:45:53 +01:00