Commit Graph

  • ad72ea02b3 Improve testing of mbedtls_x509_crt_parse_file Gilles Peskine 2023-04-13 18:13:48 +02:00
  • f292b9de82 Fix pastapasta Gilles Peskine 2023-04-21 21:19:46 +02:00
  • 3c96e0fe70 typo Gilles Peskine 2023-04-18 22:31:38 +02:00
  • 55ad28a9e7 Document a known issue with testing of mbedtls_x509_crt_parse_path Gilles Peskine 2023-04-13 18:14:45 +02:00
  • 1e5fec6a79 Improve testing of mbedtls_x509_crt_parse_file Gilles Peskine 2023-04-13 18:13:48 +02:00
  • 056f0c5047 Make output_byte return not_supported for pbkdf2 Kusumit Ghoderao 2023-05-03 15:58:34 +05:30
  • f57273c817 Merge pull request #7496 from valeriosetti/issue7480 Manuel Pégourié-Gonnard 2023-05-03 12:39:49 +02:00
  • 9c9880a63f Explicitly exit IPv4 parsing on a fatal error Andrzej Kurek 2023-05-03 05:06:47 -04:00
  • 7c05c00988 Add test cases for pbkdf2 input functions Kusumit Ghoderao 2023-05-03 12:54:33 +05:30
  • f5fedf1e0d Add pbkdf2 to psa_key_derivation_abort Kusumit Ghoderao 2023-05-03 12:29:48 +05:30
  • 3128c5d9ce Enable can_output_key with PSA_KEY_DERIVATION_INPUT_PASSWORD Kusumit Ghoderao 2023-05-03 12:27:57 +05:30
  • 24b3895dee Add pbkdf2 input functions to psa_key_derivation_input_internal Kusumit Ghoderao 2023-05-03 12:25:26 +05:30
  • f4fe3ee9e4 Add input password function for pbkdf2 Kusumit Ghoderao 2023-05-03 12:21:07 +05:30
  • 547a6c6fd1 add input salt function for pbkdf2 Kusumit Ghoderao 2023-05-03 12:18:19 +05:30
  • 944bba1e30 Add input cost function for pbkdf2 Kusumit Ghoderao 2023-05-03 12:14:03 +05:30
  • d132cacb38 Add pbkdf2_hmac to is_kdf_alg_supported() Kusumit Ghoderao 2023-05-03 12:00:27 +05:30
  • af0b534256 Add pbkdf2 to ATLEAST_ONE_BUILTIN_KDF definition Kusumit Ghoderao 2023-05-03 11:58:46 +05:30
  • dcfa548293 Add pbkdf2 to key_derivation context struct Kusumit Ghoderao 2023-05-03 11:57:09 +05:30
  • 30ced52497 Add pbkdf2 struct to crypto_builtin_key_derivation.h Kusumit Ghoderao 2023-05-03 11:56:02 +05:30
  • 876e2c2424 Add psa_pbkdf2_key_derivation_state_t Kusumit Ghoderao 2023-05-03 11:51:25 +05:30
  • 83baf8968d Add builtin PBKDF2_HMAC definition in config_psa.h Kusumit Ghoderao 2023-05-03 11:42:29 +05:30
  • aca31654e6 Enable PSA_WANT_ALG_PBKDF2_HMAC in crypto_config.h Kusumit Ghoderao 2023-05-03 11:35:50 +05:30
  • 735d2c99e7 Backport 2.28: Use mbedtls_ct_uint_if() rather than mbedtls_ct_cond_select_sign() Tom Cosgrove 2023-05-03 09:50:10 +01:00
  • e22413c8df Use mbedtls_ct_uint_if() rather than mbedtls_ct_cond_select_sign() Tom Cosgrove 2023-05-03 09:44:01 +01:00
  • b567f8326d Halve size of mbedtls_error_pair_t Gilles Peskine 2023-05-02 21:38:11 +02:00
  • d3ca5e5897 Merge pull request #7328 from mprse/ec-jpake-fix1 Gilles Peskine 2023-05-02 20:42:25 +02:00
  • c70d9eab8a Merge pull request #7412 from silabs-Kusumit/PBKDF2_implementation Gilles Peskine 2023-05-02 20:41:23 +02:00
  • 7ce8fba3cb Add post-build step to update redirects Bence Szépkúti 2023-04-14 16:36:19 +02:00
  • 4f4c87b01e Add readthedocs-cli to requirements.in Bence Szépkúti 2023-04-14 15:00:27 +02:00
  • 0eace4128b pk: fixing backport issues Valerio Setti 2023-05-02 16:38:57 +02:00
  • 974b816b3e test: check for exact length of returned pub key Valerio Setti 2023-04-27 12:07:23 +02:00
  • 3f8bf06534 test: optimize code for pk_write_public_from_private() Valerio Setti 2023-04-27 10:52:57 +02:00
  • 39a669433b test: use better naming for the newly introduced test function Valerio Setti 2023-04-27 10:06:45 +02:00
  • 5e7494ea75 pk: fix position for mbedtls_platform_zeroize Valerio Setti 2023-04-27 10:05:03 +02:00
  • b4468c45ac test: fix makefile for ec_pub.[der/pem] generation Valerio Setti 2023-04-27 10:03:08 +02:00
  • 50dacdfd34 test: fix wrong private key file Valerio Setti 2023-04-27 09:41:09 +02:00
  • 7406e967f0 test: add test function for public key derivation starting from private one Valerio Setti 2023-04-26 14:48:43 +02:00
  • aae96c9060 pk: fix: clear buffer holding raw EC private key on exit Valerio Setti 2023-04-26 13:08:56 +02:00
  • 9a855f21aa test: check for exact length of returned pub key Valerio Setti 2023-04-27 12:07:23 +02:00
  • f5451717af test: optimize code for pk_write_public_from_private() Valerio Setti 2023-04-27 10:52:57 +02:00
  • 84554e9830 test: use better naming for the newly introduced test function Valerio Setti 2023-04-27 10:06:45 +02:00
  • 2d81499026 pk: fix position for mbedtls_platform_zeroize Valerio Setti 2023-04-27 10:05:03 +02:00
  • 8820b57b6e test: fix makefile for ec_pub.[der/pem] generation Valerio Setti 2023-04-27 10:03:08 +02:00
  • d860a79029 test: fix wrong private key file Valerio Setti 2023-04-27 09:41:09 +02:00
  • 1751341b68 test: add test function for public key derivation starting from private one Valerio Setti 2023-04-26 14:48:43 +02:00
  • 2c50526476 pk: fix: clear buffer holding raw EC private key on exit Valerio Setti 2023-04-26 13:08:56 +02:00
  • c8b7865612 test: align ec_pub public keyfile with its ec_prv.sec1 counterpart Valerio Setti 2023-04-26 12:24:26 +02:00
  • 8e076e4132 Merge pull request #6915 from aditya-deshpande-arm/example-driver-post-codestyle Manuel Pégourié-Gonnard 2023-05-02 12:13:42 +02:00
  • c69614bec0 Merge pull request #7505 from valeriosetti/issue7460-part1-backport Manuel Pégourié-Gonnard 2023-05-02 10:44:15 +02:00
  • f317df98ea Merge pull request #7461 from valeriosetti/issue7460-part1 Manuel Pégourié-Gonnard 2023-05-02 10:44:13 +02:00
  • d60dfc0e43 Add test for parse_binary_string Kusumit Ghoderao 2023-05-01 17:39:27 +05:30
  • 6f400a376e Disallow leading zeroes when parsing IPv4 addresses Andrzej Kurek 2023-05-01 05:26:47 -04:00
  • 935255cb3c MBEDTLS_PSA_INJECT_ENTROPY: ignore seed file Gilles Peskine 2023-04-29 00:32:34 +02:00
  • b377229b65 MBEDTLS_PSA_INJECT_ENTROPY: check the seed file UID Gilles Peskine 2023-04-28 21:13:43 +02:00
  • f13469da48 MBEDTLS_PSA_INJECT_ENTROPY: check the lifecycle of the seed file Gilles Peskine 2023-04-28 21:08:46 +02:00
  • fb4c3fe4ea Modernize remove_seed_file() Gilles Peskine 2023-04-28 21:07:07 +02:00
  • 801c4333ad Test MBEDTLS_PSA_INJECT_ENTROPY Gilles Peskine 2023-04-28 21:04:28 +02:00
  • c548468b69 MBEDTLS_PSA_INJECT_ENTROPY: Skip incompatible tests Gilles Peskine 2023-04-28 23:41:38 +02:00
  • c2d16b2159 MBEDTLS_PSA_INJECT_ENTROPY: Make sure the seed file exist when running tests Gilles Peskine 2023-04-28 23:39:45 +02:00
  • a08def9871 Tests: provide necessary functions for MBEDTLS_PSA_INJECT_ENTROPY Gilles Peskine 2023-04-28 21:01:49 +02:00
  • 672a771227 Fix a build error when MBEDTLS_PSA_INJECT_ENTROPY is enabled Gilles Peskine 2023-04-28 21:00:28 +02:00
  • 4bdb254887 Regroup component that had gotten separated from its close siblings Gilles Peskine 2023-04-28 19:25:25 +02:00
  • 8225587fd7 Change from Mbed TLS 3.3.0 to 3.4.0 in driver documentation. Aditya Deshpande 2023-04-28 15:37:57 +01:00
  • 641cb8914d Minor changes to documentation and code comments for clarity Aditya Deshpande 2023-04-19 03:31:10 +01:00
  • 7b9934dcdd Add support for building p256-m alongside Mbed TLS with CMake. Also check if p256-m is enabled in the config before including the contents of p256-m.c Aditya Deshpande 2023-04-18 17:00:17 +01:00
  • ac363d8d20 Migrate p256-m_driver_entrypoints.[hc] to new code style Aditya Deshpande 2023-03-21 18:56:31 +00:00
  • ebd624e691 Minor formatting change to driver wrapper jinja template Aditya Deshpande 2023-03-21 15:23:07 +00:00
  • f100f00679 Add warnings to documentation stating that p256-m code may be out of date with upstream, plus other minor grammatical fixes. Aditya Deshpande 2023-03-21 14:49:31 +00:00
  • be55bb2d5d Use psa_generate_random() instead of mbedtls_ctr_dbrg Aditya Deshpande 2023-02-21 18:07:13 +00:00
  • 8d99f2590c Add 3rdparty license information to the README Aditya Deshpande 2023-02-20 17:30:52 +00:00
  • 045b370c66 Add SPDX license identifiers to driver entry point files Aditya Deshpande 2023-02-20 17:08:30 +00:00
  • a8d663d3af Add README and license from the p256-m repo Aditya Deshpande 2023-02-20 15:16:37 +00:00
  • bac592d53e Remove rand() from p256_generate_random() and move to an implementation based on mbedtls_ctr_drbg Aditya Deshpande 2023-02-14 14:55:49 +00:00
  • caed18e741 Add README in p256-m/ Aditya Deshpande 2023-02-08 14:26:23 +00:00
  • a9612d00a4 Remove unnecessary no-check-names comments Aditya Deshpande 2023-02-07 10:32:49 +00:00
  • f80b939096 Add information for driver points where auto-generation is implemented Aditya Deshpande 2023-02-06 17:07:03 +00:00
  • 755b174fec Add example for integrating a driver alongside Mbed TLS for entrypoints where auto-generation of driver wrappers is not implemented yet. Using p256-m as the example driver/software accelerator. Aditya Deshpande 2023-01-24 17:02:56 +00:00
  • 695e44b5a0 Rename p256m to p256 for uniform function/macro prefixes Aditya Deshpande 2023-01-23 14:59:29 +00:00
  • abf4bf31cb Start the driver example write-up (p256-m integration) Aditya Deshpande 2023-01-23 14:47:03 +00:00
  • 277690e944 Add step-by-step guide for writing and integrating drivers for entry points where auto-generation is not implemented Aditya Deshpande 2023-01-18 11:27:26 +00:00
  • e41f7e457f Integrate p256-m as an example driver alongside Mbed TLS and write documentation for the example. Aditya Deshpande 2023-01-12 16:29:02 +00:00
  • 75095cce74 mbedtls_psa_ffdh_set_prime_generator: use switch instead if-else Przemek Stekiel 2023-04-28 14:20:27 +02:00
  • 4ce523256b Fix definition of PSA_RAW_KEY_AGREEMENT_OUTPUT_MAX_SIZE (ECC vs FFDH max) Przemek Stekiel 2023-04-28 13:40:34 +02:00
  • eb511a4495 Update config files to make PSA FFDH undependent on MBEDTLS_DHM_C Przemek Stekiel 2023-04-28 13:20:16 +02:00
  • dca0501089 Adjust code style for pointer types and casts Gilles Peskine 2023-04-26 19:59:28 +02:00
  • 47903b17e9 typo Gilles Peskine 2023-04-26 19:57:46 +02:00
  • 97f5cff2a2 Add test cases with a question mark Gilles Peskine 2023-04-26 19:50:57 +02:00
  • 5be40834e4 Fix wrong comment Gilles Peskine 2023-02-23 21:55:59 +01:00
  • f089972625 Explain the format argument expected by the test functions Gilles Peskine 2023-02-23 21:54:59 +01:00
  • c2fda4b7fb Fix typos in test descriptions Gilles Peskine 2023-02-23 21:54:06 +01:00
  • c627917439 Test the line number returned by parse_test_data Gilles Peskine 2023-02-23 20:47:24 +01:00
  • f599ddfb43 Remove string hack for mbedtls_mpi_mod_int testing Gilles Peskine 2022-12-04 15:58:48 +01:00
  • ba72662730 Allow more signed integer types in test function arguments Gilles Peskine 2022-12-04 15:57:49 +01:00
  • 6494d923f0 Support larger integer test arguments: C part Gilles Peskine 2022-12-04 15:32:54 +01:00
  • 615be63565 parse_function_arguments: stricter type parsing Gilles Peskine 2022-12-04 15:11:00 +01:00
  • 46476e04f4 Support (void) as an argument list of a test function Gilles Peskine 2022-12-04 14:29:06 +01:00
  • f153c5676b parse_function_arguments: extract per-argument function Gilles Peskine 2022-12-04 14:10:39 +01:00
  • 3a37f19e31 parse_function_arguments: make local_vars a list Gilles Peskine 2022-12-04 14:00:32 +01:00
  • 9ad7bd3060 Support different types in the parameter store Gilles Peskine 2022-12-04 13:10:55 +01:00
  • a299043d58 Simplify parsing of integers in .datax files Gilles Peskine 2022-12-04 00:28:56 +01:00