Commit Graph

  • 6f784dff49 Reflect the fact p256-m has been integrated into Mbed TLS Gilles Peskine 2023-09-13 15:32:30 +02:00
  • 3d9978e9b3 Merge pull request #8172 from ronald-cron-arm/psa-config-add-comment Gilles Peskine 2023-09-13 12:56:02 +00:00
  • 0684965f5a Modify changelog entry to add pkcs12 pbe functions Waleed Elmelegy 2023-09-13 13:35:16 +01:00
  • 016db89107 Update p256-m to state that it's ready for production Gilles Peskine 2023-09-13 14:34:40 +02:00
  • 9b5d7d7801 Merge pull request #8195 from daverodgman/improve_sslmsg Gilles Peskine 2023-09-13 12:32:12 +00:00
  • e707dc1bb5 aesni: refine the condition of MBEDTLS_HAVE_X86_64 Pengyu Lv 2023-09-13 18:09:24 +08:00
  • dc5a88b6a4 aesni: make AESNI only operate on X86 and X86_64 Pengyu Lv 2023-09-13 17:40:25 +08:00
  • 5a0915953a aesni: define MBEDTLS_HAVE_X86 Pengyu Lv 2023-09-13 17:37:53 +08:00
  • 3cea3efc25 Merge pull request #8025 from AgathiyanB/accept-numericoid-hexstring-x509 Gilles Peskine 2023-09-13 08:54:33 +00:00
  • f22999e99f Merge pull request #8093 from yuhaoth/pr/add-target-architecture-macros Gilles Peskine 2023-09-13 08:53:47 +00:00
  • da0bb9fae8 Merge pull request #8034 from gilles-peskine-arm/bump_version-doc_mainpage Dave Rodgman 2023-09-13 08:41:20 +00:00
  • fcbcf57753 Merge pull request #8194 from gilles-peskine-arm/bump_version-doc_mainpage-2.28 Dave Rodgman 2023-09-13 08:41:13 +00:00
  • 0934b2007c Merge pull request #8190 from paul-elliott-arm/update_cmake_min_ver Paul Elliott 2023-09-13 08:39:50 +00:00
  • 7d52f2a0d9 Improve use of ct interface in mbedtls_ssl_decrypt_buf Dave Rodgman 2023-09-12 16:29:39 +01:00
  • 31beb2d449 Merge pull request #8166 from gilles-peskine-arm/p256-m-zeroize Dave Rodgman 2023-09-12 21:33:03 +00:00
  • 4923640574 Merge pull request #8189 from tom-cosgrove-arm/fix-ct-error-padlen-correct Dave Rodgman 2023-09-12 17:31:06 +00:00
  • bd26a8de92 More spelling corrections Gilles Peskine 2023-09-12 19:19:31 +02:00
  • f08ca83b4f Update spelling "mbed TLS" to "Mbed TLS" Gilles Peskine 2023-09-12 19:21:54 +02:00
  • bd44d93ee9 Allow "Mbed TLS" as the project name in Doxygen Gilles Peskine 2023-08-03 17:22:44 +02:00
  • 2e38a0d603 More spelling corrections Gilles Peskine 2023-09-12 19:19:31 +02:00
  • e820c0abc8 Update spelling "mbed TLS" to "Mbed TLS" Gilles Peskine 2023-08-03 17:45:20 +02:00
  • 4843278237 Allow "Mbed TLS" as the project name in Doxygen Gilles Peskine 2023-08-03 17:22:44 +02:00
  • a72ea814d8 Remove double blank line in x509_create.c Agathiyan Bragadeesh 2023-09-12 17:57:09 +01:00
  • c7959b22c6 Remove magic number in x509.c Agathiyan Bragadeesh 2023-09-12 17:54:43 +01:00
  • bc519a59d0 Merge pull request #8188 from paul-elliott-arm/fix_pkcs7_use_uninit Tom Cosgrove 2023-09-12 17:51:21 +01:00
  • a722d0a415 Update CMake minimum version(s) to match main CMakeLists.txt Paul Elliott 2023-09-12 16:27:24 +01:00
  • 2b143c67a4 Add changelog entry for checking set_padding() before cipher_finish() Waleed Elmelegy 2023-09-12 16:20:35 +01:00
  • 9b1ae3d7c8 Merge pull request #1059 from daverodgman/ct_memcmp_fix Dave Rodgman 2023-09-12 16:13:03 +01:00
  • 9d8a7d62f5 Use the correct variable when tracking padding length Tom Cosgrove 2023-09-12 16:01:52 +01:00
  • 1d9e8f1a07 Merge pull request #7797 from gilles-peskine-arm/python-cryptography-on-windows Gilles Peskine 2023-09-12 13:58:10 +00:00
  • 57d09b72ef Return back to modifying input parameters in pkcs12_parse_pbe_params Waleed Elmelegy 2023-09-12 14:05:10 +01:00
  • a7d206fce6 Check set_padding has been called in mbedtls_cipher_finish Waleed Elmelegy 2023-09-07 17:54:46 +01:00
  • bd58944252 Avoid implementation defined behaviour Dave Rodgman 2023-09-12 12:38:53 +01:00
  • 45b6e5e69f Prevent potential use of uninitialised data in pkcs7 tests Paul Elliott 2023-09-12 11:29:16 +01:00
  • 49d7223036 Fix test under memsan Dave Rodgman 2023-09-12 11:03:23 +01:00
  • 1a1b03bfb4 Merge pull request #1024 from daverodgman/safer-ct-changelog Dave Rodgman 2023-09-12 10:59:14 +01:00
  • 2b0d53a2a8 Merge pull request #7590 from daverodgman/ct-x86-asm Dave Rodgman 2023-09-12 09:58:44 +00:00
  • 50b0a35494 Test INT_MAX rather than UINT_MAX Dave Rodgman 2023-09-12 09:30:44 +01:00
  • 98926d5fb1 Update comment, and replace bit-twiddling with #error Dave Rodgman 2023-09-12 09:29:33 +01:00
  • 70e022b024 code style Dave Rodgman 2023-09-12 09:29:13 +01:00
  • 022b9a1ca0 benchmark: add AES_CFB8 Yanray Wang 2023-09-12 09:45:37 +08:00
  • 55aba195de benchmark: add AES_CFB128 Yanray Wang 2023-09-12 09:03:50 +08:00
  • ba63e0ce34 Use macros for sizes in p256-m driver Manuel Pégourié-Gonnard 2023-08-09 11:53:09 +02:00
  • 138bdb6b17 Add comment to p256-m driver JSON file Manuel Pégourié-Gonnard 2023-08-09 11:18:49 +02:00
  • e9d97976b2 Update list of ignored tests Manuel Pégourié-Gonnard 2023-08-08 18:34:47 +02:00
  • 96839e7450 Move common things to common function Manuel Pégourié-Gonnard 2023-08-08 13:01:29 +02:00
  • 0509b5878c Fix INVALID vs NOT_SUPPORTED issue in test suite Manuel Pégourié-Gonnard 2023-08-08 12:47:56 +02:00
  • f0251e0824 Improve error codes in p256-m driver Manuel Pégourié-Gonnard 2023-08-08 12:23:42 +02:00
  • 25b45db3d8 Disable ECP_C in component with p256-m driver Manuel Pégourié-Gonnard 2023-08-08 11:06:21 +02:00
  • 92a386f24c Add JSON file for p256-m driver Manuel Pégourié-Gonnard 2023-08-07 12:53:33 +02:00
  • 18d7142efd Add export_public_key entry point to p256-m driver Manuel Pégourié-Gonnard 2023-08-07 11:18:05 +02:00
  • 5424cf2e40 Add import_key entry point to p256-m driver Manuel Pégourié-Gonnard 2023-08-07 10:56:12 +02:00
  • bac6d9a703 Add key management utilities to p256-m Manuel Pégourié-Gonnard 2023-08-07 09:59:14 +02:00
  • fa9392abcd PSA config: Add comment about HKDF. Ronald Cron 2023-09-07 16:54:44 +02:00
  • 9b9ac4c6ef Merge pull request #8175 from ronald-cron-arm/fix-query-config-generation-with-cmake Ronald Cron 2023-09-12 06:03:01 +00:00
  • ad2f351c6b Merge pull request #8171 from ronald-cron-arm/misc-minor-fixes Ronald Cron 2023-09-12 06:00:48 +00:00
  • 4f26770291 Ensure mbedtls_ct_memcpy behaves correctly with 16-bit int Dave Rodgman 2023-09-11 19:05:51 +01:00
  • 140d5c77d0 Add single-bit difference tests Dave Rodgman 2023-09-11 19:05:30 +01:00
  • dc669a1944 Fix type error Dave Rodgman 2023-09-11 18:39:57 +01:00
  • 5265c318a0 Fix type-conversion error Dave Rodgman 2023-09-11 18:04:13 +01:00
  • 49352832c9 Eliminate duplicate of mbedtls_asn1_find_named_data Dave Rodgman 2023-09-11 17:09:13 +01:00
  • 33287ae134 Tidy up mbedtls_asn1_write_len Dave Rodgman 2023-09-11 17:03:22 +01:00
  • cf5f746a8c Refactor out some common code Dave Rodgman 2023-09-11 16:27:34 +01:00
  • 198fbc2c99 Merge pull request #8173 from gilles-peskine-arm/config-boolean-options-wrong-section-202309-2.28 Dave Rodgman 2023-09-11 15:09:06 +00:00
  • 7fda906a68 Merge pull request #8161 from gilles-peskine-arm/config-boolean-options-wrong-section-202309 Dave Rodgman 2023-09-11 15:08:56 +00:00
  • 3bbedf6ba0 code style Dave Rodgman 2023-09-11 16:06:28 +01:00
  • 9f366b07ea Reduce code size in mbedtls_asn1_write_len Dave Rodgman 2023-09-11 15:47:00 +01:00
  • 82fe0828b2 Merge pull request #8180 from daverodgman/sha2-zeroize Dave Rodgman 2023-09-11 15:13:27 +01:00
  • 7fa5934302 Merge pull request #1056 from waleed-elmelegy-arm/Backport-improve-and-test-mbedtls_pkcs12_pbe Gilles Peskine 2023-09-11 14:32:20 +02:00
  • aafd1e0924 Ensure all md_<hash>_finish functions perform zeroization Dave Rodgman 2023-09-11 12:59:36 +01:00
  • ce1bb3d1da Merge pull request #8178 from tom-cosgrove-arm/remove-tautological-null-pointer-check-sha3_c Paul Elliott 2023-09-11 10:54:36 +00:00
  • 876346e451 Remove always-false null pointer check in sha3.c that Coverity complains about Tom Cosgrove 2023-09-09 14:24:46 +01:00
  • bc7716cddc all.sh: run make clean before make lib in armc6_build_test Yanray Wang 2023-09-08 11:20:59 +08:00
  • ef1b04db94 all.sh: make sure CIPHER_ENCRYPT_ONLY is enabled in tests Yanray Wang 2023-09-08 11:09:26 +08:00
  • 3caaf0c61e Enable CIPHER_ENCRYPT_ONLY when DES is disabled Yanray Wang 2023-09-07 17:50:14 +08:00
  • ecc99611e4 Reinforce warning about a significant comment Gilles Peskine 2023-09-09 22:54:26 +02:00
  • 1bfc09bca7 Move comment to its intended location Gilles Peskine 2023-09-09 21:26:05 +02:00
  • eeed74e697 Fix prepare_release.sh -u with CMakeLists.txt Gilles Peskine 2023-09-09 21:00:30 +02:00
  • 3f8e483eed Mark y as modified in x86 asm for mbedtls_ct_uint_lt Dave Rodgman 2023-09-08 17:57:40 +01:00
  • 4a97e73661 Eliminate a redundant not from x86 asm Dave Rodgman 2023-09-08 17:26:18 +01:00
  • b6b8f6c68d Make variable name consistent in x86_64 asm Dave Rodgman 2023-09-08 17:19:32 +01:00
  • 5f249852a5 Better register allocation for x86_64 asm Dave Rodgman 2023-09-08 17:18:29 +01:00
  • 99f0cdc0e0 Remove not-needed mov in x86_64 asm Dave Rodgman 2023-09-08 17:18:04 +01:00
  • e1cb35b719 Add new mbedtls_pkcs12_pbe_ext function to replace old function Waleed Elmelegy 2023-09-06 15:48:08 +01:00
  • 6d5a5c17b1 Improve pkcs12 pbe tests Waleed Elmelegy 2023-09-05 15:51:48 +01:00
  • 473f6363f1 In releases, turn off GEN_FILES in Makefile and CMakeLists.txt Gilles Peskine 2023-09-08 16:49:14 +02:00
  • dea4c7e09f Prepare to generalize the script to do more than .gitignore Gilles Peskine 2023-09-08 16:34:01 +02:00
  • 0b62b7a21f Allow turning off re-generation of files with make Gilles Peskine 2023-09-08 16:19:13 +02:00
  • 38a89ad507 Improve & test legacy mbedtls_pkcs12_pbe * Prevent pkcs12_pbe encryption when PKCS7 padding has been disabled since this not part of the specs. * Allow decryption when PKCS7 padding is disabled for legacy reasons, However, invalid padding is not checked. * Document new behaviour, known limitations and possible security concerns. * Add tests to check these scenarios. Test data has been generated by the below code using OpenSSL as a reference: Waleed Elmelegy 2023-09-04 15:11:22 +01:00
  • 31d49cd57f Merge pull request #1053 from waleed-elmelegy-arm/Improve-and-test-mbedtls_pkcs12_pbe Gilles Peskine 2023-09-08 13:08:05 +02:00
  • 706a1c3c3f Fix code style Agathiyan Bragadeesh 2023-09-08 12:04:41 +01:00
  • c34804dea2 Fix bug with checking max dn length with hexpairs Agathiyan Bragadeesh 2023-09-08 11:32:19 +01:00
  • d34c4262da Move conditionals to keep doxygen with function Agathiyan Bragadeesh 2023-09-08 11:09:50 +01:00
  • 26923c7e49 Add missing hyphen Dave Rodgman 2023-09-08 10:45:34 +01:00
  • 241a80b717 Improve changelog Dave Rodgman 2023-09-07 12:01:29 +01:00
  • 3fc3ae708e wip Dave Rodgman 2023-08-15 12:24:31 +01:00
  • d441a14f38 Add reference to x86 asm Dave Rodgman 2023-06-12 17:27:52 +01:00
  • cd1de6350e Changelog Dave Rodgman 2023-05-09 10:12:34 +01:00
  • 3a11771bae Pacify pylint Gilles Peskine 2023-09-08 11:17:09 +02:00
  • d7a983a0d8 Fix generate_query_config.pl usage Ronald Cron 2023-09-08 10:53:35 +02:00