Commit Graph

  • 2e8d8d1fd6 Fix MSVC portability Gilles Peskine 2023-03-15 23:16:27 +01:00
  • d4a239310b Improve variable names Gilles Peskine 2023-03-15 20:37:57 +01:00
  • 36b9e47eed Fix preprocessor conditional Gilles Peskine 2023-03-17 17:30:29 +01:00
  • 790756d439 Get aesni.c compiling with Visual Studio Tom Cosgrove 2023-03-13 15:32:52 +00:00
  • e7dc21fabb AESNI: add implementation with intrinsics Gilles Peskine 2023-03-10 22:37:11 +01:00
  • 2c8ad9400b AES, GCM selftest: indicate which implementation is used Gilles Peskine 2023-03-10 22:35:24 +01:00
  • 5511a34566 New preprocessor symbol indicating that AESNI support is present Gilles Peskine 2023-03-10 22:29:32 +01:00
  • 2808a6047c Improve the presentation of assembly blocks Gilles Peskine 2023-03-15 19:36:03 +01:00
  • 18d521a57d Don't warn about Msan/Valgrind if AESNI isn't actually built Gilles Peskine 2023-03-10 22:25:13 +01:00
  • 6055b78328 Update bibliographic references Gilles Peskine 2023-03-10 22:21:47 +01:00
  • 30e9f2a293 Finish sentence in comment Gilles Peskine 2023-03-17 17:29:58 +01:00
  • 0f60d09aa8 Add a test with all of ECC accelerated Manuel Pégourié-Gonnard 2023-03-17 15:07:15 +01:00
  • 3831637e85 Handle dependency on ECP_C in ECC KDF Manuel Pégourié-Gonnard 2023-03-17 12:18:32 +01:00
  • bb576febb2 psa_crypto: Fix psa_key_derivation_output_key ECC without builtin keys Joakim Andersson 2023-03-01 11:23:02 +01:00
  • 89bf31d361 Add exemption for make.bat in checks for tabs David Horstmann 2023-03-17 13:46:51 +00:00
  • e04d492aad Ignore mbedtls macros causing warnings David Horstmann 2023-03-16 16:07:12 +00:00
  • 7f7aadded1 Add configuration for Read The Docs David Horstmann 2023-03-14 16:38:36 +00:00
  • 241b0408c3 Add initial API doc configuration David Horstmann 2023-03-14 15:00:46 +00:00
  • 62ef621c24 Tell Doxygen to generate XML David Horstmann 2023-03-14 14:20:38 +00:00
  • c9d8c3305d Add space to appease doxygen bug David Horstmann 2023-02-23 18:39:16 +00:00
  • d50daedcca Add exemption for make.bat in checks for tabs David Horstmann 2023-03-17 13:46:51 +00:00
  • 69bc8403eb rsa_tests: use TEST_EQUAL instead of TEST_ASSERT Yanray Wang 2023-03-17 20:33:03 +08:00
  • e05a21f084 rsa: add a test to check default padding mode and hash_id Yanray Wang 2023-03-17 20:09:17 +08:00
  • 15d3df7aec rsa: add positive test cases for getter functions Yanray Wang 2023-03-17 19:34:01 +08:00
  • 01298e635a Merge remote-tracking branch 'development/mbedtls-2.28' into mbedtls-2.28-restricted Paul Elliott 2023-03-17 11:12:36 +00:00
  • 8a7ed6951d Changelog Dave Rodgman 2023-03-17 10:30:45 +00:00
  • d41684e8bc rsa.c: rename getter function of hash_id Yanray Wang 2023-03-17 18:54:22 +08:00
  • 0e2b06a1ce Merge pull request #7083 from KloolK/record-size-limit/parsing Dave Rodgman 2023-03-17 10:18:34 +00:00
  • 9f02a4177b Merge pull request #7009 from mprse/csr_write_san Paul Elliott 2023-03-17 10:07:27 +00:00
  • 320f7eed3e Merge pull request #1001 from paul-elliott-arm/development-restricted-test Manuel Pégourié-Gonnard 2023-03-17 10:13:47 +01:00
  • 0d957d3a83 Merge pull request #7275 from valeriosetti/issue7255 Manuel Pégourié-Gonnard 2023-03-17 10:01:38 +01:00
  • 6ea8d3414f Fix a comment Manuel Pégourié-Gonnard 2023-03-17 09:43:50 +01:00
  • 1b5ffc63cc Avoid double definition of MD_LIGHT Manuel Pégourié-Gonnard 2023-03-14 10:11:20 +01:00
  • b33ef74d44 Use MD_LIGHT, not sha1.h, in RSA selftest Manuel Pégourié-Gonnard 2023-03-07 00:04:16 +01:00
  • 8316209c02 Use MD_LIGHT rather than md5.h in pem.c Manuel Pégourié-Gonnard 2023-03-06 23:58:50 +01:00
  • ec000c1a00 Merge pull request #7242 from mpg/md-dispatch-psa Manuel Pégourié-Gonnard 2023-03-17 09:42:40 +01:00
  • b3b905953d Merge pull request #999 from yanesca/threat_model_summary-2.28 Dave Rodgman 2023-03-16 21:58:25 +00:00
  • a6b9e11799 Merge pull request #994 from yanesca/threat_model_summary Dave Rodgman 2023-03-16 21:58:10 +00:00
  • 28e4dc1e39 Fix use of arithmetic on void* Gilles Peskine 2023-03-16 21:39:47 +01:00
  • c18cd0c8e6 Merge pull request #7230 from gabor-mezei-arm/6850_Secp256r1_fast_reduction Janos Follath 2023-03-16 19:43:25 +00:00
  • 1305581114 Ignore mbedtls macros causing warnings David Horstmann 2023-03-16 16:07:12 +00:00
  • 633a081c7e Add configuration for Read The Docs David Horstmann 2023-03-14 16:38:36 +00:00
  • e84d61cb64 Add initial API doc configuration David Horstmann 2023-03-14 15:00:46 +00:00
  • 4425383aaa Tell Doxygen to generate XML David Horstmann 2023-03-14 14:20:38 +00:00
  • d855b4680d Add space to appease doxygen bug David Horstmann 2023-02-23 18:39:16 +00:00
  • 4a060ffa59 Merge pull request #7303 from daverodgman/msan_bzero_testcase Dave Rodgman 2023-03-16 17:55:19 +00:00
  • 646ee7ec2e Fix CI build after repo merge conflict Paul Elliott 2023-03-16 17:10:34 +00:00
  • 74b4223c81 Announce the expanded AESNI support Gilles Peskine 2023-03-16 17:50:15 +01:00
  • 0bfccfa537 Document the new state of AESNI support Gilles Peskine 2023-03-16 17:49:44 +01:00
  • 9c682e724a AESNI: Overhaul implementation selection Gilles Peskine 2023-03-16 17:21:33 +01:00
  • 0de8f853f0 Clean up AES context alignment code Gilles Peskine 2023-03-16 17:14:59 +01:00
  • dd6021caf1 Remove the dependency of MBEDTLS_AESNI_C on MBEDTLS_HAVE_ASM Gilles Peskine 2023-03-16 16:51:40 +01:00
  • 943f8ddf81 test: remove leftovers from debug sessions Valerio Setti 2023-03-16 16:47:17 +01:00
  • 04fa1a4054 Threat Model: fix copy paste Janos Follath 2023-03-16 15:00:03 +00:00
  • 83050519a7 Threat Model: fix copy paste Janos Follath 2023-03-16 15:00:03 +00:00
  • 3ac99fdf07 Merge pull request #7301 from gilles-peskine-arm/msan-explicit_bzero Dave Rodgman 2023-03-16 14:55:18 +00:00
  • 0f454e4642 Use consistent guards for padlock code Gilles Peskine 2023-03-16 14:58:46 +01:00
  • 844f65dc65 Explicitly test AES contexts with different alignments Gilles Peskine 2023-03-16 14:54:48 +01:00
  • 0a3c72df02 Add explanatory comment Dave Rodgman 2023-03-16 13:43:32 +00:00
  • 5fcdf49f0e Move copy-context testing to an auxiliary function Gilles Peskine 2023-03-16 14:38:29 +01:00
  • f99ec202d7 AES context copy test: have one for each key size Gilles Peskine 2023-03-16 14:26:47 +01:00
  • d50cfddfd7 AES context copy test: clean up Gilles Peskine 2023-03-16 14:25:58 +01:00
  • 680dbd46ae Merge pull request #7270 from DemiMarie/oid-fix Dave Rodgman 2023-03-16 12:21:36 +00:00
  • 4a1de0f1a4 Merge pull request #7295 from DemiMarie/oid-fix-2.28 Dave Rodgman 2023-03-16 12:21:25 +00:00
  • 5d2024333b Fix missing line ending Dave Rodgman 2023-03-16 12:14:51 +00:00
  • 148cad134a Fix unaligned access if the context is moved during operation Gilles Peskine 2023-03-16 13:08:42 +01:00
  • d0185f78c0 Fix typo in comment Gilles Peskine 2023-03-16 13:08:18 +01:00
  • 0cd9ab7107 Fix code style Gilles Peskine 2023-03-16 13:06:14 +01:00
  • ecd649205d Add tests that cover msan explicit_bzero issue Dave Rodgman 2023-03-16 12:00:24 +00:00
  • a8d2ff3fdf Fix Msan failure with explicit_bzero Gilles Peskine 2023-03-16 10:53:46 +01:00
  • 9d698df4f4 Further clarify a comment Manuel Pégourié-Gonnard 2023-03-14 12:24:05 +01:00
  • ec31f2917f Systematically call PSA_INIT for MD tests Manuel Pégourié-Gonnard 2023-03-14 11:03:37 +01:00
  • a9ab4a2d60 Clarify a comment Manuel Pégourié-Gonnard 2023-03-14 10:51:15 +01:00
  • f48b1f810e Rename internal function to something clearer Manuel Pégourié-Gonnard 2023-03-14 10:50:52 +01:00
  • 9f132b7c9c Clarify real/dummy def of PSA_INIT/DONE Manuel Pégourié-Gonnard 2023-03-14 10:26:46 +01:00
  • 54e3c6593e Fix failures in signature accel test Manuel Pégourié-Gonnard 2023-01-30 13:01:36 +01:00
  • 7dc8b95849 Fix failures in builds without PSA_CRYPTO_C Manuel Pégourié-Gonnard 2023-03-10 10:07:51 +01:00
  • 39a376a417 Finish removing HMAC from MD-light Manuel Pégourié-Gonnard 2023-03-09 17:21:40 +01:00
  • c9e0ad23c1 Update design document Manuel Pégourié-Gonnard 2023-03-09 16:46:08 +01:00
  • 9b14639342 Dispatch according to init status. Manuel Pégourié-Gonnard 2023-03-09 15:56:14 +01:00
  • 7abdf7eee5 Add utility function to check for drivers init Manuel Pégourié-Gonnard 2023-03-09 11:17:43 +01:00
  • d8ea37f1a3 Add engine field to context structure Manuel Pégourié-Gonnard 2023-03-09 10:46:22 +01:00
  • 12612e5ab4 Implement md over PSA Gilles Peskine 2022-10-22 20:07:28 +02:00
  • 83d9e09b15 Switch metadata functions to the PSA-aware availability symbols Gilles Peskine 2022-10-22 18:32:43 +02:00
  • 416d0e2b01 Introduce preprocessor symbols for MD algorithm support via PSA Gilles Peskine 2022-10-22 18:27:57 +02:00
  • 82b484ecbc ecjpake: fix guards for driver only builds Valerio Setti 2023-03-16 08:21:44 +01:00
  • f56181a105 ssl_helpers.c: add mbedtls_test prefix for tweak_tls13_certificate* Yanray Wang 2023-03-16 12:21:33 +08:00
  • b088bfc453 ssl_helpers.c: add mbedtls_test_ssl prefix for *_exchange_data Yanray Wang 2023-03-16 12:15:49 +08:00
  • 5f86a42813 ssl_helpers.c: add mbedtls_test prefix for mbedtls_mock_socket_init Yanray Wang 2023-03-15 16:02:29 +08:00
  • 5e22a929b3 ssl_helpers.c: change prefix and move *queue_peek_info to static Yanray Wang 2023-03-16 14:57:54 +08:00
  • f6f71902b7 ssl_helpers.c: change prefix and move *certificate_free to static Yanray Wang 2023-03-15 16:05:14 +08:00
  • ead70c8d05 ssl_helpers.c: move some internal functions to static Yanray Wang 2023-03-16 12:04:49 +08:00
  • fea765ba17 test: enable ec-jpake key exchanges in driver coverage analysis Valerio Setti 2023-03-16 07:45:23 +01:00
  • b1895899f1 ssl_cache: Improve some comments Pengyu Lv 2023-03-16 11:38:43 +08:00
  • 6b8e8ff079 Fix segfault in mbedtls_oid_get_numeric_string Demi Marie Obenour 2023-03-11 17:45:28 -05:00
  • 889534a4d2 Fix segfault in mbedtls_oid_get_numeric_string Demi Marie Obenour 2023-03-11 17:45:28 -05:00
  • 25b766f08d ssl_helpers.c: move #define Directive to header file Yanray Wang 2023-03-15 16:39:05 +08:00
  • d19894fb4d ssl_helpers.c: unify code format between source file and header file Yanray Wang 2023-03-16 11:47:39 +08:00
  • f52078f5a1 fix win32 ms time fail Jerry Yu 2023-03-16 11:23:19 +08:00
  • 3d1d418f9e Fix failure in check_generated_files Yanray Wang 2023-03-15 12:10:50 +08:00