Commit Graph

  • 7c8d706f4e Use a common function to calculate the number of hex digits Gabor Mezei 2023-02-14 18:25:23 +01:00
  • aef0f2de9f Fix limb size calculation Gabor Mezei 2023-02-14 18:18:37 +01:00
  • e14b5bdba7 Change the ecp_mod_p224_raw to be testable Gabor Mezei 2023-02-08 17:23:03 +01:00
  • 66f88a9d22 Extract Secp224r1 from the prototype Gabor Mezei 2023-02-08 17:11:13 +01:00
  • 787f7c8d10 Improve documentation of documentation workaround Gilles Peskine 2023-02-21 10:21:12 +01:00
  • cddf9150b2 Merge pull request #7110 from lpy4105/issue/6947/backport-apply-exclusions-in-code_style_py Gilles Peskine 2023-02-21 10:11:22 +01:00
  • 6df4a9b297 Merge pull request #7045 from lpy4105/issue/6947/apply-exclusions-in-code_style_py Gilles Peskine 2023-02-21 10:11:13 +01:00
  • ba4ec24c79 fix code style failure Jerry Yu 2023-02-21 15:59:13 +08:00
  • 10ce540a8c Put *MS_TIME* into together. Jerry Yu 2023-02-21 15:39:02 +08:00
  • 1ae2b2f034 Improve code style Jerry Yu 2023-02-21 15:37:12 +08:00
  • baae4012bf merge setkey_enc* functions Jerry Yu 2023-02-21 15:26:13 +08:00
  • 97b31d8ca3 Revert "Disable clang tests" Jerry Yu 2023-02-21 14:52:33 +08:00
  • 330e6ae111 Add document about runtime detection of AESCE Jerry Yu 2023-02-21 14:51:38 +08:00
  • c8bcdc8b91 fix various issues Jerry Yu 2023-02-21 14:49:02 +08:00
  • 5e780df3e3 Only use standard cipher name Pengyu Lv 2023-02-21 14:19:27 +08:00
  • b0926916f6 Merge pull request #7086 from tom-cosgrove-arm/dont-use-lstrlenW-228 Dave Rodgman 2023-02-20 15:11:32 +00:00
  • e8ef6adde0 Correct error code in test_suite_x509parse.data David Horstmann 2023-02-20 14:57:47 +00:00
  • a4fad2ba67 Correct error code in test_suite_x509parse.data David Horstmann 2023-02-20 14:57:47 +00:00
  • 716163e824 Improve allocation bounds in testing Dave Rodgman 2023-02-20 14:46:51 +00:00
  • a1b2bfff46 Add clarifying comments Dave Rodgman 2023-02-20 14:45:09 +00:00
  • 0518d53ba7 Change error codes to more appropriate codes David Horstmann 2023-02-20 14:21:23 +00:00
  • d138181190 Change += to |= for clearer semantics David Horstmann 2023-02-15 15:44:24 +00:00
  • 8f81d8a305 Make overflow checks more readable David Horstmann 2023-02-15 13:46:53 +00:00
  • b91ba4b7bf Add ChangeLog for OID-to-string fixes David Horstmann 2023-02-15 13:07:49 +00:00
  • 071dd3579c Add testcases for overlong encoding of OIDs David Horstmann 2023-02-15 11:58:40 +00:00
  • beb90e30de Disallow overlong encoding when parsing OIDs David Horstmann 2023-02-15 11:48:13 +00:00
  • c714416d16 Add tests for mbedtls_oid_get_numeric_string() David Horstmann 2023-02-14 17:29:16 +00:00
  • cdaee54773 Fix incorrect printing of OIDs David Horstmann 2023-02-14 14:34:15 +00:00
  • 5b5a0b618c Change error codes to more appropriate codes David Horstmann 2023-02-20 14:21:23 +00:00
  • 82d250d8b0 Use const char for names and adapt style Przemek Stekiel 2023-02-15 15:00:50 +01:00
  • 5b9e4168cf Add rfc822Name support in mbedtls_x509_info_subject_alt_name + adapt test Przemek Stekiel 2023-02-15 12:56:37 +01:00
  • d7820b7026 Add change log entry: SAN rfc822Name Przemek Stekiel 2023-02-09 15:14:27 +01:00
  • 608e3efc47 Add test for parsing SAN: rfc822Name Przemek Stekiel 2023-02-09 14:47:50 +01:00
  • ecee12f04f Add parsing of SAN: rfc822Name Przemek Stekiel 2023-02-09 14:43:49 +01:00
  • a30afe2216 ecp_curves: Minor refactoring. Minos Galanakis 2023-02-15 15:36:29 +00:00
  • 36f7c0e69b test_suite_ecp: Added .data for ecp_setup_test() Minos Galanakis 2023-02-13 16:25:17 +00:00
  • 9a1d02d738 test_suite_ecp: Added test for mbedtls_ecp_modulus_setup() Minos Galanakis 2023-02-03 19:14:56 +00:00
  • dd556921c9 ecp_curves: Exposed mbedtls_ecp_modulus_setup() through ecp_invasive.h Minos Galanakis 2023-02-03 19:12:21 +00:00
  • d2ca802329 ecp_curves: Added mbedtls_ecp_modulus_setup(). Minos Galanakis 2023-02-03 19:07:39 +00:00
  • ec718afb41 Merge pull request #7051 from gabor-mezei-arm/6376_Secp521r1_fast_reduction Janos Follath 2023-02-20 13:03:12 +00:00
  • 9e04b5bcfc Disable MD-light in accel_hash_use_psa Manuel Pégourié-Gonnard 2023-02-20 12:40:51 +01:00
  • 675d97d42e Add change log Ronald Cron 2023-02-17 15:49:03 +01:00
  • 4bb6773640 tls13: Apply same preference rules for ciphersuites as for TLS 1.2 Ronald Cron 2023-02-16 15:51:18 +01:00
  • b18c67af5f tls13: ssl-opt.sh: Add test of default crypto algo Ronald Cron 2023-02-16 16:57:16 +01:00
  • 0a1c504156 tls13: Fix session resumption with 384 bits PSKs Ronald Cron 2023-02-20 10:44:22 +01:00
  • 25e9ec61f0 tls13: server: Select preferred cipher suite Ronald Cron 2023-02-16 15:35:16 +01:00
  • fc7ae87ad4 tls13: server: Check ciphersuite list length parity once Ronald Cron 2023-02-16 15:32:19 +01:00
  • 606671e06e tls13: server: Check mbedtls_ssl_set_hs_psk returned value Ronald Cron 2023-02-17 11:36:33 +01:00
  • 718eb4f190 Merge pull request #7025 from AndrzejKurek/uri_san Manuel Pégourié-Gonnard 2023-02-20 11:29:59 +01:00
  • 1c0e4c013a compat.sh: skip static ECDH cases if unsupported in openssl Pengyu Lv 2023-02-20 18:05:21 +08:00
  • f8e5b56ad8 Fix get_num_ops internal code. Paul Elliott 2023-02-19 18:43:45 +00:00
  • f7a824b961 Add check, if the algorithm supports psa_sign_hash() before running the test. oberon-sk 2023-02-15 19:43:30 +01:00
  • 6d50173d9c Handle Edwards curves similar to Montgomery curves wrt key export length. oberon-sk 2023-02-13 12:13:20 +01:00
  • b9b630d628 Define "light" subset of MD Manuel Pégourié-Gonnard 2023-02-16 19:07:31 +01:00
  • ac70ad6576 Fix coding style Gabor Mezei 2023-02-16 19:31:21 +01:00
  • ba2412fd21 Remove internal function md_process() Manuel Pégourié-Gonnard 2023-02-16 18:44:46 +01:00
  • d652dce9ea Add failing test case (invalid signature) for zero-length data Dave Rodgman 2023-02-16 16:39:34 +00:00
  • fc64352253 Adjust position of empty line Dave Rodgman 2023-02-16 16:23:09 +00:00
  • c5874db5b0 Add test-case for signature over zero-length data Dave Rodgman 2023-02-16 16:14:46 +00:00
  • 0af1b5367b Remove some abbrevations from test descriptions. Paul Elliott 2023-02-15 23:25:54 +00:00
  • 96b89b208a Add comment to indicate non-PSA spec assertion. Paul Elliott 2023-02-15 23:10:37 +00:00
  • 5686533ba2 Add warning to mbedtls_ecp_set_max_ops() Paul Elliott 2023-02-15 22:57:44 +00:00
  • 21c3951139 Add reference to mbedtls_ecp_set_max_ops() to docs Paul Elliott 2023-02-15 19:47:39 +00:00
  • f1743e2440 Add verify call to max ops tests Paul Elliott 2023-02-15 18:44:16 +00:00
  • ba70ad4944 Add safety for keys larger than we currently support. Paul Elliott 2023-02-15 18:23:53 +00:00
  • 93d9ca83ea Move num_ops ECP abstraction fully into internal implementation Paul Elliott 2023-02-15 18:14:21 +00:00
  • 81b0b89a34 Clarify comments on subjectAltName types Andrzej Kurek 2023-02-16 06:55:10 -05:00
  • e95df0bd70 Fix CI failure Pengyu Lv 2023-02-15 16:58:09 +08:00
  • 4a37eef78f Only check files known to git Pengyu Lv 2023-02-15 10:20:40 +08:00
  • bae83d25eb Improve readability Pengyu Lv 2023-02-14 10:29:53 +08:00
  • 44b75a605b adjust help message Pengyu Lv 2023-02-10 11:06:36 +08:00
  • 75e11d3703 print skipped file names to stdout Pengyu Lv 2023-02-10 10:55:29 +08:00
  • a4b9b7700a code_style.py: Add helpers to print warning and skipped files Pengyu Lv 2023-02-06 14:27:30 +08:00
  • b1c9cc3ae4 code_style.py: Apply exclusions to the file list Pengyu Lv 2023-02-06 14:29:02 +08:00
  • f7dccb303b Remove limitation for sha256/512 arm64 accelerator Jerry Yu 2023-02-16 17:37:58 +08:00
  • a135deeece Move clang bug workaround to the head of file Jerry Yu 2023-02-16 16:56:22 +08:00
  • 2c8e144ef6 Fix tests for 32bit Gabor Mezei 2023-02-16 10:25:08 +01:00
  • 383cbf42a0 Add minimum version of sha256 for clang Jerry Yu 2023-02-16 15:16:43 +08:00
  • 8ae6a0193c Add comments about gcc-5 Jerry Yu 2023-02-16 15:16:20 +08:00
  • 2f2c04956d Add GCC options pop Jerry Yu 2023-02-16 14:24:46 +08:00
  • 92fc538a22 Add attribute popup Jerry Yu 2023-02-16 11:17:11 +08:00
  • 751e76bb04 Replace crypto engine with crypto extension Jerry Yu 2023-02-16 10:48:15 +08:00
  • c86d45e8a1 Remove spurious incorrect comment Paul Elliott 2023-02-15 17:38:05 +00:00
  • 2c9843f2a4 Make mbedtls_sa_ecp_load_public_part return psa_status_t Paul Elliott 2023-02-15 17:32:42 +00:00
  • efebad0d67 Run extra complete in failure tests regardless. Paul Elliott 2023-02-15 16:56:45 +00:00
  • 7ef174b285 Correct insufficient memory return documentation. Paul Elliott 2023-02-15 16:45:20 +00:00
  • a1c9409d88 Move structure init calls as early as possible Paul Elliott 2023-02-15 16:38:04 +00:00
  • ebe225cf7b Move num ops update to only point where work can be done. Paul Elliott 2023-02-10 14:32:53 +00:00
  • 53bb312054 Wipe output buffer even when INCOMPLETE is returned. Paul Elliott 2023-02-10 14:22:22 +00:00
  • c569fc268f Switch from nbits to pbits Paul Elliott 2023-02-10 13:02:54 +00:00
  • 6d99f0c265 Fix errors in psa_wipe_output_buffer() doc comment. Paul Elliott 2023-02-10 12:58:09 +00:00
  • fe9e77ff7a Better formatting of include guard comments Paul Elliott 2023-02-10 11:04:27 +00:00
  • 0290a76fc2 Fix buffer overflow with hashes larger than key size. Paul Elliott 2023-02-09 14:30:24 +00:00
  • 01885fa5e5 Fix include guards on auxiliary test function. Paul Elliott 2023-02-09 12:07:30 +00:00
  • 724bd25f4b Fix missing mbedtls_mpi_free() on signing. Paul Elliott 2023-02-08 12:35:08 +00:00
  • c08112160a Add comment to explain lack of driver dispatch Paul Elliott 2023-02-07 18:06:25 +00:00
  • a4cb909fcd Add max ops tests Paul Elliott 2023-02-07 18:01:55 +00:00
  • 76d671ad73 Split state tests into two functions Paul Elliott 2023-02-07 17:45:18 +00:00
  • 84329464d5 Replace allocated hash buffer with array Paul Elliott 2023-02-07 17:32:04 +00:00
  • b830b35fb1 Shorten test descriptions. Paul Elliott 2023-02-07 15:30:41 +00:00