Commit Graph

  • cb679f23bc Replace 0s with proper defines when possible Neil Armstrong 2022-09-13 14:43:07 +02:00
  • 5166954d14 Make more use of MBEDTLS_MAX_HASH_SIZE macro Przemek Stekiel 2022-09-13 12:57:05 +02:00
  • 1963d67ed0 Merge pull request #6276 from daverodgman/fixcopyright_2.28 Dave Rodgman 2022-09-13 11:24:01 +01:00
  • 8cc46aa22c Merge pull request #6275 from daverodgman/fixcopyright Dave Rodgman 2022-09-13 11:23:52 +01:00
  • f498910383 Merge pull request #6256 from AndrzejKurek/tls-tests-no-md-ssl-opt Manuel Pégourié-Gonnard 2022-09-13 10:37:48 +02:00
  • 4746b10c2e fix various issues Jerry Yu 2022-09-13 11:11:48 +08:00
  • 8d4bbbae4f fix ticket age check issues Jerry Yu 2022-09-13 14:15:48 +08:00
  • 46bffe0e82 Refine rsumption master secret compute function Jerry Yu 2022-09-13 11:25:28 +08:00
  • 466dda8553 Rename resumption master secret compute function Jerry Yu 2022-09-13 11:20:20 +08:00
  • 6cf85a4bb0 update document abourt maximum ticket_age_tolerance Jerry Yu 2022-09-13 11:14:42 +08:00
  • a02841bb8a revert changes on PSK tests Jerry Yu 2022-09-13 10:59:21 +08:00
  • 9f4fb3e63f pkcs7: Unite function return style Nick Child 2022-09-12 16:21:02 -05:00
  • e3619d06c2 Correct copyright and license in crypto_spe.h Dave Rodgman 2022-09-12 17:57:32 +01:00
  • 53a18f23ac Correct copyright and license in crypto_spe.h Dave Rodgman 2022-09-12 17:57:32 +01:00
  • 3dc45198e6 Replace L/R inputs with A/B Werner Lewis 2022-09-12 17:35:27 +01:00
  • 1fade8adb6 Move symbol definition out of __init__ Werner Lewis 2022-09-12 17:34:15 +01:00
  • 0bc834b27f Enable signature algorithms in ssl programs with PSA based hashes Andrzej Kurek 2022-09-06 17:30:43 -04:00
  • d681746a51 Split some ssl-opt.sh test cases into two Andrzej Kurek 2022-09-06 14:32:00 -04:00
  • 07e3570f8c Add an ssl-opt.sh run to all.sh for the accel_hash_use_psa config Andrzej Kurek 2022-09-05 15:39:23 -04:00
  • 934e9cd47f Switch to the new version of hash algorithm checking in ssl-opt.sh Andrzej Kurek 2022-09-05 14:44:46 -04:00
  • 9c061a2d19 Add a posibility to check for the availability of hash algs to ssl-opt Andrzej Kurek 2022-09-05 10:51:19 -04:00
  • f6a6a2d815 Merge pull request #6216 from AndrzejKurek/tls-tests-no-md-compat Manuel Pégourié-Gonnard 2022-09-12 10:23:49 +02:00
  • 1577c548d1 Use NULL instead of 0 Dave Rodgman 2022-09-09 10:22:15 +01:00
  • fb3093a9cb Use PSA_PAKE_ROLE_NONE in PSA_PAKE_OPERATION_INIT macro instead of 0 Neil Armstrong 2022-09-08 14:59:32 +02:00
  • 7cd4eacbd4 Fix typo in mbedtls_ecjpake_write_shared_key() comment Neil Armstrong 2022-09-08 14:57:55 +02:00
  • ecb221b1ff Move operation buffer in operation struct and remove dynamic allocation Neil Armstrong 2022-09-08 11:21:07 +02:00
  • 2ca343796d Add const to move variables to .rodata section Alexey Tsvetkov 2022-06-07 10:21:05 +03:00
  • fd6cca4448 CID update to RFC 9146 Hannes Tschofenig 2021-10-12 09:22:33 +02:00
  • 40afdd2791 Make use of MBEDTLS_MAX_HASH_SIZE macro Przemek Stekiel 2022-09-06 13:08:28 +02:00
  • c3f2767c25 hash_info.h: add MBEDTLS_MAX_HASH_SIZE macro Przemek Stekiel 2022-09-06 13:06:28 +02:00
  • 9720b881f5 Remove doxygen markup outside doxygen block in psa_pake_sequence comment Neil Armstrong 2022-09-06 11:39:21 +02:00
  • b39833cff2 Fix typo in psa_pake_sequence comment Neil Armstrong 2022-09-06 11:36:02 +02:00
  • 2a73f21878 Fixup expected status handling in ecjpake_setup() and add more coverage for psa_pake_set_password_key() Neil Armstrong 2022-09-06 11:34:54 +02:00
  • 58af2335d9 Add possible group tests for psk with ECDHE Jerry Yu 2022-09-06 11:19:31 +08:00
  • 079472b4c9 Add multiple pre-configured psk test for server Jerry Yu 2022-09-06 11:44:18 +08:00
  • fd310ebf2d fix coding style issues Jerry Yu 2022-09-06 09:16:35 +08:00
  • 5205fb42a1 Update mps_common.h Simon 2022-09-05 23:15:07 +02:00
  • bcd5bd933e Add a comment expliciting usage of internal PAKE step/state/sequence enums Neil Armstrong 2022-09-05 18:33:23 +02:00
  • 78c4e8e9cb Make ecjpake_do_round() return void and use TEST_ASSERT with a descriptive text instead of returning a value Neil Armstrong 2022-09-05 18:08:13 +02:00
  • 51009d7297 Add comment in ecjpake_do_round() explaining input errors can be detected any time in the input sequence Neil Armstrong 2022-09-05 17:59:54 +02:00
  • 5bbdb70131 Fix style in psa_pake_input() Neil Armstrong 2022-09-05 17:54:15 +02:00
  • 52f83dc471 Merge pull request #6244 from AndrzejKurek/pkcs5-no-md Manuel Pégourié-Gonnard 2022-09-05 11:01:31 +02:00
  • 5e0654a324 Add a compat.sh run to psa_crypto_config_accel_hash_use_psa Andrzej Kurek 2022-09-03 06:50:09 -04:00
  • c502210291 Adjust pkparse test dependencies Andrzej Kurek 2022-08-30 06:12:13 -04:00
  • 855e45c817 Use simpler int to hex string conversion Werner Lewis 2022-09-02 17:26:19 +01:00
  • 67c9247ed9 Move the T++ in mbedtls_mpi_core_montmul() to within the loop body Tom Cosgrove 2022-09-02 13:28:59 +01:00
  • 56013081c7 Remove unused imports Werner Lewis 2022-09-02 12:57:37 +01:00
  • a4668a6b6c Rework TestGenerator to add file targets Werner Lewis 2022-09-02 11:56:34 +01:00
  • 1135b20064 Add mbedtls_mpi_core_add_if() tests for when inputs are aliased Tom Cosgrove 2022-09-02 11:46:18 +01:00
  • 42dfac6ae8 Rename variables and update comments in mpi_core_mla test Tom Cosgrove 2022-09-02 11:16:39 +01:00
  • a043aeb95c Rename variables and update comments in mpi_core_sub test Tom Cosgrove 2022-09-02 10:59:59 +01:00
  • eceb4ccfc3 Rename variables and update comments in mpi_core_add_if test Tom Cosgrove 2022-09-02 10:46:09 +01:00
  • 1b2947a614 Remove mbedtls_ prefix from bignum test cases Tom Cosgrove 2022-09-02 10:24:55 +01:00
  • 216baca131 pkcs5: improve error handling Andrzej Kurek 2022-09-01 12:59:05 -04:00
  • e3d544c58f Minor PKCS5 improvements Andrzej Kurek 2022-09-01 12:33:22 -04:00
  • 7a32072038 Setup / deinitialize PSA in pk tests only if no MD is used Andrzej Kurek 2022-09-01 09:23:09 -04:00
  • 3d0dfb99c9 Change the pkcs5_pbkdf2_hmac deprecation approach Andrzej Kurek 2022-09-01 05:16:48 -04:00
  • f000471c66 Add missing MD dependency for pkcs5_pbkdf2_hmac Andrzej Kurek 2022-08-31 19:10:42 -04:00
  • 11265d78bb Remove PKCS5 from the ref config in the migration script Andrzej Kurek 2022-08-31 15:19:20 -04:00
  • 26909f348f Add PSA initialization and teardown to tests using pkcs5 Andrzej Kurek 2022-08-31 15:10:50 -04:00
  • a57267c758 Add a possibility to call PSA_INIT without MBEDTLS_PSA_CRYPTO_C Andrzej Kurek 2022-08-31 15:09:19 -04:00
  • 37a17e890c Enable PKCS5 in no-md builds in all.sh Andrzej Kurek 2022-08-31 15:00:55 -04:00
  • 345a92b321 Adjust PKCS5 dependencies in check_config Andrzej Kurek 2022-08-31 15:00:31 -04:00
  • 65bf73ed6a Enable HMAC in config_psa.h regardless of MD availability Andrzej Kurek 2022-08-31 14:59:31 -04:00
  • ed98e95c81 Adjust pkcs5 test dependencies Andrzej Kurek 2022-08-31 14:57:11 -04:00
  • 890e78ae66 Deprecate mbedtls_pkcs5_pbkdf2_hmac Andrzej Kurek 2022-08-31 14:43:53 -04:00
  • dd36c76f09 Provide a version of pkcs5_pbkdf2_hmac without MD usage Andrzej Kurek 2022-08-31 13:29:38 -04:00
  • 97fc247d6a Merge pull request #6232 from AndrzejKurek/pkcs12-no-md Manuel Pégourié-Gonnard 2022-09-02 09:43:13 +02:00
  • 62b2d7e7d4 pkcs7: Support verification of hash with multiple signers Nick Child 2022-07-14 16:24:59 -05:00
  • 3538479faa pkcs7: support multiple signers Daniel Axtens 2020-09-02 14:48:45 +10:00
  • 8a10f66692 test/pkcs7: Add init for PSA tests Nick Child 2022-06-06 12:18:40 -05:00
  • 5d881c36ea pkcs7: Change copyright Nick Child 2022-02-28 10:09:16 -06:00
  • 45525d3768 pkcs7: Fix dependencies for pkcs7 tests Nick Child 2022-02-25 11:54:34 -06:00
  • 6427b34dec pkcs7.c: Use pkcs7_get_version for signerInfo Nick Child 2022-02-25 11:43:31 -06:00
  • 6671841d91 pkcs7.c: Do not ignore return value of mbedlts_md Nick Child 2022-02-22 17:19:59 -06:00
  • 600bd30427 Avoid unwanted eol conversion of test data Manuel Pégourié-Gonnard 2022-02-21 11:30:43 +01:00
  • 390e61a47a pkcs7.h: Make pkcs7 fields private Nick Child 2021-08-09 13:33:14 -04:00
  • c448c94fe3 pkcs7: pkcs7_get_content_info_type should reset *p on error Nick Child 2021-07-01 15:29:50 -04:00
  • 136c6aa467 mbedtls: add pkcs7 test data Nayna Jain 2020-11-18 14:44:21 +00:00
  • 106a0afc5a pkcs7: provide fuzz harness Nayna Jain 2020-11-03 21:07:21 +00:00
  • aa91d4ef0b pkcs7: build under CMake Daniel Axtens 2020-05-29 00:23:21 +10:00
  • ca07f06024 mbedtls: add pkcs7 in generate_errors.pl Nayna Jain 2020-06-12 18:44:04 +00:00
  • 673a226698 pkcs7: add support for signed data Nayna Jain 2020-12-14 22:44:49 +00:00
  • c9deb184b0 mbedtls: add support for pkcs7 Nayna Jain 2020-11-16 19:03:12 +00:00
  • 7714368667 Remove unused variable Tuvshinzaya Erdenekhuu 2022-09-01 17:11:14 +01:00
  • 08b223443f Add new tests Tuvshinzaya Erdenekhuu 2022-09-01 16:18:00 +01:00
  • fe7524de03 Make minor style change Tuvshinzaya Erdenekhuu 2022-09-01 16:07:18 +01:00
  • b0fb17a829 Use ASSERT_COMPARE() instead of memcmp() in new tests Tom Cosgrove 2022-09-01 15:04:43 +01:00
  • e16e6edfce Remove the dependency on MD_MAX_SIZE from PKCS12 Andrzej Kurek 2022-08-24 15:20:14 -04:00
  • 7bd12c5d5e Remove MD dependency from pkcs12 module Andrzej Kurek 2022-08-24 10:47:10 -04:00
  • 9339f05a81 Swap arguments of TEST_EQUAL() where it improves readability Tom Cosgrove 2022-09-01 13:02:53 +01:00
  • 1b36e1b4d7 Merge pull request #6246 from superna9999/6100-crash-in-test-suite-x509write-backport Manuel Pégourié-Gonnard 2022-09-01 11:18:41 +02:00
  • 0777ec1625 Merge pull request #6109 from superna9999/6100-crash-in-test-suite-x509write Manuel Pégourié-Gonnard 2022-09-01 11:18:30 +02:00
  • f0b2231fcd Update comments at the end of montmul following Gilles' feedback Tom Cosgrove 2022-08-31 17:57:34 +01:00
  • 5eefc3db3f Move macros to come before function declarations Tom Cosgrove 2022-08-31 17:16:50 +01:00
  • aaf3b79bbb Use Python 3.5 style typing for dependencies Werner Lewis 2022-08-31 17:16:44 +01:00
  • 630110ab23 Fix documentation where ciL should be biL Tom Cosgrove 2022-08-31 17:09:29 +01:00
  • ed43c6caeb In add_if(), B MAY be aliased to A. Also update another comment for consistency. Tom Cosgrove 2022-08-31 11:35:00 +01:00
  • 9354990a54 Don't use multiplication by condition in even a semi-constant time function Tom Cosgrove 2022-08-30 17:41:23 +01:00
  • 466f036326 Add dependencies attribute to BaseTarget Werner Lewis 2022-08-31 17:01:38 +01:00