Commit Graph

  • e6145dc47f Add documentation comment to internal abort functions Paul Elliott 2023-02-07 12:51:21 +00:00
  • de1114c883 Fix {sign|verify}_get_num_ops Paul Elliott 2023-02-07 12:43:11 +00:00
  • 939bd9485d Move output buffer wiping code to seperate function. Paul Elliott 2023-02-07 12:15:24 +00:00
  • 1243f93cca Fix build fails with non ECDSA / restartable builds Paul Elliott 2023-02-07 11:21:10 +00:00
  • 6f60037589 Move {min|max}_complete choice logic into function Paul Elliott 2023-02-06 18:41:05 +00:00
  • eefe47292c Move loading of public part of ECP into function Paul Elliott 2023-02-06 15:59:09 +00:00
  • c9774411d4 Ensure that operation is put into error state if error occurs Paul Elliott 2023-02-06 15:14:07 +00:00
  • f9c91a7fb5 Store the hash, rather than the pointer Paul Elliott 2023-02-05 18:06:38 +00:00
  • 0e9d6bd3f8 Replace MBEDTLS_ECP_DP_SECP384R1_ENABLED Paul Elliott 2023-02-05 15:32:53 +00:00
  • 813f9cdcbb Non ECDSA algorithms should return not supported Paul Elliott 2023-02-05 15:28:46 +00:00
  • 1bc59df92c Rename curve_bytes to coordinate_bytes Paul Elliott 2023-02-05 13:41:57 +00:00
  • 096abc4dc0 Remove incorrect copied comment Paul Elliott 2023-02-03 18:33:23 +00:00
  • e17a8fd9fd Remove unneeded warning from internal headers Paul Elliott 2023-02-03 16:15:36 +00:00
  • ab7c5c8550 Change incorrect define for MAX_OPS_UNLIMITED Paul Elliott 2023-02-03 15:49:42 +00:00
  • 4ca521fcdb Remove obsolete comments Paul Elliott 2023-02-03 15:02:54 +00:00
  • 4684525ae9 Remove unrequired mpis from sign operation struct Paul Elliott 2023-02-03 14:59:11 +00:00
  • a3a8abadff Fix operation initialisers if no algorithms defined Paul Elliott 2023-02-03 14:49:37 +00:00
  • 1b49ef5384 Fix abort documentation. Paul Elliott 2023-02-03 14:27:32 +00:00
  • cb23311bd0 Fix incorrect test dependencies part 2 Paul Elliott 2023-01-26 14:54:47 +00:00
  • c4e2be86ef Fix incorrect test dependancies Paul Elliott 2023-01-25 12:42:59 +00:00
  • 90a91f041c Ensure structs are not empty even if ECDSA not supported Paul Elliott 2023-01-24 15:23:25 +00:00
  • 62dfb95993 Fix broken negative test Paul Elliott 2023-01-24 11:29:24 +00:00
  • 97ac7d9090 Calculate min/max completes rather than passing in to test Paul Elliott 2023-01-23 18:09:06 +00:00
  • 334d726d40 Ensure ops are tested on successful 'fail' tests Paul Elliott 2023-01-20 17:29:41 +00:00
  • edfc883568 Change test loops over to do...while Paul Elliott 2023-01-20 17:13:10 +00:00
  • 6ee2408d26 Remove deterministic alg restriction on sign hash Paul Elliott 2023-01-16 14:00:41 +00:00
  • 068fe07740 Improve indentation of hash start functions Paul Elliott 2023-01-16 13:59:15 +00:00
  • 749dec54ef Clean up structure include guards Paul Elliott 2023-01-16 12:18:46 +00:00
  • 7cc4e816c1 Ensure max ops gets set regardless of having built-in implementation Paul Elliott 2023-01-10 17:14:11 +00:00
  • 3225f19803 Fix ecdsa.h documentation error Paul Elliott 2023-01-10 12:03:12 +00:00
  • c5c6963d07 Remove #endif from between testcases David Horstmann 2023-01-03 17:07:05 +00:00
  • 59ad9457b6 Add {sign/verify}_hash_abort_internal Paul Elliott 2022-12-18 15:09:02 +00:00
  • 20a360679b Add State tests Paul Elliott 2022-12-18 13:21:25 +00:00
  • 0c68335a42 Convert tests to configurable max_ops Paul Elliott 2022-12-16 19:16:56 +00:00
  • 4cec2f60dc Add interruptible to psa_op_fail tests Paul Elliott 2022-12-16 14:44:11 +00:00
  • 9100797cb3 Negative tests Paul Elliott 2022-12-16 12:21:24 +00:00
  • e04e15b766 Add Changelog entry Paul Elliott 2022-12-09 19:27:06 +00:00
  • 712d512007 Basic tests Paul Elliott 2022-12-07 14:03:10 +00:00
  • 296ede99c9 Fix issues with get_{sign/verify}_num_ops Paul Elliott 2022-12-15 17:00:30 +00:00
  • 588f8ed498 Add internal implementation Paul Elliott 2022-12-02 18:10:26 +00:00
  • 2ba002cc2f Make ECDSA restartable sign and verify functions public Paul Elliott 2022-12-09 18:59:26 +00:00
  • b790c935e6 depends.py: remove symbols that are not present in 2.28 Andrzej Kurek 2023-02-15 15:19:37 -05:00
  • 7e6fcc1fbc Update documentation Gabor Mezei 2023-02-15 17:51:59 +01:00
  • 555b1f7e44 Add check for test Gabor Mezei 2023-02-15 17:13:20 +01:00
  • 2b064ec332 Revert the addition of hex digit calculator function Gabor Mezei 2023-02-15 17:04:40 +01:00
  • cf228706cd Restrict input parameter size for ecp_mod_p521_raw Gabor Mezei 2023-02-15 16:52:33 +01:00
  • d10d429380 Stack usage optimization for mod_p521 Gabor Mezei 2023-02-08 16:27:03 +01:00
  • fe24e91a34 mod_p521: document reduction algorithm Janos Follath 2023-02-08 10:14:21 +00:00
  • 666673e83f modp521: apply naming conventions Janos Follath 2023-02-07 15:49:15 +00:00
  • 755ff0e685 Add corner case to mod_p521 tests Janos Follath 2023-02-07 15:27:44 +00:00
  • 13c3aa13af Revert changes to mod_p521 flow Janos Follath 2023-02-07 15:24:57 +00:00
  • b50aeb8f05 Fix 32-bit issues Gabor Mezei 2023-02-07 12:46:54 +01:00
  • 6bfbd36507 Fix coding style issues Gabor Mezei 2023-02-06 18:06:54 +01:00
  • 05c138e172 Fix pylint issues Gabor Mezei 2023-02-06 18:03:39 +01:00
  • b62ad5d569 Rename function to follow naming convention Gabor Mezei 2023-02-06 17:13:02 +01:00
  • b1c62caa1f Add documentation Gabor Mezei 2023-02-06 16:02:05 +01:00
  • d8f67b975b Add test generation for ecp_mod_p521_raw Gabor Mezei 2023-02-06 15:49:42 +01:00
  • 2cb630edee Change the ecp_mod_p521_raw to be testable Gabor Mezei 2023-02-01 14:02:16 +01:00
  • 8450ab9c60 Fix Secp521r1 reduction Gabor Mezei 2023-02-06 15:47:00 +01:00
  • 42df16c84b Extract Secp521r1 from the prototype Gabor Mezei 2023-02-01 13:58:04 +01:00
  • f51851dc70 Change += to |= for clearer semantics David Horstmann 2023-02-15 15:44:24 +00:00
  • e2a9f86755 Merge pull request #6971 from gabor-mezei-arm/6026_Secp192r1_fast_reduction Gilles Peskine 2023-02-15 16:22:36 +01:00
  • 34b3f1b757 Make overflow checks more readable David Horstmann 2023-02-15 13:46:53 +00:00
  • 21b8387929 Add ChangeLog for OID-to-string fixes David Horstmann 2023-02-15 13:07:49 +00:00
  • 9fe12f666b PSA level initial implementation Paul Elliott 2022-11-30 19:16:02 +00:00
  • 2d247923e5 Initial empty driver wrapper implementation Paul Elliott 2022-11-29 14:54:44 +00:00
  • 1265f00494 First draft of PSA interruptible ECC signing design Paul Elliott 2022-09-09 17:15:43 +01:00
  • 895eb7c9b5 Add testcases for overlong encoding of OIDs David Horstmann 2023-02-15 11:58:40 +00:00
  • 9c1887c4c7 Disallow overlong encoding when parsing OIDs David Horstmann 2023-02-15 11:48:13 +00:00
  • 6778ddf657 Merge pull request #6549 from gilles-peskine-arm/psa-migration-md-cipher-strategy Manuel Pégourié-Gonnard 2023-02-15 12:50:13 +01:00
  • f01de145bd Add tests for mbedtls_oid_get_numeric_string() David Horstmann 2023-02-14 17:29:16 +00:00
  • 3e7666b95d Improve tests/scripts/depends.py code Andrzej Kurek 2023-02-06 10:49:46 +01:00
  • 3ebe7d6260 Improve tests/scripts/depends.py code Andrzej Kurek 2023-02-06 10:48:43 +01:00
  • 2432dc212e depends.py: improve expected argument type Andrzej Kurek 2023-01-24 07:40:42 -05:00
  • 2e1aeb129d depends.py: merge set/unset config option into one function Andrzej Kurek 2023-01-23 07:19:22 -05:00
  • cf39406196 Use config.py as a module in depends.py Andrzej Kurek 2023-02-15 05:42:02 -05:00
  • 72082dc28e Improve tests/scripts/depends.py code Andrzej Kurek 2023-02-06 10:49:46 +01:00
  • 10f41444a0 Fix CI failure Pengyu Lv 2023-02-15 16:58:09 +08:00
  • 64e5d4a2cd Replace error output with target pragma if possible Jerry Yu 2023-02-15 11:46:57 +08:00
  • 35f2b26fd8 move cpu modifier flags check to source file Jerry Yu 2023-02-15 11:35:55 +08:00
  • c36743f4e0 Only check files known to git Pengyu Lv 2023-02-15 10:20:40 +08:00
  • 908e810098 Merge pull request #6929 from paul-elliott-arm/fix_iar_warnings Gilles Peskine 2023-02-14 20:01:03 +01:00
  • edc6ae9578 Merge pull request #7090 from paul-elliott-arm/fix_iar_warnings_dev Gilles Peskine 2023-02-14 20:01:00 +01:00
  • c5e2a4fe67 Merge pull request #6937 from valeriosetti/issue6886 Gilles Peskine 2023-02-14 19:54:29 +01:00
  • 4386cf188d Changelog entry for pacifying clang -Wdocumentation about \retval Gilles Peskine 2023-02-14 19:26:56 +01:00
  • ed73355d2e Make \retval commands non-empty Gilles Peskine 2023-02-14 19:21:09 +01:00
  • 8ea7d85851 Define a workaround for empty \retval description Gilles Peskine 2023-02-14 19:15:40 +01:00
  • c7f700c795 Fix incorrect printing of OIDs David Horstmann 2023-02-14 14:34:15 +00:00
  • 0b4b8e3c5e Update documentation Gabor Mezei 2023-02-14 16:36:38 +01:00
  • 570a0f808b Move to DER certificates for new x509 tests Andrzej Kurek 2023-02-14 05:52:49 -05:00
  • 319a5675db Merge pull request #7084 from daverodgman/sizemax-uintmax Dave Rodgman 2023-02-14 10:06:22 +00:00
  • 6b9503a32d Merge pull request #7064 from valeriosetti/issue6860 Manuel Pégourié-Gonnard 2023-02-14 09:31:07 +01:00
  • 70341c17b7 Merge pull request #6773 from yanrayw/6675-change-early_secrets-to-local Ronald Cron 2023-02-14 09:03:32 +01:00
  • 52ad333040 simplify helper function name Pengyu Lv 2023-02-14 14:32:37 +08:00
  • e19b51bc53 Improve readability Pengyu Lv 2023-02-14 10:29:53 +08:00
  • 1748de160a Fix IAR Warnings Paul Elliott 2023-02-13 15:35:35 +00:00
  • a264831cff Update documentation and add comments Gabor Mezei 2023-02-13 16:29:05 +01:00
  • 3e8f65a7e2 Add a changelog entry for URI SAN parsing Andrzej Kurek 2023-02-02 07:06:19 -05:00
  • 50836c4dfb Fix a comment in x509_crt.h Andrzej Kurek 2023-02-13 10:19:49 -05:00
  • 4077372b98 Fix SHA requirement for SAN URI tests Andrzej Kurek 2023-01-05 10:41:59 -05:00