Commit Graph

  • 18b02d35d6 Remove redundant sig_alg argument Dave Rodgman 2022-08-15 11:01:54 +01:00
  • 2ee7bbd10a Replace some constant values with sizeof Dave Rodgman 2022-08-11 16:23:17 +01:00
  • e2b772d1b6 Fix whitespace, missing const Dave Rodgman 2022-08-11 16:04:13 +01:00
  • 5f3f0d06e6 Address minor review comments Dave Rodgman 2022-08-11 14:38:26 +01:00
  • ec9f6b4de1 Fix minor compile errors Dave Rodgman 2022-07-27 14:34:58 +01:00
  • abdb0df91d Fix test fails due to changes in cert generation Dave Rodgman 2022-07-22 15:45:30 +01:00
  • ca841d32db Add test for mbedtls_x509write_crt_set_ext_key_usage, and fix reversed order Nicholas Wilson 2015-11-13 14:22:36 +00:00
  • 99a96b1c22 Improve programs/cert_write with a way to set the signature digest Nicholas Wilson 2015-09-10 18:28:01 +01:00
  • 8e5bdfbbcf Improve programs/cert_write with a way to set extended key usages Nicholas Wilson 2015-09-09 19:03:34 +01:00
  • 0edfa9dd26 Merge pull request #6207 from daverodgman/ticket_time Dave Rodgman 2022-08-30 10:03:06 +01:00
  • 81f24443b7 Modify wording in docstrings Werner Lewis 2022-08-25 16:27:05 +01:00
  • 63d40e6b46 shorten the description Jerry Yu 2022-08-29 20:38:39 +08:00
  • e5834fd0d7 remove unnecessary test Jerry Yu 2022-08-29 20:16:09 +08:00
  • d932de8857 Remove incorrect constant-time claim from doc for mbedtls_mpi_core_add_if() Tom Cosgrove 2022-08-25 16:43:43 +01:00
  • 3366ebcb66 Add test_generation.py dependency in builds Werner Lewis 2022-08-25 16:18:22 +01:00
  • 505a05073c Use spec values as-is for test data Werner Lewis 2022-08-25 10:29:19 +01:00
  • e7b4b58403 Add psk kex mode tests Jerry Yu 2022-08-25 17:53:13 +08:00
  • 76f45625e6 Fix trailing whitespace Werner Lewis 2022-08-25 13:21:45 +01:00
  • 9df9faac5c Use argparser default for targets Werner Lewis 2022-08-25 12:49:41 +01:00
  • 6ef5436f3c Clarify documentation Werner Lewis 2022-08-25 12:29:46 +01:00
  • f156c43702 Use argparser default for directory Werner Lewis 2022-08-25 11:30:17 +01:00
  • a16b617fe9 Disable abstract check in pylint Werner Lewis 2022-08-25 11:17:35 +01:00
  • 3e06fce260 Remove old tests. Jerry Yu 2022-08-25 17:51:57 +08:00
  • c4afef7f46 Use spec values as-is for test data Werner Lewis 2022-08-25 10:29:19 +01:00
  • ecbb124292 Fix incorrect parameter name in mbedtls_mpi_core_add_if() doc comment Tom Cosgrove 2022-08-25 10:13:44 +01:00
  • e3ad22ecf2 Fix TARGET types and code style Werner Lewis 2022-08-25 10:02:06 +01:00
  • 6d654c6491 Raise NotImplementedError in abstract methods Werner Lewis 2022-08-25 09:56:51 +01:00
  • 3c01d47ef7 Update test cases Jerry Yu 2022-08-25 11:34:36 +08:00
  • 0baf907e11 remove select_ciphersuite Jerry Yu 2022-08-25 11:21:04 +08:00
  • c5a23a0f12 fix various issues Jerry Yu 2022-08-25 10:51:44 +08:00
  • a195ce73f5 Disable pylint unused arg in __new__ Werner Lewis 2022-08-24 18:09:10 +01:00
  • 9990b30568 Use typing casts for fixed-width tuples Werner Lewis 2022-08-24 18:03:30 +01:00
  • 6300b4f7e0 Add missing typing Werner Lewis 2022-08-24 17:46:22 +01:00
  • d03d2a3a91 Remove trailing whitespace in description Werner Lewis 2022-08-24 17:20:29 +01:00
  • cfd4768df2 Use __new__() for case counting Werner Lewis 2022-08-24 17:04:07 +01:00
  • 2b527a394d Split generate_tests to reduce code complexity Werner Lewis 2022-08-24 12:42:00 +01:00
  • b2c06f4acf Remove stale comment, and fix whitespace issue Tom Cosgrove 2022-08-24 17:45:58 +01:00
  • 699e126942 Use ABCMeta for abstract classes Werner Lewis 2022-08-24 12:18:25 +01:00
  • 169034ae63 Add details to docstrings Werner Lewis 2022-08-23 16:07:37 +01:00
  • 6c70d745d1 Convert bools to int before arithmetic Werner Lewis 2022-08-24 16:37:44 +01:00
  • 92c876aaa9 Remove unneeded list concatenation Werner Lewis 2022-08-23 16:07:19 +01:00
  • 55e638ca57 Remove abbreviations and clarify attributes Werner Lewis 2022-08-23 14:21:53 +01:00
  • fac3ea5656 Merge pull request #6184 from leorosen/ssl_tls_curve_group_id_null_protect Dave Rodgman 2022-08-24 15:16:45 +01:00
  • fbb75e3fc5 Separate common test generation classes/functions Werner Lewis 2022-08-24 11:30:03 +01:00
  • bcc13c943f Add further missing whitespaces inside parentheses Tom Cosgrove 2022-08-24 15:08:16 +01:00
  • 383461c92f Separate CMake targets for bignum and PSA Werner Lewis 2022-08-23 11:29:05 +01:00
  • 20c1137350 Fix coding style Tom Cosgrove 2022-08-24 15:06:13 +01:00
  • 5a28142410 Merge pull request #6189 from Kxuan/fix-ctr_drbg-uninit Dave Rodgman 2022-08-24 14:58:44 +01:00
  • 72594633a1 Apply the function parameter naming convention Tom Cosgrove 2022-08-24 11:51:58 +01:00
  • f0ffb1585a Have mbedtls_mpi_montg_init() take the modulus, rather than just its least significant limb Tom Cosgrove 2022-08-24 11:17:15 +01:00
  • 958fd3dc0c Remove bignum_new.c, moving contents to bignum_core.c Tom Cosgrove 2022-08-24 11:08:51 +01:00
  • 2523791d00 Better constant-time properties for mbedtls_mpi_core_montmul() Tom Cosgrove 2022-08-19 08:43:56 +01:00
  • f88b47ea27 Remove 'const' qualifier from temporary for mpi_montmul() Tom Cosgrove 2022-08-17 08:42:58 +01:00
  • 4641ec6c52 Fix style following review comments Tom Cosgrove 2022-08-17 06:56:08 +01:00
  • 40d229487d Tidy up doc comments on existing function mpi_montmul() Tom Cosgrove 2022-08-17 06:42:44 +01:00
  • 9384284530 Use mbedtls_mpi_core_montmul() in mpi_montmul() Tom Cosgrove 2022-08-05 16:59:43 +01:00
  • f334d9622b Add unit tests for bignum_new.c:mbedtls_mpi_core_montmul() Tom Cosgrove 2022-08-17 06:29:32 +01:00
  • 79b70f6394 Make a public version of mpi_montg_init() in bignum_new.c and add unit tests Tom Cosgrove 2022-08-17 06:17:00 +01:00
  • 659c84add9 Add unit tests for the new function mbedtls_mpi_core_mla() in bignum_new.c Tom Cosgrove 2022-08-17 05:45:19 +01:00
  • 2a65b85928 Add unit tests for the new function mbedtls_mpi_core_sub() in bignum_new.c Tom Cosgrove 2022-08-17 05:43:54 +01:00
  • 0cc78658c3 Add unit tests for the new function mbedtls_mpi_core_add_if() in bignum_new.c Tom Cosgrove 2022-08-23 16:26:52 +01:00
  • 268f96b0ef Fix Windows builds, which were getting "possible loss of data" Tom Cosgrove 2022-07-31 22:30:16 +01:00
  • 7e655f7b4c Use new mbedtls_mpi_core_sub() instead of old static mpi_sub_hlp() Tom Cosgrove 2022-07-20 14:02:11 +01:00
  • 90c426b932 Tidy up, removing MPI_CORE(), and using the new mbedtls_mpi_core_mla() Tom Cosgrove 2022-08-23 16:15:19 +01:00
  • 2185c0f2e9 add force ciphersuite tls-aes-256-gcm-sha384 test Jerry Yu 2022-08-23 16:12:43 +08:00
  • f35ba384ff Add select ciphersuite entry function Jerry Yu 2022-08-23 17:58:26 +08:00
  • 71f4b0dda6 Add bignum_new.c starting with MPI_CORE(montmul) for Montgomery multiplication Hanno Becker 2022-08-23 12:09:35 +01:00
  • 82d3f1e824 Remove bignum_internal.h, moving contents to bignum_core.h Tom Cosgrove 2022-08-23 12:01:39 +01:00
  • dd1bef788e Add ciphersuite_info check Jerry Yu 2022-08-23 17:57:02 +08:00
  • 29d9faa468 fix various issues. Jerry Yu 2022-08-23 17:52:45 +08:00
  • 32bd063773 test_suite_ssl: Add minimal handshake requirements Andrzej Kurek 2022-08-20 14:10:36 -04:00
  • 299b1d6c93 Remove unnecessary psa/crypto.h include Andrzej Kurek 2022-08-22 17:26:13 -04:00
  • cccb044804 Style & formatting fixes Andrzej Kurek 2022-08-19 03:42:11 -04:00
  • 645ff5b8ff Merge pull request #6095 from gabor-mezei-arm/6016_add_new_modulus_and_residue_structures Janos Follath 2022-08-23 09:02:43 +01:00
  • 66f35f2402 fix wrong requires setting Jerry Yu 2022-08-22 17:27:41 +08:00
  • e02da81086 Update TLS1.2 dependencies description in mbedtls_config.h Andrzej Kurek 2022-08-17 17:04:49 -04:00
  • 21b6870301 test_suite_ssl: remove unnecessary usage of mbedtls_md_get_size Andrzej Kurek 2022-08-17 16:26:12 -04:00
  • 180b6b9608 Enable TLS 1.2 tests without MD and with USE_PSA in all.sh Andrzej Kurek 2022-08-17 16:21:06 -04:00
  • 7e16ce3a72 Clarify TLS 1.2 dependencies with and without PSA crypto Andrzej Kurek 2022-08-17 16:19:39 -04:00
  • 8c95ac4500 Add missing dependencies / alternatives Andrzej Kurek 2022-08-17 16:17:00 -04:00
  • 7bb8bab457 Update SHA and MD5 dependencies in the SSL tests Andrzej Kurek 2022-08-17 16:11:04 -04:00
  • 25f271557b Update SHA and MD5 dependencies in the SSL module Andrzej Kurek 2022-08-17 16:09:31 -04:00
  • 635c2c2be5 test_suite_ssl: replace CTR_DRBG with a fake rng source Andrzej Kurek 2022-08-17 15:20:40 -04:00
  • 0ce592169e Use hash_info_get_size in ssl_tls12_client Andrzej Kurek 2022-08-17 07:54:34 -04:00
  • a242e83b21 Rename the sha384 checksum context to reflect its purpose Andrzej Kurek 2022-08-11 10:03:14 -04:00
  • 0ce93933e8 Merge pull request #6219 from KloolK/development Dave Rodgman 2022-08-22 21:47:21 +01:00
  • e5018c97f9 Merge pull request #6195 from superna9999/6149-driver-only-hashes-ec-j-pake Gilles Peskine 2022-08-22 17:28:15 +02:00
  • 194556034d Merge pull request #6169 from tom-cosgrove-arm/fix-incorrect-use-of-mbedtls_ecp_group_id Gilles Peskine 2022-08-22 17:26:18 +02:00
  • 250a612969 Merge pull request #6212 from tom-cosgrove-arm/explicit-warning-re-ct-conditions-not-0-or-1-2.28 Gilles Peskine 2022-08-22 17:24:10 +02:00
  • 20ebaac85e Merge pull request #6211 from tom-cosgrove-arm/explicit-warning-re-ct-conditions-not-0-or-1 Gilles Peskine 2022-08-22 17:24:04 +02:00
  • 03f1c39ac7 Merge pull request #6171 from mprse/md_x509_test Gilles Peskine 2022-08-22 17:18:47 +02:00
  • 9ff6f8cdbd Fix minor typos Jan Bruckner 2022-08-22 16:05:58 +02:00
  • 2e328c8591 Remove confusing const qualifier Janos Follath 2022-08-22 11:19:10 +01:00
  • c459641ad1 Bignum: add missing limb qualifiers Janos Follath 2022-08-22 10:01:27 +01:00
  • 6b8e0c2884 Bignum: make tests more readable Janos Follath 2022-08-22 09:54:25 +01:00
  • 494a6d22bd Bignum tests: use TEST_EQUAL Janos Follath 2022-08-22 09:36:17 +01:00
  • af3f39c01c Fix typos Janos Follath 2022-08-22 09:06:32 +01:00
  • 5725f1cf3a Align ciphersuite with overwrite. Jerry Yu 2022-08-21 17:27:16 +08:00
  • 01e42d2d4c fix issues in export handshake psk Jerry Yu 2022-08-21 12:55:51 +08:00
  • 9f7f646b11 Revert "remove psk key when ephemeral selected" Jerry Yu 2022-08-21 10:22:33 +08:00