Commit Graph

  • 409c8f6e1b Merge pull request #4851 from hanno-arm/hs_msg_without_checksum Manuel Pégourié-Gonnard 2021-08-12 11:54:10 +02:00
  • 7dd2f504b3 Allow configuring MBEDTLS_TLS_EXT_CID at compile time Gilles Peskine 2021-04-24 13:35:41 +02:00
  • a9e4e6fd6f ssl_server2: Add usage string for TLS 1.3 key exchange modes Hanno Becker 2021-08-02 21:22:28 +01:00
  • cfa4d4b3f5 ssl_client2: Adjust usage string to recognized cmd line parameter Hanno Becker 2021-08-02 21:22:06 +01:00
  • 30319f1f88 Remove misplaced comment in TLS 1.3 ciphersuite definitions Hanno Becker 2021-08-02 21:21:55 +01:00
  • 5d045a8b89 Stick to 'ephemeral' instead of ECDHE for TLS 1.3 key exchanges Hanno Becker 2021-08-02 21:21:30 +01:00
  • 674f9480cf Fix typo: algorithmc -> algorithms Hanno Becker 2021-08-02 21:21:19 +01:00
  • d4fa9bc710 Remove outdated mentioning of version-specific ciphersuite config Hanno Becker 2021-08-02 21:21:05 +01:00
  • a2535931ac Add Doxygen documentation for TLS 1.3 key exchange macros Hanno Becker 2021-08-02 21:20:54 +01:00
  • 932064d660 Add ssl-opt.sh tests for ssl_client/server TLS 1.3 kex parameters Hanno Becker 2021-07-24 06:45:50 +01:00
  • 2c0f697fbc Support TLS 1.3 key exchange config in ssl_client2/ssl_server2 Hanno Becker 2021-07-24 06:27:16 +01:00
  • 71f1ed66c2 Add identifiers and API for configuration of TLS 1.3 key exchanges Hanno Becker 2021-07-24 06:01:47 +01:00
  • e2defad0bb Fix indentation of pre-existing code-block in ssl_tls.c Hanno Becker 2021-07-24 05:59:17 +01:00
  • ae336852c5 Add ssl-opt.sh run to TLS 1.3 test in all.sh Hanno Becker 2021-07-24 05:27:16 +01:00
  • e486b2d7bb Document use of mbedtls_ssl_conf_ciphersuites() for TLS 1.3 Hanno Becker 2021-07-23 19:24:30 +01:00
  • 8ca26923eb Add TLS 1.3 ciphersuites Hanno Becker 2021-07-23 19:24:23 +01:00
  • e043d15d75 Turn comments of 1.3 record transforms into Doxygen documentation Hanno Becker 2021-08-12 06:22:32 +01:00
  • 2aec149e13 Merge pull request #4248 from hanno-arm/tls13_populate_transform Dave Rodgman 2021-08-11 16:41:51 +01:00
  • c0eabdc636 Apply clang formatting. archive/dev/mstarzyk-mobica/code_style_v2 Mateusz Starzyk 2021-08-03 14:09:02 +02:00
  • e8bd0f2ed0 Disable clang-formatting around __asm directives. Mateusz Starzyk 2021-08-11 16:54:49 +02:00
  • d112534585 Add a new file for constant-time functions gabor-mezei-arm 2021-07-12 16:31:22 +02:00
  • 0402979ed3 Add openssl/gnutls tls1.3 feature tests. Jerry Yu 2021-08-10 16:45:37 +08:00
  • deb68ce2d1 Fix guard around TLS 1.3 SigAlg configuration Hanno Becker 2021-08-10 16:04:05 +01:00
  • 16fec33e59 Move trailing macro comments to previous line. Mateusz Starzyk 2021-07-22 16:43:35 +02:00
  • d30917c65a Disable check-names script. Mateusz Starzyk 2021-08-04 11:14:25 +02:00
  • e36f5b1c11 Fix parantheses on return and sizeof statements. Mateusz Starzyk 2021-07-22 16:43:35 +02:00
  • 200f58c07e Add .clang-format file compatible with Clang12. Mateusz Starzyk 2021-07-20 15:49:39 +02:00
  • d73cec1e09 Add newline at end of list-identifiers.sh Yuto Takano 2021-08-10 15:45:28 +01:00
  • ac72fac465 Put back list-identifiers.sh as a thin wrapper around the python script Yuto Takano 2021-08-10 15:09:16 +01:00
  • 9c6aa7bb9a Add default values for TLS 1.3 SigAlg configuration Hanno Becker 2021-08-10 13:50:43 +01:00
  • 11ceadd382 Add cmdline param for TLS 1.3 sig alg config to ssl_{client,server}2 Hanno Becker 2021-08-10 13:36:41 +01:00
  • 1cd6e0021f Add experimental API for configuration of TLS 1.3 sig algs Hanno Becker 2021-08-10 13:27:10 +01:00
  • e0f5227550 Add CCM test for calling finish without any input. Mateusz Starzyk 2021-08-10 13:55:47 +02:00
  • 551265f879 Add TLS 1.3 IANA signature-algorithm values Hanno Becker 2021-08-10 13:03:48 +01:00
  • 8fb1754e1a Add short description for CCM test functions. Mateusz Starzyk 2021-08-10 13:45:19 +02:00
  • f442de69eb Add tests for CCM corner cases. Mateusz Starzyk 2021-08-10 13:36:43 +02:00
  • bccbf88bc3 Rename CCM test functions. Mateusz Starzyk 2021-08-09 16:12:46 +02:00
  • 2f1754916c Improve comment on local_output. Mateusz Starzyk 2021-08-09 16:05:14 +02:00
  • a42f9537b5 Improve documentation for CCM's processed variable. Mateusz Starzyk 2021-08-09 16:00:24 +02:00
  • b73c3ec1bc Restore MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED as default ret. Mateusz Starzyk 2021-08-09 15:55:38 +02:00
  • 62d22f9782 Use additional state in CCM to track auth data input. Mateusz Starzyk 2021-08-09 15:53:41 +02:00
  • 4f2dd8aada Fix errors returned by CCM functions. Mateusz Starzyk 2021-08-09 15:37:47 +02:00
  • f337850738 Use const size buffer for local output in CCM decryption. Mateusz Starzyk 2021-08-09 11:32:11 +02:00
  • c562788068 Fix local buffer allocation conditions. Mateusz Starzyk 2021-08-02 11:49:58 +02:00
  • ceb5bc6150 Fix typos. Mateusz Starzyk 2021-07-30 14:36:22 +02:00
  • 8788906947 Add CCM test for edge cases. Mateusz Starzyk 2021-07-29 14:08:18 +02:00
  • c8bdf36a72 Validate tag pointer in ccm function. Mateusz Starzyk 2021-07-28 15:39:51 +02:00
  • 1bda9451ef Factor out common code from ccm decrypt functions. Mateusz Starzyk 2021-07-28 15:21:46 +02:00
  • eb395c00c9 Move 'Authenticated decryption' comment. Mateusz Starzyk 2021-07-28 15:10:54 +02:00
  • 22f7a35ca4 Do not use output buffer for internal XOR during decryption. Mateusz Starzyk 2021-07-28 15:08:47 +02:00
  • 36d3b89c84 Verify input data lengths. Mateusz Starzyk 2021-07-28 14:14:58 +02:00
  • 2d5652acee Move ccm error state handling. Mateusz Starzyk 2021-07-27 16:07:54 +02:00
  • 5d97601e81 Remove ccm input validation. Mateusz Starzyk 2021-07-27 14:12:30 +02:00
  • ca9dc8d1d7 Rename ccm_calculate_first_block function. Mateusz Starzyk 2021-07-27 14:03:53 +02:00
  • c52220d775 Clear temporary buffer after block crypt operation. Mateusz Starzyk 2021-07-27 13:54:55 +02:00
  • a9cbdfbb34 Replace ccm status flags with bitshifts. Mateusz Starzyk 2021-07-27 13:49:54 +02:00
  • 4df9ac4882 Reorganize ccm context structure. Mateusz Starzyk 2021-07-27 13:47:23 +02:00
  • de7a83da0d Add changelog for chunked CCM implementation. Mateusz Starzyk 2021-07-14 12:39:14 +02:00
  • 27a1bef89d Tidy up test functions. Mateusz Starzyk 2021-07-13 15:33:19 +02:00
  • 29ec75b34e Add multipart testing to CCM* tests. Mateusz Starzyk 2021-07-13 12:26:17 +02:00
  • 663055f784 Remove UPDATE_CBC macro and working b buffer. Mateusz Starzyk 2021-07-12 19:13:52 +02:00
  • 25a3dfe7dd Add multipart tests for ccm suite. Mateusz Starzyk 2021-07-12 14:53:45 +02:00
  • 20bac2fbe4 Fix chunked ccm update. Mateusz Starzyk 2021-07-12 14:52:44 +02:00
  • 05e92d67bb Fix crypt mode configuration. Validate parameters in chunked input functions. Mateusz Starzyk 2021-07-09 12:44:07 +02:00
  • 6a15bcf61b Add support for chunked plaintext/cyphertext input. Mateusz Starzyk 2021-07-07 13:41:30 +02:00
  • 2ad7d8e1ff Replace CCM_CRYPT macro with a more versatile static function. Mateusz Starzyk 2021-07-07 11:05:45 +02:00
  • 33392450b7 Add chunked auth data support Mateusz Starzyk 2021-07-06 15:38:35 +02:00
  • eb2ca96d69 Store set lenghts in ccm context. Mateusz Starzyk 2021-07-06 12:45:11 +02:00
  • 88c4d624f8 Clear context state if previous operation failed. Mateusz Starzyk 2021-07-05 17:09:16 +02:00
  • 793692cbcb Split ccm_auth function. Mateusz Starzyk 2021-06-22 20:34:20 +02:00
  • 89d469cdb4 Move working variables to ccm context structure Mateusz Starzyk 2021-06-22 16:24:28 +02:00
  • 448c80727d Merge pull request #4853 from yuhaoth/pr/add-tls13-config-check-and-dummy-handshake Manuel Pégourié-Gonnard 2021-08-10 12:59:09 +02:00
  • 206b022ad0 Fix off-by-one error in string formatting in Python Yuto Takano 2021-08-10 11:30:43 +01:00
  • 7828ca2ea4 Fix typos pointed out by check_names Yuto Takano 2021-08-10 11:26:15 +01:00
  • 3aa186f946 Add transforms to be used for TLS 1.3 Hanno Becker 2021-08-10 09:24:19 +01:00
  • 0e719ff341 Improve the documentation of legacy msg layer transforms Hanno Becker 2021-08-10 09:24:08 +01:00
  • b6bbbb174d Fix typo in documentation of ssl->transform_out Hanno Becker 2021-08-10 09:00:14 +01:00
  • b9930e7d70 Add dummy tls1.3 handshake dispatch functions Jerry Yu 2021-08-06 17:11:51 +08:00
  • 3cc4c2a506 Add dummy ssl_tls13_{client,server}.c Jerry Yu 2021-08-06 16:29:08 +08:00
  • b19ccc3998 fix test_suite_debug test fail Jerry Yu 2021-08-09 17:44:56 +08:00
  • c46e9b4091 tests: Add negative version config tests. Jerry Yu 2021-08-06 11:22:24 +08:00
  • 60835a88c3 Add config check utils functions Jerry Yu 2021-08-04 10:13:52 +08:00
  • 7bfac1d7fe Fix incorrect reference to NameCheck in script docstring Yuto Takano 2021-08-09 15:49:25 +01:00
  • 55c6c87d95 Separate code parsing and name checking in two classes Yuto Takano 2021-08-09 15:35:19 +01:00
  • f8f88d6b00 Merge pull request #4746 from gilles-peskine-arm/bump-version-3.0 Janos Follath 2021-08-09 15:28:28 +01:00
  • 50953433a4 Bring back logging of number of files Yuto Takano 2021-08-09 14:54:36 +01:00
  • 8e9a219310 Improve ease of specifying which files to look in (check_names) Yuto Takano 2021-08-09 14:48:53 +01:00
  • f005c3369a Change variable name argparser to parser Yuto Takano 2021-08-09 13:56:36 +01:00
  • d70d446d69 Improve code style consistency in check_names.py Yuto Takano 2021-08-09 12:45:51 +01:00
  • 68d241211b Create list_internal_identifiers.py Yuto Takano 2021-08-09 12:10:31 +01:00
  • 2a572cf376 Move socket setup behind ssl structure setup. Jerry Yu 2021-08-06 11:21:08 +08:00
  • b1dc59a125 Add tls1.3 parameters to ssl_{client,server2} Jerry Yu 2021-08-05 15:58:09 +08:00
  • 977e07f5c8 Use glob in get_files(), call setup_logger on init Yuto Takano 2021-08-09 11:56:15 +01:00
  • 51efcb143d Rename check-names.py to check_names.py Yuto Takano 2021-08-09 11:54:12 +01:00
  • 0a1a9e7571 Fix missing dependency on Travis Manuel Pégourié-Gonnard 2021-07-06 09:44:59 +02:00
  • 3d04f63dfc Enable arm-linux-gnueabi-gcc build on Travis Manuel Pégourié-Gonnard 2020-08-18 10:31:36 +02:00
  • 9d9445279e Add arm-linux-gnueabi-gcc build to all.sh Manuel Pégourié-Gonnard 2020-08-18 10:28:51 +02:00
  • 9a260a628a Fix missing dependency on Travis Manuel Pégourié-Gonnard 2021-07-06 09:44:59 +02:00
  • cbb365ce3b Enable arm-linux-gnueabi-gcc build on Travis Manuel Pégourié-Gonnard 2020-08-18 10:31:36 +02:00
  • 719301693d Add arm-linux-gnueabi-gcc build to all.sh Manuel Pégourié-Gonnard 2020-08-18 10:28:51 +02:00