Commit Graph

  • 8a6225062a pk: move PSA error translation macros to internal header Valerio Setti 2023-05-18 18:46:38 +02:00
  • 9ee945fd44 Merge pull request #7642 from valeriosetti/backport-fix-test-suite-debug Manuel Pégourié-Gonnard 2023-05-23 15:08:52 +02:00
  • 9dc9204b77 Merge pull request #7554 from valeriosetti/issue7073-reshape Manuel Pégourié-Gonnard 2023-05-23 15:08:45 +02:00
  • d6beda7af9 ecp_curves: Extended documentation for CURVE25519. Minos Galanakis 2023-05-22 11:23:56 +01:00
  • 47249fd9ec ecp_curves: Added documentation for mbedtls_ecp_mod_p255_raw Minos Galanakis 2023-05-18 16:16:17 +01:00
  • 31f0b452c7 ecp_curves: Reintroduced input checking for Minos Galanakis 2023-05-18 11:08:50 +01:00
  • 65c386ee3d ecp_curves: Switched to dynamic memory for Minos Galanakis 2023-05-17 18:18:13 +01:00
  • 2daa374ea8 ecp_curves: Minor refactoring of mbedtls_ecp_mod_p255_raw() Minos Galanakis 2023-05-17 15:01:08 +01:00
  • aada68f1be ecp.py: Fixed types for arguments() overrides. Minos Galanakis 2023-05-12 17:10:16 +01:00
  • c2c967b1f0 ecp.py: Added tests for mbedtls_ecp_mod_p255_raw Minos Galanakis 2023-05-11 09:59:05 +01:00
  • c6240f751e test_suite_debug: add USE_PSA_INIT/DONE guards in tests Valerio Setti 2023-05-23 10:44:08 +02:00
  • 2f1ae5a86e Modify TFM files to allow them to build on baremetal with Mbed TLS and fix code style. Also change the include path of crypto_spe.h in crypto_platform.h to allow the former file to be included in library-only builds. Aditya Deshpande 2023-04-11 16:43:08 +01:00
  • 16a62e3129 Bring over both necessary medium config files (regular and PSA style) from TFM. Aditya Deshpande 2023-04-11 16:25:02 +01:00
  • c1f78a2827 Merge pull request #7635 from AndrzejKurek/fix-bad-keyfile-prereqs-2-28 Manuel Pégourié-Gonnard 2023-05-23 09:27:32 +02:00
  • d7d1039755 Merge pull request #7634 from AndrzejKurek/fix-bad-keyfile-prereqs Manuel Pégourié-Gonnard 2023-05-23 09:27:29 +02:00
  • 7613b3d6b8 Fix xor fail for large block size Dave Rodgman 2023-05-23 00:48:38 +01:00
  • 967b477954 Add test data "modulus-1" and "modulus-2" for every curve Xiaokang Qian 2023-05-23 06:07:32 +00:00
  • 262d8ced79 Fix AES-CBC for in-place operation Dave Rodgman 2023-05-22 23:13:45 +01:00
  • d0292c2aca ecp_curves: Refactored mbedtls_ecp_mod_p255. Minos Galanakis 2023-05-10 15:46:47 +01:00
  • da609130f3 fix: correct calling to time function in tls13 client&server YxC 2023-05-22 12:08:12 -07:00
  • 51cef9ce38 Add missing AES_C dependency in x509 tests Andrzej Kurek 2023-05-22 15:20:21 -04:00
  • b19b63a639 Changelog update Dave Rodgman 2023-05-22 19:49:24 +01:00
  • 797c4ff365 Make AES-CBC more efficient Dave Rodgman 2023-05-22 19:41:58 +01:00
  • 6f40f8bf01 Add NEON to mbedtls_xor Dave Rodgman 2023-05-22 18:21:20 +01:00
  • 016264b6cb pk: fix a return value and a typo in comment Valerio Setti 2023-05-22 18:40:35 +02:00
  • a7cb845705 pk: add checks for the returned ECC family Valerio Setti 2023-05-22 18:39:43 +02:00
  • 50729eac74 Merge pull request #7611 from yanrayw/7609_tweak_build_info_include_order Gilles Peskine 2023-05-22 17:49:55 +02:00
  • a4a73b8ee3 Merge pull request #7632 from davidhorstmann-arm/2.28-demo-out-of-tree Gilles Peskine 2023-05-22 17:23:51 +02:00
  • 26070670d6 Merge pull request #7565 from gabor-mezei-arm/7263_split_out_Koblitz_raw_functions Paul Elliott 2023-05-22 16:03:17 +01:00
  • 82e06cb7bc mbedtls/platform.h: Avoid potential macro redefinition warnings. Aaron M. Ucko 2023-01-17 13:26:35 -05:00
  • 8985146f03 Fix wrong makefile target Andrzej Kurek 2023-05-22 09:37:55 -04:00
  • 00d55988d9 Fix wrong makefile target Andrzej Kurek 2023-05-22 09:37:55 -04:00
  • 39aee1214a Fix demo scripts for out-of-tree builds David Horstmann 2021-11-26 17:58:05 +00:00
  • 850a0797ca Remove extraneous check in for loop condition Thomas Daubney 2023-05-22 12:05:03 +01:00
  • f33b4a5aed Update comments how to generate the randoms to make it reproducible Xiaokang Qian 2023-05-22 10:55:46 +00:00
  • 6365a681c8 Prefer intrinsics over asm for AES-NI Dave Rodgman 2023-05-22 11:14:36 +01:00
  • 37db332658 build_info.h: rewrite comment Yanray Wang 2023-05-22 16:50:35 +08:00
  • 5ca3f0ba00 Support compilation using CLang on Windows SlugFiller 2023-05-22 06:31:45 +03:00
  • 10b6daf755 Fix the comments of sum in ecp function Xiaokang Qian 2023-05-22 02:28:06 +00:00
  • 7f97675b64 Merge pull request #5237 from davidhorstmann-arm/demo-out-of-tree Dave Rodgman 2023-05-19 21:27:24 +01:00
  • 5e4a01bff5 mbedtls/platform.h: Avoid potential macro redefinition warnings. Aaron M. Ucko 2023-01-17 13:26:35 -05:00
  • f57007dd1e pk: fixing and improving comments Valerio Setti 2023-05-19 13:54:39 +02:00
  • 0805ad10b2 XOR perf improvements Dave Rodgman 2023-05-19 11:48:10 +01:00
  • a23565fd0c Merge pull request #7621 from daverodgman/sizemax Dave Rodgman 2023-05-19 11:17:38 +01:00
  • be860a14ce Generate test data with special seed 2,3,4 Xiaokang Qian 2023-05-19 07:06:09 +00:00
  • bead774daa Fix the limb mismatch issue on 32-bit platform Xiaokang Qian 2023-05-19 02:13:05 +00:00
  • 6d02c2fefc Compare the libs of two input value and add comments Xiaokang Qian 2023-05-18 09:35:25 +00:00
  • c304e53209 Remove useless parameters for ecp_mod_add_sub Xiaokang Qian 2023-05-18 07:46:59 +00:00
  • 61b0c1c3dd Refine code to align with the styles of ecp_mod_mul_inv Xiaokang Qian 2023-05-17 09:57:57 +00:00
  • 4dd1c0a475 Add test data for ecp_add_sub Xiaokang Qian 2023-05-12 10:57:28 +00:00
  • 9fe2587ccf Add add_sub test data for named moduli curves Xiaokang Qian 2023-05-12 03:51:47 +00:00
  • 5fc7846507 Add add_sub test cases for named moduli curves Xiaokang Qian 2023-04-27 13:16:55 +00:00
  • 68ef1d6ee6 Remove DIY SIZE_MAX definitions Dave Rodgman 2023-05-18 20:49:03 +01:00
  • 399fa48e95 Merge pull request #7479 from xkqian/bignumber_test_mul_inv_named_moduli Janos Follath 2023-05-18 11:55:01 +01:00
  • 9a11f8a122 Merge pull request #7573 from tom-cosgrove-arm/add-psa_want_alg_some_pake Paul Elliott 2023-05-18 09:59:52 +01:00
  • aa266f29e6 Merge pull request #7602 from mprse/AuthorityKeyId_leak_fix Paul Elliott 2023-05-18 09:57:56 +01:00
  • c8f677d33e Both compare the least significant limb 1 and the left limbs 0 Xiaokang Qian 2023-05-18 03:04:26 +00:00
  • c1f5e54d2d Remove useless parameter iret for ecp mul_inv cases Xiaokang Qian 2023-05-18 02:02:48 +00:00
  • 63a6a267a4 Check for overflows when writing x509 SANs Andrzej Kurek 2023-04-27 08:25:41 -04:00
  • 5eebfb8fd0 Enable escaping ';' in cert_write.c SANs Andrzej Kurek 2023-04-27 07:50:56 -04:00
  • 908716f097 Add missing RFC822_NAME case to SAN setting Andrzej Kurek 2023-04-25 04:31:26 -04:00
  • e488c454ea Remove unnecessary zeroization Andrzej Kurek 2023-04-25 04:23:33 -04:00
  • dc22090671 Return an error on an unsupported SubjectAltName Andrzej Kurek 2023-04-25 02:29:00 -04:00
  • 446e53d401 Fix a code style issue Andrzej Kurek 2023-04-25 02:21:07 -04:00
  • f70f460e5f Fix temporary IP parsing error Andrzej Kurek 2023-04-24 18:39:53 -04:00
  • ed557930bb Update ip_string_to_bytes to cert_req version Andrzej Kurek 2023-04-05 11:19:30 -04:00
  • a194904055 Fix subjectAltName test prerequisites Andrzej Kurek 2023-04-05 09:59:02 -04:00
  • 5da1d751e9 Add missing memory deallocation Andrzej Kurek 2023-04-05 08:30:59 -04:00
  • 13c43f682e Fix a copy-paste typo Andrzej Kurek 2023-04-04 10:43:38 -04:00
  • c6215b0ce1 Add braces to a switch case Andrzej Kurek 2023-04-04 09:30:12 -04:00
  • 1bc7df2540 Add documentation and a changelog entry Andrzej Kurek 2023-04-04 07:09:04 -04:00
  • 76c9662e8e Add a test for SubjectAltName writing to a certificate Andrzej Kurek 2023-04-04 06:57:08 -04:00
  • e4cbab6945 Merge pull request #7607 from daverodgman/pr6511 Dave Rodgman 2023-05-17 19:11:56 +01:00
  • 8203f2d89f Merge pull request #7535 from minosgalanakis/ecp/7264_enable_core_shift_l Paul Elliott 2023-05-17 18:45:44 +01:00
  • c1541cb3c7 pk: minor fixes (guards and a wrong assignment) Valerio Setti 2023-05-17 15:49:55 +02:00
  • 247e6f088d Merge pull request #7608 from daverodgman/pr6511-2.28 Dave Rodgman 2023-05-17 17:59:54 +01:00
  • d56e6e008b Add input parameter length check for the Koblitz reduction Gabor Mezei 2023-05-17 17:51:19 +02:00
  • 67fdb3307d Add a possibility to write subject alt names in a certificate Andrzej Kurek 2023-04-04 06:56:14 -04:00
  • ccdd975286 Add a certificate exercising all supported SAN types Andrzej Kurek 2023-04-01 10:38:30 -04:00
  • 1a75269589 Move mbedtls_x509_san_list to x509.h Andrzej Kurek 2023-04-01 09:44:11 -04:00
  • fa3f74145b Add documentation Gabor Mezei 2023-05-17 17:35:47 +02:00
  • 483738ed67 tests: fixes for using the new public key raw format Valerio Setti 2023-05-17 15:37:29 +02:00
  • 92c3f36866 test_suite_debug: fix USE_PSA_INIT/DONE guards in a test Valerio Setti 2023-05-17 15:36:44 +02:00
  • d7ca39511f tls12: use the the raw format for the public key when USE_PSA is enabled Valerio Setti 2023-05-17 15:36:18 +02:00
  • 7ca7b90bc7 debug: add support for printing the new EC raw format Valerio Setti 2023-05-17 15:35:46 +02:00
  • a1b8af6869 pkwrap: update ECDSA verify and EC pair check to use the new public key Valerio Setti 2023-05-17 15:34:57 +02:00
  • 4064dbbdb2 pk: update pkparse and pkwrite to use the new public key storing solution Valerio Setti 2023-05-17 15:33:07 +02:00
  • 722f8f7472 pk: adding a new field to store the public key in raw format Valerio Setti 2023-05-17 15:31:21 +02:00
  • c05f51ded9 Convert comments over to X rather than N Paul Elliott 2023-05-16 17:55:44 +01:00
  • 4ac9d44d83 pk: fix typos in description of mbedtls_pk_ec_[ro/rw] Valerio Setti 2023-05-17 12:32:13 +02:00
  • b1c0afe484 Merge pull request #7595 from valeriosetti/deprecate_pk_ec Manuel Pégourié-Gonnard 2023-05-17 12:27:03 +02:00
  • 419a55e929 build_info.h: rewrite comment for inclusion of config_psa.h Yanray Wang 2023-05-17 18:22:00 +08:00
  • 11dd5c0b36 Compare final result with ASSERT_COMPARE Xiaokang Qian 2023-05-17 09:34:15 +00:00
  • c81272461e Check all of the limbs of result Xiaokang Qian 2023-05-17 09:20:34 +00:00
  • 1ae7ca435b Re-order the variable orders and rename them Xiaokang Qian 2023-05-17 09:09:40 +00:00
  • 78b93b1902 Refine error check for mbedtls_ecp_modulus_setup Xiaokang Qian 2023-05-17 06:41:21 +00:00
  • afdea64b50 Remove the useless modulus validaty Xiaokang Qian 2023-05-17 06:14:01 +00:00
  • 631f63d29d Remove modulus double free Xiaokang Qian 2023-05-17 06:13:02 +00:00
  • d3e86a170a Add back 255 bit test data for SECP224K1 test cases Xiaokang Qian 2023-05-17 03:07:10 +00:00
  • 5b6bedfaf3 Add comments to the data file for the cureve secp224k1 Xiaokang Qian 2023-05-16 07:03:57 +00:00