Commit Graph

  • 64172bc2ec Use constant_time module from cmac Dave Rodgman 2024-01-29 12:29:14 +00:00
  • 435118c0c0 Merge pull request #1163 from gabor-mezei-arm/bp228_buffer_sharing_copy_output_buffer David Horstmann 2024-01-29 11:08:25 +00:00
  • eec797a0a7 Merge pull request #1162 from gabor-mezei-arm/buffer_sharing_copy_output_buffer David Horstmann 2024-01-29 11:08:20 +00:00
  • 4e048f1749 bignum: removing usage of MPI_VALIDATE_RET() Valerio Setti 2024-01-29 10:46:19 +01:00
  • ea3a6114e6 aria: replace ARIA_VALIDATE_RET() with a simple "if" block Valerio Setti 2024-01-29 10:37:14 +01:00
  • a45a399a6b lib: remove NULL pointer checks performed with MBEDTLS_INTERNAL_VALIDATE[_RET] Valerio Setti 2024-01-29 10:28:09 +01:00
  • 41f8f733a1 test_psa_compliance: add exception for tests using wrong RSA pub key format Valerio Setti 2024-01-29 11:44:40 +01:00
  • cc0fd47531 platform_util: remove declarations of MBEDTLS_INTERNAL_VALIDATE[_RET]() Valerio Setti 2024-01-29 10:19:52 +01:00
  • 2bec5df945 psa_crypto_ffdh: fix typos Valerio Setti 2024-01-26 14:39:28 +01:00
  • 0a6acf8db4 adjust_legacy_from_psa: use EC pattern for enabling builtin elements of DH Valerio Setti 2024-01-26 14:37:58 +01:00
  • c22bb7a0a4 adjust_legacy_from_psa: optimize legacy enablement also for EC key types Valerio Setti 2024-01-26 12:15:23 +01:00
  • 8ee1b5f46e programs_benchmark: Updated to use mbedtls_dhm_read_public(). Minos Galanakis 2024-01-15 15:54:19 +00:00
  • 97489dc7e5 programs_benchmark: Updated to use mbedtls_dhm_set_group() & mbedtls_dhm_get_len() Minos Galanakis 2024-01-12 16:47:52 +00:00
  • e29c868ca4 programs_dh_server: Updated to use mbedtls_dhm_set_group() & mbedtls_dhm_get_len(). Minos Galanakis 2024-01-12 16:24:44 +00:00
  • 18be2fb9df driver-only-builds: improve a sentence in the HMAC section Valerio Setti 2024-01-26 15:07:02 +01:00
  • 89d8a12e9c analyze_outcomes: fix typo Valerio Setti 2024-01-26 15:04:05 +01:00
  • f8ce457fb6 all.sh: fix comment in check_test_dependencies() Valerio Setti 2024-01-26 14:55:14 +01:00
  • 47c74a4773 Merge pull request #8741 from Ryan-Everett-arm/add-locking-macros Paul Elliott 2024-01-26 13:53:38 +00:00
  • bcf0fc5119 adjust_legacy_crypto: add parenthesis to improve clarity Valerio Setti 2024-01-26 14:53:28 +01:00
  • fc587a337f Remove already-assmebled Changelog entry Dave Rodgman 2024-01-26 12:48:33 +00:00
  • 047c724c22 Merge remote-tracking branch 'restricted/development-restricted' into update-development-r Dave Rodgman 2024-01-26 12:42:51 +00:00
  • 12abdde951 Merge pull request #8699 from minosgalanakis/update/rsa_context_in_programs_5014 Paul Elliott 2024-01-26 11:03:43 +00:00
  • c4e911889e Merge pull request #8751 from trofi/gcc-14-calloc-fix Paul Elliott 2024-01-26 11:02:53 +00:00
  • 8e3a837e1b Remove already-assembled Changelog entries Dave Rodgman 2024-01-26 10:28:56 +00:00
  • 9d52c713b2 Merge remote-tracking branch 'restricted/mbedtls-2.28' into mbedtls-2.28-restricted Dave Rodgman 2024-01-26 10:27:26 +00:00
  • 48e4167ced adjust_legacy_from_psa: improve pattern for enabling internal symbols Valerio Setti 2024-01-26 10:34:32 +01:00
  • 1a54352f5a psa_crypto_ffdh: move dhm.h inclusion to c file Valerio Setti 2024-01-26 09:35:18 +01:00
  • da2a33de0f tests: fix calloc() argument list (gcc-14 fix) Sergei Trofimovich 2024-01-25 20:48:56 +00:00
  • 433a58c170 Fix magic numbers in more J-PAKE tests David Horstmann 2024-01-25 16:29:26 +00:00
  • 935182fe2b Merge pull request #1158 from daverodgman/mbedtls-3.5.2rc Dave Rodgman 2024-01-25 12:22:54 +00:00
  • 43643c4714 Remove now-redundant guard Gilles Peskine 2024-01-25 13:21:59 +01:00
  • 1b9cea30b1 Merge pull request #1159 from daverodgman/mbedtls-2.28.7rc Dave Rodgman 2024-01-25 12:21:38 +00:00
  • ef56795fd2 Fix 1 forgotten separate input/output buffer Chien Wong 2024-01-25 19:22:50 +08:00
  • 92c17c456c Use separate input/output buffer. Explain why error is expected Chien Wong 2024-01-25 19:11:03 +08:00
  • 80edec5f84 all.sh: remove MBEDTLS_PEM_PARSE_C exception from check_test_dependencies() Valerio Setti 2024-01-25 09:33:48 +01:00
  • f5e231ca84 Merge pull request #8719 from daverodgman/iar-codegen Dave Rodgman 2024-01-25 08:31:45 +00:00
  • 77faddf93b Depend on legacy RSA key generation for test code Gilles Peskine 2024-01-24 10:50:17 +01:00
  • 2bd4ddc8e0 Implement pick-a-curve when ECP_LIGHT is disabled Gilles Peskine 2024-01-24 14:15:02 +01:00
  • 9cd2e9ad1b mbedtls_pk_get_psa_attributes: require MBEDTLS_PSA_CRYPTO_C Gilles Peskine 2024-01-24 13:40:09 +01:00
  • 0c847bcbe7 Fix Make issues with Everest enabled Paul Elliott 2024-01-24 19:08:31 +00:00
  • 7fd162ec26 Refactor common PThreads CMake code Paul Elliott 2024-01-24 18:05:53 +00:00
  • 3b0c371c04 Add allocate and copy style output buffer handling Gabor Mezei 2024-01-24 13:07:17 +01:00
  • ea98647282 changelog: document RSA parse/write improvements Valerio Setti 2024-01-24 13:55:56 +01:00
  • 6d597f1967 test_suite_rsa: extend rsa_parse_pkcs1_key adding tests for public key Valerio Setti 2024-01-24 13:44:41 +01:00
  • 6def24ce73 test_suite_[pkparse/rsa]: move RSA private key parsing tests Valerio Setti 2024-01-24 12:33:04 +01:00
  • 1533c3f660 test_suite_rsa: improve rsa_parse_write_pkcs1_key() adding more checks Valerio Setti 2024-01-24 11:24:20 +01:00
  • 6076fe486b Generate poisoning in PAKE test wrappers David Horstmann 2024-01-23 15:28:51 +00:00
  • fdedbb78a5 Fix magic number buffer length in J-PAKE tests David Horstmann 2024-01-23 16:22:50 +00:00
  • c75639daa0 Add copying to PAKE input and output David Horstmann 2024-01-22 17:56:39 +00:00
  • 4f534ae9c2 Add copying in PAKE set peer and user functions David Horstmann 2024-01-22 17:35:59 +00:00
  • 448377bec7 all.sh: remove MBEDTLS_ASN1_PARSE_C exception from check_test_dependencies() Valerio Setti 2024-01-16 16:24:07 +01:00
  • 688f795cb3 asn1: use the new symbol to guard dependencies of ECDSA conversion functions Valerio Setti 2024-01-16 09:18:40 +01:00
  • f4d2dc2d77 psa_util: guard ECDSA conversion functions with proper (internal) symbol Valerio Setti 2024-01-16 10:57:48 +01:00
  • 17105df3e7 test_suite_psa_crypto_util: add comments to 512/521 bit size test cases Valerio Setti 2024-01-11 10:41:59 +01:00
  • 31657ed70c test_suite_psa_crypto_util: change curve type for 256bits tests Valerio Setti 2024-01-11 07:01:30 +01:00
  • a7b83a04ee psa_util: add variable casting in convert_raw_to_der_single_int() Valerio Setti 2024-01-10 16:07:29 +01:00
  • 86bae52c55 psa_util: skip leading zeros in der format with "if" instead of "while" Valerio Setti 2024-01-10 11:12:31 +01:00
  • 3ccb2b5423 all.sh: add exception for ASN1_PARSE_C in check_test_dependencies Valerio Setti 2024-01-10 10:51:24 +01:00
  • 3f0809a99d test_suite_psa_crypto_util: split ECDSA test function in two Valerio Setti 2024-01-10 09:00:55 +01:00
  • c22e3ce8ef psa_util: remove CRYPTO_C guard from ECDSA conversion functions Valerio Setti 2024-01-10 08:46:59 +01:00
  • 99c0369d31 psa_util: add include asn1write.h in public header Valerio Setti 2024-01-10 08:21:10 +01:00
  • bda440f82d test_suite_psa_crypto_util: increase the size of tested integers Valerio Setti 2024-01-10 08:16:50 +01:00
  • 5713c8a5ac psa_util: minor code improvements Valerio Setti 2024-01-09 15:48:37 +01:00
  • 84890c9be2 psa_util: improve description for ECDSA conversion functions Valerio Setti 2024-01-09 14:20:23 +01:00
  • aed21640bd test_suite_psa_crypto_util: add test function and data for ECDSA conversion functions Valerio Setti 2024-01-08 16:50:30 +01:00
  • bd5b9c61fe pk_wrap: use PSA util functions for ECDSA conversion instead of PK ones Valerio Setti 2024-01-08 16:49:48 +01:00
  • 75501f5ede psa_util: add raw<->DER ECDSA conversion functions Valerio Setti 2024-01-08 16:49:17 +01:00
  • 436b2ef633 Generate poisoning wrappers for AEAD David Horstmann 2024-01-22 14:36:01 +00:00
  • 6baf6e9a06 Add buffer copying to psa_aead_decrypt() David Horstmann 2023-11-28 19:43:53 +00:00
  • 21c1a94813 Copy buffers in psa_aead_encrypt() David Horstmann 2023-11-28 19:25:00 +00:00
  • 724a2abf01 test_suite_psa_crypto: fix typo in description Valerio Setti 2024-01-24 15:57:12 +01:00
  • b0498ef995 adjust_legacy_from_psa: use intermediate symbol to enable builtin support Valerio Setti 2024-01-24 15:55:33 +01:00
  • 001ae3349d Merge pull request #1143 from davidhorstmann-arm/memory-poisoning-runtime-enable-2.28 David Horstmann 2024-01-24 14:46:52 +00:00
  • 9c5c9c351d Merge pull request #1141 from davidhorstmann-arm/memory-poisoning-runtime-enable David Horstmann 2024-01-24 14:46:43 +00:00
  • 9f521056bc driver-only-builds: add documentation for HMAC acceleration Valerio Setti 2024-01-24 15:44:24 +01:00
  • 667cad5b81 Put the id field at the end of the psa_key_attributes_s structure Antonio de Angelis 2024-01-24 13:34:46 +00:00
  • 3877d4858b Refactor macros Ryan Everett 2024-01-24 13:26:26 +00:00
  • cd89b0b536 all.sh: disable legacy hash support in test_psa_crypto_config_accel_hmac() Valerio Setti 2024-01-24 14:24:55 +01:00
  • 99ff1f505b Add test cases on GCM AD, input, IV length Chien Wong 2024-01-24 20:44:01 +08:00
  • 1882c51cb3 Add allocate and copy style output buffer handling Gabor Mezei 2024-01-24 13:07:17 +01:00
  • a5f36fcaae rsa: write documentation of new functions for parse/writing RSA priv/pub keys Valerio Setti 2024-01-24 10:49:02 +01:00
  • 18dd00052e pk_wrap: use RSA module functions to write priv/pub key in RSA wrappers Valerio Setti 2024-01-23 17:59:10 +01:00
  • c6d7f53adc all.sh: update common_test_psa_crypto_config_accel_ecc_some_curves() Valerio Setti 2024-01-23 17:12:35 +01:00
  • 2ddabb34d6 config_adjust_legacy: do not auto-enable PK when RSA is enabled in PSA Valerio Setti 2024-01-23 17:11:44 +01:00
  • dccfd3612d rsa: update return values of priv/pub parse/write functions Valerio Setti 2024-01-23 17:07:59 +01:00
  • 13f2f4e7f1 Merge remote-tracking branch 'restricted/development' into mbedtls-3.5.2rc Dave Rodgman 2024-01-24 09:49:15 +00:00
  • daca7a3979 Update BRANCHES.md v3.5.2 mbedtls-3.5.2 Dave Rodgman 2024-01-24 09:49:11 +00:00
  • 64996c3be9 Disable MBEDTLS_PSA_CRYPTO_CLIENT in no-PSA builds Gilles Peskine 2024-01-23 20:25:47 +01:00
  • 00f3085163 Missing dependency for MBEDTLS_PK_ECDSA Gilles Peskine 2024-01-23 20:25:34 +01:00
  • cb05ce30e9 Minor fixes to locking macros Ryan Everett 2024-01-23 19:25:10 +00:00
  • 55effd9456 Fix the build with MBEDTLS_RSA_ALT Gilles Peskine 2024-01-23 18:07:36 +01:00
  • 51860149f4 Allow context types with an ALT version to be linked in Doxygen Gilles Peskine 2024-01-23 17:45:33 +01:00
  • c09df2f24c Unify want_private detection Gilles Peskine 2024-01-23 17:03:31 +01:00
  • f3dbc98d96 mbedtls_pk_get_psa_attributes: support MBEDTLS_PK_USE_PSA_EC_DATA Gilles Peskine 2024-01-23 11:05:34 +01:00
  • 7354f1e178 Allow building with MBEDTLS_PK_USE_PSA_EC_DATA && MBEDTLS_ECP_C Gilles Peskine 2024-01-23 11:06:02 +01:00
  • 758d8c7631 mbedtls_pk_get_psa_attributes: support MBEDTLS_PK_OPAQUE Gilles Peskine 2024-01-22 20:53:21 +01:00
  • 94e3a873ce mbedtls_pk_get_psa_attributes: test bad usage value Gilles Peskine 2024-01-18 19:23:39 +01:00
  • ace7c7721e mbedtls_pk_get_psa_attributes: ECC support Gilles Peskine 2024-01-18 17:47:54 +01:00
  • 6ea18361df mbedtls_pk_get_psa_attributes: RSA support Gilles Peskine 2024-01-18 14:16:27 +01:00
  • 1f97e73114 mbedtls_pk_get_psa_attributes: force enrollment algorithm off Gilles Peskine 2024-01-18 14:14:24 +01:00