Commit Graph

  • fe9666b8c0 Change the extension type of the file psa_crypto_driver_wrapper Xiaokang Qian 2023-09-11 10:36:20 +00:00
  • 54a4fdfe91 Automaticly generate psa_crypto_driver_wrappers_no_static.c Xiaokang Qian 2023-09-11 02:39:27 +00:00
  • 97d1ccb781 Dont't generate object file for file only include static functions Xiaokang Qian 2023-09-07 09:17:43 +00:00
  • 4792b204a1 Revert 3rd party p-256 entry file Xiaokang Qian 2023-09-07 07:19:06 +00:00
  • 42266dd670 Revert the Makefile to remove the dependency of generate_files Xiaokang Qian 2023-09-05 10:54:26 +00:00
  • 9345b2e98f Move functions out of the static file Xiaokang Qian 2023-09-04 10:57:55 +00:00
  • cad99fa998 Change code style Xiaokang Qian 2023-09-01 11:17:11 +00:00
  • b7cc2e2d3b Disable unused warning on visual studio and generate files before lib Xiaokang Qian 2023-08-15 03:31:15 +00:00
  • e9c39c42fd Enable build of non-static psa wrapper functions Xiaokang Qian 2023-08-09 08:50:19 +00:00
  • e518eeada9 Move function psa_driver_wrapper_export_public_key out of auto-generated Xiaokang Qian 2023-08-09 08:49:34 +00:00
  • 5db65c72ec Remove static inline functions declare and make it only in c file Xiaokang Qian 2023-08-09 08:47:51 +00:00
  • 077ffc0991 Ensure build of P256 pass Xiaokang Qian 2023-08-08 03:41:07 +00:00
  • 5cb930ff8a Surpress the unsed function warnings Xiaokang Qian 2023-07-25 03:57:22 +00:00
  • b862031afa Remove useless declaration Xiaokang Qian 2023-07-25 03:56:36 +00:00
  • 7046468a02 Define the psa wrapper functions as static inline Thomas Daubney 2023-07-04 14:38:06 +01:00
  • 8068b0835b Fix comment Pengyu Lv 2023-09-26 09:27:04 +08:00
  • fc9fc334de Merge pull request #8047 from minosgalanakis/bugfix/update_win_crypto_apis Paul Elliott 2023-09-25 18:40:48 +00:00
  • 391dd7fe87 Fix propagation of return value from parse_attribute_value_hex_der_encoded Gilles Peskine 2023-09-21 18:51:35 +02:00
  • 7f420faf03 parse_attribute_value_hex_der_encoded: clean up length validation Gilles Peskine 2023-09-21 18:13:17 +02:00
  • 26dd764dc3 parse_attribute_value_hex_der_encoded test case fixups Gilles Peskine 2023-09-21 18:10:23 +02:00
  • c94500b56b Add may-fail mode to mbedtls_x509_string_to_names output tests Gilles Peskine 2023-09-21 18:01:05 +02:00
  • 7077781af5 Fix integer overflow with an input buffer larger than INT_MAX Gilles Peskine 2023-09-21 16:50:40 +02:00
  • aa01a038b5 Fix indentation Gilles Peskine 2023-09-21 15:57:30 +02:00
  • 25665781f6 Rewrite parse_attribute_value_hex_der_encoded() Gilles Peskine 2023-09-21 14:03:52 +02:00
  • 70a93407ce More test cases for parse_attribute_value_der_encoded Gilles Peskine 2023-09-21 14:02:53 +02:00
  • 1c7223bda2 Use modern test macros for ease of debugging Gilles Peskine 2023-09-21 14:02:05 +02:00
  • 6da7872aa2 Merge pull request #1083 from gilles-peskine-arm/development-restricted-merge-20230925 Dave Rodgman 2023-09-25 18:16:01 +01:00
  • 702b645dce Rename new header file Manuel Pégourié-Gonnard 2023-09-22 09:32:32 +02:00
  • 3c4f344e9a Declare P-256 as accelerated in p256-m test Manuel Pégourié-Gonnard 2023-09-22 09:20:42 +02:00
  • 85ff5e6b88 Fix another rebasing mistake Manuel Pégourié-Gonnard 2023-09-22 09:05:48 +02:00
  • 0d54a2e496 Fix rebasing mistake Manuel Pégourié-Gonnard 2023-09-21 12:55:30 +02:00
  • 8e82654ec4 Be more subtle about key_type -> alg interaction Manuel Pégourié-Gonnard 2023-09-21 12:52:27 +02:00
  • 3bc4d26f20 Special-case KEYPAIR_DERIVE (no driver support yet) Manuel Pégourié-Gonnard 2023-09-20 17:03:53 +02:00
  • c2b12b17a4 Fix dependencies of built-in ECC keypair types Manuel Pégourié-Gonnard 2023-09-20 12:53:24 +02:00
  • b4b13ccff4 Fix deterministic ECDSA built-in dependencies Manuel Pégourié-Gonnard 2023-09-20 12:51:57 +02:00
  • 3ccda15d8f Use consistent ordering for built-in activation Manuel Pégourié-Gonnard 2023-09-20 12:50:25 +02:00
  • 5a7523e42d Declare curves as accelerated in all.sh when needed Manuel Pégourié-Gonnard 2023-09-20 12:45:01 +02:00
  • 2d04d78561 Fix logic of ECC built-in activation again Manuel Pégourié-Gonnard 2023-09-20 12:40:39 +02:00
  • a6aecd0e3b Remove components that are no longer needed Manuel Pégourié-Gonnard 2023-09-20 10:33:13 +02:00
  • 1db44dd68d Remove useless instances of MBEDTLS_SOME_BUILTIN_EC Manuel Pégourié-Gonnard 2023-09-19 11:32:07 +02:00
  • 1a0a4d60d9 Implement new strategy for ECC accel/built-in Manuel Pégourié-Gonnard 2023-09-19 11:30:30 +02:00
  • 0d99271d14 Group all ECC-related things in legacy_from_psa.h Manuel Pégourié-Gonnard 2023-09-19 10:40:23 +02:00
  • bfc6ef7a5c Improve PSA config adjustment relate to keypair types Manuel Pégourié-Gonnard 2023-09-18 13:03:52 +02:00
  • 7af9d07c05 Remove unnecessary block Manuel Pégourié-Gonnard 2023-09-14 10:46:32 +02:00
  • c437faeaa1 psa_crypto: fix guards in mbedtls_ecc_group_to_psa() Valerio Setti 2023-09-08 14:58:03 +02:00
  • bf206b8f41 adjust_legacy_from_psa: undef SOME_BUILTIN_EC when builtin curves are used Valerio Setti 2023-09-08 12:15:58 +02:00
  • 19d92108c1 config_psa: resolve symbol redefinition issue Valerio Setti 2023-09-07 10:58:35 +02:00
  • 4ca250b873 test: fix comment Valerio Setti 2023-09-04 14:01:41 +02:00
  • ea167c39d0 check_config: remove unnecessary check about builtin curve usage Valerio Setti 2023-09-01 14:31:02 +02:00
  • bbf86afdeb test_suite_psa_crypto: fix curve dependency in test Valerio Setti 2023-09-01 09:23:17 +02:00
  • db6b4db7a0 Renaming all MBEDTLS_HAVE for curves to MBEDTLS_ECP_HAVE Valerio Setti 2023-09-01 09:20:51 +02:00
  • 0a342c9512 test: fix comments and functions' naming Valerio Setti 2023-09-01 09:12:31 +02:00
  • cf29c5d9d5 ssl: don't require MBEDTLS_ECP_DP with TLS1.3 Valerio Setti 2023-09-01 09:03:41 +02:00
  • b2219f633d config_psa: moving PSA_WANT auto-enabling code Valerio Setti 2023-09-01 09:01:34 +02:00
  • e6f65a951f config_psa: fix comment Valerio Setti 2023-09-01 08:50:56 +02:00
  • 482a0b957f test: fix remaining disparities and remove debug leftovers Valerio Setti 2023-08-18 15:55:10 +02:00
  • 872462dfa9 test: fix test accelerating all curves keeping only 1 builtin Valerio Setti 2023-08-17 11:35:52 +02:00
  • 6d809cc969 lib/test: use new internal helpers in library's code and tests Valerio Setti 2023-08-16 17:14:25 +02:00
  • 67d82e742b build_info: add helpers to signal some support for a specific curve Valerio Setti 2023-08-16 17:11:53 +02:00
  • 4b75a764c7 check_config: include also ECJPAKE_C as usage for builtin curves Valerio Setti 2023-08-16 17:10:53 +02:00
  • f250ada3ab tls/oid: add PSA_WANT_ECC_xxx guards together with existing MBEDTLS_ECP_DP_xxx Valerio Setti 2023-08-16 09:57:50 +02:00
  • b2fd673ec8 test: fix test which are using accelerated ECC/DH keys Valerio Setti 2023-08-15 17:10:47 +02:00
  • dca8492043 check_config: request at least 1 builtin EC alg if there is at least 1 builtin curve Valerio Setti 2023-08-15 17:05:22 +02:00
  • 29837c7301 config_psa: include builtin algs if there is at least 1 builtin curve Valerio Setti 2023-08-14 12:03:08 +02:00
  • 9aed893fb0 config_psa: check curves' support before EC ALGs Valerio Setti 2023-08-14 11:25:58 +02:00
  • d6b473adcd config_psa: add internal helper to signal that some curve is builtin Valerio Setti 2023-08-14 11:11:27 +02:00
  • 87076abbfb config_psa: ensure PSA_WANT_ECC is enabled for each MBEDTLS_ECP_DP Valerio Setti 2023-08-14 10:52:49 +02:00
  • 8ec212098e check_config: fix comment Valerio Setti 2023-08-04 13:57:22 +02:00
  • 8600de818c check_config: perform checks only when config_psa.h is evaluated Valerio Setti 2023-08-04 09:42:40 +02:00
  • 3b69e3ed12 check_config: skip check on SECP224K1 because the PSA is never enabled Valerio Setti 2023-08-04 06:41:50 +02:00
  • a7a18313a6 check_config: verify that each ECP_DP has the corresponding PSA_WANT_ECC Valerio Setti 2023-08-03 17:39:07 +02:00
  • 9fe480a5f6 Merge pull request #1081 from waleed-elmelegy-arm/backport_check-set_padding-is-called Gilles Peskine 2023-09-25 17:12:41 +02:00
  • ffe590d197 Merge pull request #1058 from waleed-elmelegy-arm/check-set_padding-is-called Gilles Peskine 2023-09-25 17:12:36 +02:00
  • 916ed7b8db restore internal comment in cipher.h due to LTS Waleed Elmelegy 2023-09-25 15:18:48 +01:00
  • 21087754a5 x509_crt: Removed unused intsafe.h Minos Galanakis 2023-09-25 15:17:38 +01:00
  • ca1e605b9c Merge remote-tracking branch 'upstream-public/development' into development-restricted-merge-20230925 Gilles Peskine 2023-09-25 16:16:26 +02:00
  • a9bb34cd73 x509_crt: Removed length_as_int intermediate variable Minos Galanakis 2023-09-25 14:41:12 +01:00
  • 8ce42ebd87 Remove invalid comments from cipher.h Waleed Elmelegy 2023-09-25 14:21:49 +01:00
  • e4138e3279 Fix a typo Manuel Pégourié-Gonnard 2021-05-31 12:14:02 +02:00
  • 59108d3f4d x509_crt: Adjusted the len of lpMultiByteStr arg in WideCharToMultiByte Minos Galanakis 2023-09-25 14:11:22 +01:00
  • 08a67ccefd x509_crt: Set WideCharToMultiByte to use -1 for length. Minos Galanakis 2023-09-22 16:00:06 +01:00
  • b17410d975 vs2013 templates: Set bcrypt to be the sole dependency. Minos Galanakis 2023-09-22 12:08:11 +01:00
  • 40995e1390 x509_crt: Removed checks for windows versions < WINXP Minos Galanakis 2023-09-18 11:16:47 +01:00
  • fac45fbafe entropy_poll: Removed checks for windows versions < WINXP Minos Galanakis 2023-09-18 11:12:41 +01:00
  • c91d847e0d ChangeLog: Adjusted the updated_windows_apis log Minos Galanakis 2023-09-18 11:04:09 +01:00
  • a8b02ef79b pkey-random: Removed setting mbedtls_target in libs Minos Galanakis 2023-09-18 11:01:40 +01:00
  • e8a5d1afbd entropy_poll: Updated documentation for entropy_poll loop. Minos Galanakis 2023-09-08 14:47:37 +01:00
  • 7f8e8c5ae2 program-random: Updated Cmake libs variable Minos Galanakis 2023-09-08 14:46:59 +01:00
  • ce33e7b22d pkey Cmakelists: Updated the set libs to be consistent with others. Minos Galanakis 2023-09-06 16:14:30 +01:00
  • 2c6e561ff8 entropy_poll.c: Added looping logic to mbedtls_platform_entropy_poll(). Minos Galanakis 2023-09-06 15:00:58 +01:00
  • 7afebccf69 ChangeLog.d: Added mininum required Windows version. Minos Galanakis 2023-09-06 14:50:54 +01:00
  • 4952f705ee Removed unsupported Visual Studio related code in entropy_poll.c and x509_crt.c. Minos Galanakis 2023-08-18 15:24:39 +01:00
  • e960365957 ChangeLog.d: Reworded updated_windows_apis.txt. Minos Galanakis 2023-08-18 15:18:54 +01:00
  • 8792717309 Changelog: Removed entry from root file Minos Galanakis 2023-08-11 15:52:44 +01:00
  • 12b493f4dc entropy_poll/x509_crt: Added MBEDTLS_POP_TARGET_PRAGMA define guards. Minos Galanakis 2023-08-11 15:22:45 +01:00
  • 24a1c16fac library Makefile: Moved -lbcrypt to LOCAL_LDFLAGS Minos Galanakis 2023-08-11 14:37:24 +01:00
  • e13775dedb fuzzer Makefile: Added -lbcrypt linkage Minos Galanakis 2023-08-11 14:36:33 +01:00
  • a277b210ff Code style fixes Minos Galanakis 2023-08-09 16:32:22 +01:00
  • b8d6b82df4 programs: Cleaned up bcrypt linking refererences. Minos Galanakis 2023-08-09 16:23:14 +01:00
  • 769ee65f99 Fix Visual Studio Release|x64 builds Simon Butcher 2018-12-10 22:12:28 +00:00