Commit Graph

  • 619b73d97d Test MBEDTLS_USE_PSA_CRYPTO with Valgrind Gilles Peskine 2022-11-29 16:45:30 +01:00
  • 13e7307892 Create a separate test suite for constant-time functions Gilles Peskine 2022-11-29 15:44:21 +01:00
  • 3daa98ed95 Move constant-time HMAC testing to its own suite Gilles Peskine 2022-11-29 15:42:36 +01:00
  • 235d1d8519 Improve wording Dave Rodgman 2022-12-01 18:45:02 +00:00
  • 6ebaf7a1f8 Whitespace fix Dave Rodgman 2022-12-01 18:33:58 +00:00
  • bc5f03dabc Disable PKCS7 by default; improve docs Dave Rodgman 2022-12-01 12:36:57 +00:00
  • 2f66115e0e No need for -g or -O in LDFLAGS Gilles Peskine 2022-12-01 18:05:31 +01:00
  • 202b1a07ba You need --coverage when linking as well Gilles Peskine 2022-12-01 17:41:36 +01:00
  • bcc535cf31 Linewrap for the benefit of Uncrustify David Horstmann 2022-11-10 18:55:00 +00:00
  • e98db0b866 tls: pake: fix description for mbedtls_ssl_set_hs_ecjpake_password_opaque Valerio Setti 2022-12-01 16:52:57 +01:00
  • b287ddff7e test: psa_pake: add more tests for opaque password setting Valerio Setti 2022-12-01 16:18:12 +01:00
  • 7854a4e019 Add max_early_data_size option for ssl_sever2 Jerry Yu 2022-11-05 23:14:47 +08:00
  • cc4e007ff6 Add max_early_data_size to mbedtls_ssl_config Jerry Yu 2022-11-22 17:22:22 +08:00
  • 16f6853b05 Add max_early_data_size config option Jerry Yu 2022-11-05 10:50:06 +08:00
  • a6934776c9 Add reco_debug_level to reduce debug output Jerry Yu 2022-11-04 15:39:30 +08:00
  • 62b20488f1 Implement mbedtls_mpi_mod_sub() Tom Cosgrove 2022-12-01 14:27:37 +00:00
  • dc40bbc2d7 test: pake: remove redundant test for opaque passwords Valerio Setti 2022-12-01 15:25:49 +01:00
  • 4452e98ec1 test: pake: add tests for set password functions Valerio Setti 2022-12-01 15:08:35 +01:00
  • 0944329036 tls: pake: add check for empty passwords in mbedtls_ssl_set_hs_ecjpake_password() Valerio Setti 2022-12-01 15:06:09 +01:00
  • 481a5e427b Improve parsing of test data Dave Rodgman 2022-12-01 13:31:20 +00:00
  • c3902ac661 Merge pull request #6698 from wernerlewis/bignum_mod_py Dave Rodgman 2022-12-01 11:48:14 +00:00
  • 7fc53dd83d Suppress over-eager compiler warnings in tests Dave Rodgman 2022-12-01 11:42:29 +00:00
  • 266f79c136 Merge pull request #6426 from aditya-deshpande-arm/driver-wrapper-key-agreement Paul Elliott 2022-12-01 11:40:52 +00:00
  • 9dc55ba932 Suppress over-eager compiler warnings in test code Dave Rodgman 2022-12-01 10:49:53 +00:00
  • 63e6a88874 Suppress over-eager compiler warning in tests Dave Rodgman 2022-12-01 10:01:08 +00:00
  • 28f424f238 Clarify support for mixed-endian platforms Dave Rodgman 2022-12-01 09:49:44 +00:00
  • 7f62f36f82 Add changelog entry Dave Rodgman 2022-12-01 09:44:31 +00:00
  • fb5fedcd00 Add tests for alignment.h Dave Rodgman 2022-11-30 15:20:33 +00:00
  • 749a0d7be8 Add option to reset the traces, to use after rework Gilles Peskine 2022-11-30 18:08:14 +01:00
  • e628f291ae Put temporary files in a temporary directory Gilles Peskine 2022-11-30 17:56:58 +01:00
  • d7db883b71 Fix "make lcov" in CMake out-of-tree builds Gilles Peskine 2022-11-30 17:52:54 +01:00
  • cb33076353 Call the new lcov script from CMake builds Gilles Peskine 2022-11-30 17:52:01 +01:00
  • eff88034d4 Add a bit of documentation Gilles Peskine 2022-11-30 17:51:44 +01:00
  • 3d4ea5490f Move lcov commands to a separate script Gilles Peskine 2022-11-30 17:35:44 +01:00
  • cff7578822 Add imports to bignum_mod Werner Lewis 2022-11-30 16:34:07 +00:00
  • 5484e96117 Add changelog entry Aditya Deshpande 2022-11-30 15:54:44 +00:00
  • a6b69dabc5 test: psa_pake: add a separate test for opaque password Valerio Setti 2022-11-30 16:44:49 +01:00
  • aec4bec53a Preserve line breaks from continued line comments Gilles Peskine 2022-11-30 16:38:49 +01:00
  • 18f7028a0e Preserve line breaks from continued line comments Gilles Peskine 2022-11-30 16:38:49 +01:00
  • 3917028ab7 Merge pull request #6695 from tom-cosgrove-arm/fix-name-of-basic-build-test.sh-2.28 Gilles Peskine 2022-11-30 16:20:04 +01:00
  • a942b370fe Merge pull request #6694 from tom-cosgrove-arm/fix-name-of-basic-build-test.sh Gilles Peskine 2022-11-30 16:19:55 +01:00
  • 2dae4b3ef6 Support armcc builtin byteswap routine Dave Rodgman 2022-11-30 12:07:36 +00:00
  • c84b731941 Enable test generation from bignum_mod.py Werner Lewis 2022-11-30 14:43:31 +00:00
  • 2d0f27d0fc Make use of optimised bswap from ARIA Dave Rodgman 2022-11-30 11:54:34 +00:00
  • b7dcc93f0e programs/fuzz: set sensible default CFLAGS Gilles Peskine 2022-11-29 17:23:19 +01:00
  • fe549a76e4 Add comment about use of ASAN_CFLAGS Manuel Pégourié-Gonnard 2022-11-30 10:42:03 +01:00
  • 30d9466762 Only run what we need from compat.sh Manuel Pégourié-Gonnard 2022-11-29 12:37:53 +01:00
  • 5f49b3cbe5 Fix the name of basic-build-test.sh within the file Tom Cosgrove 2022-11-30 11:13:00 +00:00
  • fc2ac75453 Fix the name of basic-build-test.sh within the file Tom Cosgrove 2022-11-30 11:13:00 +00:00
  • 717f2305a4 Add comment about use of ASAN_CFLAGS Manuel Pégourié-Gonnard 2022-11-30 10:42:03 +01:00
  • 154b84e664 Enable optimisation with Asan with make in all.sh Manuel Pégourié-Gonnard 2022-11-28 13:12:10 +01:00
  • 7df787c019 Merge pull request #6538 from yuhaoth/pr/tls13-add-early-data-transform-computation Ronald Cron 2022-11-30 09:56:00 +01:00
  • 787c79dc1a Remove changelog entry for an internal change Gilles Peskine 2022-11-29 22:27:03 +01:00
  • d622c7de56 Changelog entry files must have a .txt extension Gilles Peskine 2022-11-29 22:18:05 +01:00
  • d8c0803821 Preserve line breaks in comments before test functions Gilles Peskine 2022-11-29 22:03:32 +01:00
  • 07995fdd2f Preserve line breaks in comments before test functions Gilles Peskine 2022-11-29 22:03:32 +01:00
  • 7e8d4b6aff Explain space preservation Gilles Peskine 2022-11-18 22:27:37 +01:00
  • 43febf2890 Typos in comments Gilles Peskine 2022-11-18 22:26:03 +01:00
  • 8ee3a65f14 Add test cases for comment nesting Gilles Peskine 2022-11-18 22:25:18 +01:00
  • e54f63e4f3 Fix intended backslash in test data Gilles Peskine 2022-11-18 22:24:56 +01:00
  • d3ad55e496 Allow comments in prototypes of unit test functions Gilles Peskine 2022-11-11 16:37:16 +01:00
  • 4711731455 Fix typo and copypasta Gilles Peskine 2022-11-11 16:36:51 +01:00
  • 9e509fc316 Add target to generated all .c (and .datax) files Gilles Peskine 2022-11-10 19:50:34 +01:00
  • 5f0057d861 Remove some Python 2 compatibility code Gilles Peskine 2022-11-10 19:33:25 +01:00
  • fa05a2516d Merge pull request #6664 from davidhorstmann-arm/2.28-fix-typo-unsupported Gilles Peskine 2022-11-29 21:44:31 +01:00
  • 72bffe02b7 Merge pull request #6663 from davidhorstmann-arm/fix-typo-unsupported Gilles Peskine 2022-11-29 21:44:27 +01:00
  • edaa17b350 Merge pull request #6547 from yanesca/extract_mod_exp_from_prototype Gilles Peskine 2022-11-29 21:40:07 +01:00
  • d1bc6da3d3 Fix the build with MBEDTLS_TEST_HOOKS && !MBEDTLS_USE_PSA_CRYPTO Gilles Peskine 2022-11-29 21:14:19 +01:00
  • b6bc7524f9 Minor formatting fixes to address code review comments Aditya Deshpande 2022-11-29 16:53:29 +00:00
  • 661b9bca75 test: psa_pake: add specific log message for the opaque password Valerio Setti 2022-11-29 17:19:25 +01:00
  • 77e8315f5b fix formatting and typos Valerio Setti 2022-11-29 17:17:11 +01:00
  • 9ec14f6dcb programs/fuzz: set sensible default CFLAGS Gilles Peskine 2022-11-29 17:23:19 +01:00
  • 0c67160b00 Valgrind for constant flow: skip non-CF test suites Gilles Peskine 2022-11-29 16:01:41 +01:00
  • df3dd4c3bc Test MBEDTLS_USE_PSA_CRYPTO with Valgrind Gilles Peskine 2022-11-29 16:45:30 +01:00
  • 3ffd6bce81 Create a separate test suite for constant-time functions Gilles Peskine 2022-11-29 15:44:21 +01:00
  • 77e68c3176 Move constant-time HMAC testing to its own suite Gilles Peskine 2022-11-29 15:42:36 +01:00
  • bfec9d0df7 Merge pull request #6676 from davidhorstmann-arm/cmake-get-skip-test-from-env Gilles Peskine 2022-11-29 14:25:50 +01:00
  • 7f5bc5c40f Merge pull request #6681 from mpg/changelog-6264 Manuel Pégourié-Gonnard 2022-11-29 11:34:11 +01:00
  • d572a82df9 tls: psa_pake: add test for opaque password Valerio Setti 2022-11-28 18:27:51 +01:00
  • 0b9b560770 Merge pull request #6601 from valeriosetti/issue6502 Manuel Pégourié-Gonnard 2022-11-29 11:21:23 +01:00
  • f9720cfa78 Merge pull request #6670 from gilles-peskine-arm/pkcs7-use-after-free-20221127 Manuel Pégourié-Gonnard 2022-11-29 11:17:27 +01:00
  • 37d41c79b8 Add ChangeLog entry for DTLS Connection ID Manuel Pégourié-Gonnard 2022-11-29 09:39:16 +01:00
  • ffc330fafa Merge pull request #6264 from hannestschofenig/rfc9146_2 Manuel Pégourié-Gonnard 2022-11-29 09:25:14 +01:00
  • 66f09834ea Enable optimisation with Asan with make in all.sh Manuel Pégourié-Gonnard 2022-11-28 13:12:10 +01:00
  • aec08b3f42 fix various format issues Jerry Yu 2022-11-29 15:19:27 +08:00
  • a13f5eb7b8 Add missing dependency for the fuzzer-constructed test data Gilles Peskine 2022-11-28 21:30:04 +01:00
  • 97915c8685 Merge pull request #6619 from minosgalanakis/bignum/add_high_lv_IO_methods Janos Follath 2022-11-28 17:27:48 +00:00
  • a9a97dca63 psa_pake: add support for opaque password Valerio Setti 2022-11-28 18:26:16 +01:00
  • 6d23ff60dd Make use of optimised bswap from bignum Dave Rodgman 2022-11-28 14:38:53 +00:00
  • f7f1f748e3 Support built-in byteswap routines from clang, gcc, MSVC Dave Rodgman 2022-11-28 14:52:45 +00:00
  • a5110b0d79 Make use of efficient unaligned access functions Dave Rodgman 2022-11-28 14:48:45 +00:00
  • 6298b24127 Add byteswap routines Dave Rodgman 2022-11-28 14:51:49 +00:00
  • e5c42594e5 Add byte order detection macro Dave Rodgman 2022-11-28 14:47:46 +00:00
  • a360e1987a Add efficent unaligned get/put functions Dave Rodgman 2022-11-28 14:44:05 +00:00
  • d98ac8b75e Merge remote-tracking branch 'dave/fast_xor' into fast_unaligned Dave Rodgman 2022-11-28 15:06:25 +00:00
  • 1f8afa22a4 Bignum Mod: improve documentation and style Janos Follath 2022-11-28 14:32:33 +00:00
  • 1ac41dec09 Add test function for opaque driver (simply returns PSA_ERROR_NOT_SUPPORTED), and address other review comments. Aditya Deshpande 2022-11-28 14:46:30 +00:00
  • 095c4756ee Merge pull request #6674 from AndrzejKurek/ecjpake-changelog Manuel Pégourié-Gonnard 2022-11-28 12:44:38 +01:00
  • a34d0308cc test: psa_pake: fix dependency Valerio Setti 2022-11-28 10:11:48 +01:00
  • 84bee4c492 mbedtls_mpi_mod_write: improve readability Janos Follath 2022-11-28 10:27:14 +00:00