Commit Graph

  • bf33c93717 psa: Call import software implementation as a driver Ronald Cron 2020-11-28 18:06:53 +01:00
  • a0fe59f738 psa: Export internally psa_import_key_into_slot() Ronald Cron 2020-11-29 11:14:53 +01:00
  • 2ebfdcce0e psa: Change psa_import_key_into_slot() signature Ronald Cron 2020-11-28 15:54:54 +01:00
  • dd04d423b5 psa: import: Move key buffer allocation Ronald Cron 2020-11-28 15:14:42 +01:00
  • d6ec3035a4 psa: Move ECP key import to psa_crypto_ecp.c Ronald Cron 2020-11-27 18:54:57 +01:00
  • b14dbbeb92 psa: Rename ECP key import function Ronald Cron 2020-11-22 16:36:49 +01:00
  • 79cc548cf2 psa: Change psa_import_ecp_key() signature Ronald Cron 2020-11-08 14:54:25 +01:00
  • 13f8b098cb psa: ecp: import: Move key buffer allocation Ronald Cron 2020-11-29 10:48:58 +01:00
  • abf2aef90f psa: Move RSA key import to psa_crypto_rsa.c Ronald Cron 2020-11-27 18:13:44 +01:00
  • b6420e3797 psa: Rename psa_import_rsa_key to mbedtls_psa_rsa_import_key Ronald Cron 2020-11-22 16:15:38 +01:00
  • 4f2a7f0190 psa: Change psa_import_rsa_key() signature Ronald Cron 2020-11-08 14:09:44 +01:00
  • 8f813ee8d8 psa: rsa: import: Move key buffer allocation Ronald Cron 2020-11-07 18:22:09 +01:00
  • f1057d3589 psa: Add ECP/RSA transparent test driver export_public_key entry point Ronald Cron 2020-11-26 19:19:10 +01:00
  • e5ca3d8533 psa: Move RSA/ECP export code to RSA/ECP specific C file Ronald Cron 2020-11-26 16:36:16 +01:00
  • 152e3f82e7 psa: export: Move registered SE support to the driver wrapper Ronald Cron 2020-11-26 16:06:41 +01:00
  • 672279829a psa: Call export software implementation as a driver Ronald Cron 2020-11-26 15:16:05 +01:00
  • 7285cda387 psa: Export internally psa_export_(public_)key_internal Ronald Cron 2020-11-26 14:46:37 +01:00
  • d18b5f84c6 psa: Change psa_export_(public_)key_internal signature Ronald Cron 2020-11-25 16:46:05 +01:00
  • 9486f9d8f0 psa: Disentangle public export and export code Ronald Cron 2020-11-26 13:36:23 +01:00
  • 200a52c246 psa: Align naming of export internal functions Ronald Cron 2020-11-25 15:55:46 +01:00
  • 00b7bfc2c4 psa: Move xxx_load_representation functions to RSA/ECP specific modules Ronald Cron 2020-11-25 15:25:26 +01:00
  • 3c8ca3ad00 psa: Rename psa_export_rsa/ecp_key to mbedtls_psa_rsa/ecp_export_key Ronald Cron 2020-11-26 16:45:24 +01:00
  • 9085708371 psa: Rename psa_load_rsa/ecp_representation Ronald Cron 2020-11-25 14:58:33 +01:00
  • 84cc99420c psa: Change psa_driver_wrapper_export_public_key() signature Ronald Cron 2020-11-25 14:30:05 +01:00
  • 8328287956 psa: Move from validate_key to import_key entry point Ronald Cron 2020-11-22 14:02:39 +01:00
  • ea0f8a6d1a psa: se: Create key context in SE key slots Ronald Cron 2020-11-25 17:52:23 +01:00
  • 0dbbf1e27f psa: Add architecture document Ronald Cron 2020-11-30 18:05:08 +01:00
  • c539b95e80 Merge pull request #4012 from gilles-peskine-arm/psa-test-new-dependencies Ronald Cron 2021-02-02 11:21:38 +01:00
  • 8a8a83b4a2 remove ssl_parse_client_hello redundant conditions Glenn Strauss 2021-02-02 02:21:23 -05:00
  • 4490fc6a38 adding parentheses to macro definitions, to avoid confusion and possible mistakes in usage. Daniel Otte 2021-02-01 14:26:08 +01:00
  • f9111bbdd8 avoid errorneous computation of RSA_PRV_DER_MAX_BYTES if MBEDTLS_MPI_MAX_SIZE is odd. Daniel Otte 2021-02-01 14:23:30 +01:00
  • 21cbe4a494 adding entry file to ChangeLog.d for PR4094 Daniel Otte 2021-02-01 18:44:24 +01:00
  • c8a9177110 mbedtls_mpi_sub_abs: fix buffer overflow in error case Gilles Peskine 2021-01-27 22:30:43 +01:00
  • 43e89e1b15 Add mpi_sub_abs negative tests with a larger-in-size second operand Gilles Peskine 2021-01-27 22:24:30 +01:00
  • 6260b70717 mbedtls_mpi_sub_abs: fix buffer overflow in error case Gilles Peskine 2021-01-27 22:30:43 +01:00
  • 9a3cf3174d Add mpi_sub_abs negative tests with a larger-in-size second operand Gilles Peskine 2021-01-27 22:24:30 +01:00
  • 79fb5da632 adding parentheses to macro definitions, to avoid confusion and possible mistakes in usage. Daniel Otte 2021-02-01 14:26:08 +01:00
  • 39f361466b avoid errorneous computation of RSA_PRV_DER_MAX_BYTES if MBEDTLS_MPI_MAX_SIZE is odd. Daniel Otte 2021-02-01 14:23:30 +01:00
  • 54c3046eea mbedtls_mpi_sub_abs: fix buffer overflow in error case Gilles Peskine 2021-01-27 22:30:43 +01:00
  • b20bbd1ddc Add mpi_sub_abs negative tests with a larger-in-size second operand Gilles Peskine 2021-01-27 22:24:30 +01:00
  • 612ffd2aa1 Fix copypasta in conditional directive in cipher_setup Gilles Peskine 2021-01-20 18:51:00 +01:00
  • 80a970806f No dependencies for storage format tests Gilles Peskine 2021-01-12 21:18:36 +01:00
  • b51d72f82e Run copy_fail even when the target policy is unsupported Gilles Peskine 2021-01-12 21:15:52 +01:00
  • fa37961413 Rename OMITTED_SYSTEMATIC_DEPENDENCIES Gilles Peskine 2021-01-12 21:14:46 +01:00
  • 0794572f96 More precise recognition of key policy negative tests Gilles Peskine 2021-01-12 12:57:23 +01:00
  • d6dc40cae1 Update hash dependencies in PSA test code Gilles Peskine 2021-01-12 12:55:31 +01:00
  • 8405b5f60d Change PSA crypto test dependencies to PSA_WANT_xxx Gilles Peskine 2021-01-12 00:31:56 +01:00
  • a87e178553 If there are no arguments, don't update the file content Gilles Peskine 2021-01-12 01:13:39 +01:00
  • 72d8e0ad04 Key policy negative tests don't actually require the algorithm Gilles Peskine 2021-01-12 01:11:42 +01:00
  • 20987b9a46 Detect test cases that require something not to be supported Gilles Peskine 2021-01-12 01:11:32 +01:00
  • f032fa9d94 Special handling for some always-on or alias symbols Gilles Peskine 2021-01-12 01:01:26 +01:00
  • 81dec0047f Remove classic crypto dependencies Gilles Peskine 2021-01-12 00:59:09 +01:00
  • e4f539caf9 Don't add cipher-related PSA_WANT_xxx because they aren't implemented yet Gilles Peskine 2021-01-12 00:58:36 +01:00
  • 9bbba5ea69 Add a function to remove classic crypto dependencies Gilles Peskine 2021-01-12 00:55:55 +01:00
  • 2d2e924401 Implement basic update of PSA_WANT dependencies Gilles Peskine 2021-01-12 00:52:31 +01:00
  • 45e9e73e66 Add a possibility to keep manual dependencies for certain functions Gilles Peskine 2021-01-12 00:47:03 +01:00
  • 82ebaa4d36 Implement stanza parsing in .data files Gilles Peskine 2021-01-12 00:45:14 +01:00
  • bdffaeaf3a New script to determine PSA crypto test dependencies automatically Gilles Peskine 2021-01-12 00:37:38 +01:00
  • 6fea21d515 Declare a code dependency in the code instead of in the data Gilles Peskine 2021-01-12 00:02:15 +01:00
  • 51b8bb01cb PSA_KEY_TYPE_DERIVE is always available Gilles Peskine 2021-01-12 00:01:16 +01:00
  • b65db07ae8 Add missing declaration of SHA-224 from MBEDTLS_SHA256_C Gilles Peskine 2021-01-12 00:00:53 +01:00
  • 47a8933b0f Declare PSA_KEY_TYPE_HMAC as well Gilles Peskine 2021-01-12 00:00:15 +01:00
  • 336678bccc tests: psa: Test PSA client-only code Ronald Cron 2021-01-28 17:54:24 +01:00
  • f7b666c508 tests: psa: Move PSA key attributes tests Ronald Cron 2021-01-28 18:20:21 +01:00
  • 21b5616ea3 psa: Move PSA client code Ronald Cron 2021-01-28 16:36:00 +01:00
  • d7906327ca psa: Add psa_crypto_client.c Ronald Cron 2021-01-28 16:07:56 +01:00
  • 3768ac12a8 Add MBEDTLS_PSA_CRYPTO_CLIENT configuration option Ronald Cron 2021-01-26 16:58:00 +01:00
  • 04ea1064a6 Declare MBEDTLS_TEST_HOOKS in config.h Gilles Peskine 2019-09-11 13:27:48 +02:00
  • 53943ca434 Merge pull request #3992 from stevew817/feature/ecp_no_fallback Gilles Peskine 2021-01-29 16:08:51 +01:00
  • a209f34faf Merge pull request #3996 from stevew817/feature/allow_reading_external_keys Janos Follath 2021-01-29 13:34:11 +00:00
  • 594d7afa00 Merge pull request #3994 from stevew817/feature/cmac_self_test_skip_unsupported Janos Follath 2021-01-29 13:17:17 +00:00
  • 5d453ee882 Merge pull request #4068 from stevew817/backport/pr-4008 Janos Follath 2021-01-29 12:54:35 +00:00
  • a14d1642f4 Merge pull request #4008 from stevew817/bugfix/fix_dependencies paul-elliott-arm 2021-01-29 12:24:54 +00:00
  • 88a8035860 Merge pull request #3953 from gilles-peskine-arm/python-mypy-mkdir Ronald Cron 2021-01-29 12:07:53 +01:00
  • c7da6a48dd Update comment to only apply to AES-192 Steven Cooreman 2021-01-29 11:09:50 +01:00
  • ac80be111b Merge pull request #3878 from gilles-peskine-arm/psa-builtin-keys-via-slot-number-spec Ronald Cron 2021-01-29 10:43:15 +01:00
  • 318515b384 Merge pull request #3984 from gabor-mezei-arm/3268_update_macros_for_ouput_buffer_size_renames Ronald Cron 2021-01-29 09:31:59 +01:00
  • 226626fd42 Merge pull request #4021 from gilles-peskine-arm/ssl-test_without_hmac_drbg-2.16 Ronald Cron 2021-01-29 09:10:11 +01:00
  • 0426e2545d Merge pull request #4020 from gilles-peskine-arm/ssl_test_lib-hmac_drg Ronald Cron 2021-01-29 08:58:23 +01:00
  • 7dadf14e7b Minor language correction after review Steven Cooreman 2021-01-28 19:46:52 +01:00
  • 29eecbf6e1 move _bad_order() test case dependencies to the function itself Steven Cooreman 2021-01-28 19:41:25 +01:00
  • bdae918cd9 Fix documentation gabor-mezei-arm 2021-01-28 14:33:10 +01:00
  • 4e300d00e8 Add missing const attribute to asn1write api Mateusz Starzyk 2021-01-27 15:37:12 +01:00
  • a82e56aa91 Avoid unreferenced item warnings in ECDSA when ALT is in use Steven Cooreman 2021-01-11 17:11:39 +01:00
  • 2b8c2657e4 Implements getrandom's wrapper for handful of BSD. David Carlier 2020-12-28 15:51:14 +00:00
  • 95370ba50d Add support for key policies in addition to specific algorithms archive/dev/gilles-peskine-arm/pr_4067-2 Steven Cooreman 2021-01-26 17:26:28 +01:00
  • d80e8a4112 Check for existence of key material on store/load Steven Cooreman 2021-01-26 12:45:39 +01:00
  • 59961cfc73 Add missing const attribute to asn1 api Mateusz Starzyk 2021-01-26 13:57:43 +01:00
  • 86326a9131 Fix possible error codes in the documentation gabor-mezei-arm 2020-11-30 16:50:34 +01:00
  • ddb3bd57d3 Merge pull request #3897 from d3zd3z/fix-cmake28 Ronald Cron 2021-01-26 13:35:56 +01:00
  • 107409f470 Apply review feedback Steven Cooreman 2021-01-26 12:01:22 +01:00
  • a120146afe Merge pull request #3962 from gilles-peskine-arm/psa-storage-format-test-strategy Ronald Cron 2021-01-25 16:44:23 +01:00
  • 75829a4296 Explain the explicit dependency on instrument_record_status.h Gilles Peskine 2021-01-25 13:46:14 +01:00
  • da9529f3e0 Update copypasta Gilles Peskine 2021-01-25 13:42:42 +01:00
  • 94ad831f8e Add comments to some endif guards Gilles Peskine 2021-01-25 13:42:28 +01:00
  • b034683a70 Merge pull request #4007 from stevew817/feature/alt_implementation_is_not_deterministic Janos Follath 2021-01-25 12:39:03 +00:00
  • 01c69377bd Merge pull request #4057 from stevew817/backport/pr-4007 Janos Follath 2021-01-25 12:38:53 +00:00
  • 055be83413 Fix typo Gilles Peskine 2021-01-25 11:36:24 +01:00
  • 0b7cb319cd Skip tests requiring known entropy for ECJPAKE ALT implementations Steven Cooreman 2021-01-11 17:20:10 +01:00
  • f63b2283f2 Merge pull request #4053 from TeroJaasko/baremetal_aes_masking_speedup archive/baremetal Shelly Liberman 2021-01-24 11:22:23 +02:00