Commit Graph

  • 41934dd20a Share preparatory code between client and server handshake steps Hanno Becker 2021-08-07 19:13:43 +01:00
  • 6fececf192 Comment why is used Yuto Takano 2021-08-07 17:28:23 +01:00
  • fc54dfb0d6 Move check_repo_path into NameCheck as staticmethod Yuto Takano 2021-08-07 17:18:28 +01:00
  • f3cce8b0e1 Add handshake message writing variant that doesn't update checksum Hanno Becker 2021-08-07 14:29:49 +01:00
  • 55614b51f1 Use --quiet to hide explanations and show only minimal necessary info Yuto Takano 2021-08-07 01:00:18 +01:00
  • b47b504418 Improve comments in parse_mbed_words() Yuto Takano 2021-08-07 00:42:54 +01:00
  • 12a7ecda5a Fix further pylint issues picked up by Travis CI Yuto Takano 2021-08-07 00:40:29 +01:00
  • a083d15edd Specify file open encoding as utf-8 in check-names Yuto Takano 2021-08-07 00:25:59 +01:00
  • 381fda8550 Print line number next to problem in check-names Yuto Takano 2021-08-06 23:37:20 +01:00
  • bcc3d99cc1 Fix compatibiliy with Python 3.5 on the CI Yuto Takano 2021-08-06 23:14:58 +01:00
  • d93fa37aa6 Address all pylint issues to follow style Yuto Takano 2021-08-06 23:05:55 +01:00
  • 9e0e0e9980 Fix Pylint-detected function argument syntax error Yuto Takano 2021-08-06 22:01:37 +01:00
  • 25eeb7b935 Output subprocess stdout if it errored Yuto Takano 2021-08-06 21:27:59 +01:00
  • cfc9e4a275 Change identifier regex to better support multiline declarations Yuto Takano 2021-08-06 20:02:32 +01:00
  • 8f457cf222 Use enumerate() to get line numbers Yuto Takano 2021-08-06 17:54:58 +01:00
  • a4e751257a Output line number, line, and position of error Yuto Takano 2021-08-06 17:23:28 +01:00
  • 159255ab7b Document dependency on nm Yuto Takano 2021-08-06 17:00:28 +01:00
  • 13ecd996fc Improve regex to adapt to flexible spaces Yuto Takano 2021-08-06 16:56:52 +01:00
  • 5c1acf2735 Match macros with spaces between # and define Yuto Takano 2021-08-06 16:44:08 +01:00
  • d24e037dd1 Warn user if files are excluded from search Yuto Takano 2021-08-06 16:42:33 +01:00
  • 5939a2a4de Check environment by verifying other dirs' existence Yuto Takano 2021-08-06 16:40:30 +01:00
  • 201f9e85ca Make use of -v to log some debug information Yuto Takano 2021-08-06 16:36:54 +01:00
  • 81528c058a Add documentation, fix identifier parsing Yuto Takano 2021-08-06 16:22:06 +01:00
  • 6f38ab3bca Fix legacy troublesome regex Yuto Takano 2021-08-05 21:07:14 +01:00
  • fe02684049 Python port of f6643ccd90 Yuto Takano 2021-08-05 20:34:24 +01:00
  • 0fd48f7939 Python port of 7cc4c68eb6 Yuto Takano 2021-08-05 20:32:55 +01:00
  • 17220988dc Parse identifiers from library headers: Python port of d9eee3b417 Yuto Takano 2021-08-05 20:30:18 +01:00
  • 56e3a5caa6 Add test driver symbols: Python port of 7f13fa2454 Yuto Takano 2021-08-05 20:29:42 +01:00
  • e77f699ed5 Exclude FStar and Hacl: Python port of 9b33e7d7d7 Yuto Takano 2021-08-05 20:22:59 +01:00
  • 062289c657 Invoke config.py instead of pl: Python port of 5d46f6a89b Yuto Takano 2021-08-05 20:19:57 +01:00
  • c62b4084a2 Per-line opt-out of typo check: Python port of b683776181 Yuto Takano 2021-08-05 20:17:07 +01:00
  • e503d61b99 Remove 1.3 to 2.0 helpers: Python port of 7d48b28218 Yuto Takano 2021-08-05 20:14:05 +01:00
  • 157444c24d Add library header files: Python port of 65a6fa3e26 Yuto Takano 2021-08-05 20:10:45 +01:00
  • c763cc368f Check for double underscores: Python port of 712f7a804e Yuto Takano 2021-08-05 20:06:34 +01:00
  • fa950ae344 Look in 3rdparty: Python port of 8a0f5bb3c1 Yuto Takano 2021-08-05 20:03:44 +01:00
  • bb7dca495f Work with PSA constants: Python port of 03091d1114 Yuto Takano 2021-08-05 19:57:58 +01:00
  • ed91cf003a Remove Yotta: Python port of 3ad2efdc82 Yuto Takano 2021-08-05 19:52:43 +01:00
  • c1838937f1 Also check PSA: Python port of 2d9d6db60f Yuto Takano 2021-08-05 19:52:09 +01:00
  • 3963967ebc Restructure check-names.py with more verbose error messages Yuto Takano 2021-08-05 19:47:48 +01:00
  • b61f0e1151 Merge upstream 3.0 from 'development' in ARMmbed/mbedtls Yuto Takano 2021-08-06 21:07:34 +01:00
  • 6c79b5dce7 Keep compatibility with python versions prior to 3.5 Darryl Green 2018-05-17 14:14:50 +01:00
  • a783d9c5ef Remove check-names.sh and sub-scripts it used Darryl Green 2018-05-17 09:21:06 +01:00
  • 4e9b51bc18 Update scripts to use check-names.py Darryl Green 2018-05-16 22:32:41 +01:00
  • d5802926d9 Rewrite check-names.sh in python Darryl Green 2018-05-08 15:30:59 +01:00
  • 29d29c208e Fix the build of sample programs without mbedtls_strerror Gilles Peskine 2021-08-06 14:37:01 +02:00
  • 80ddb991c2 Add --restore option to clean up but not necessarily run components Gilles Peskine 2021-08-06 11:51:59 +02:00
  • 03af678911 Documentation improvements Gilles Peskine 2021-08-06 11:35:17 +02:00
  • 621333f41b Catch failures of AES or DES operations Gilles Peskine 2021-07-07 21:08:28 +02:00
  • 91e890e2fc Add documentation Gilles Peskine 2021-08-05 15:13:57 +02:00
  • 86f6129067 Documentation improvement Gilles Peskine 2021-08-05 15:11:33 +02:00
  • 7530163f3b Make --quiet more effective when running make generated_files Gilles Peskine 2021-08-05 15:10:47 +02:00
  • 3cbd69c4d4 Switch to 4-space indentation Gilles Peskine 2021-08-05 15:10:27 +02:00
  • 7b8571fcb5 New macro MBEDTLS_CHECK_RETURN Gilles Peskine 2021-07-07 21:02:36 +02:00
  • 1b95b34c4b Merge pull request #4696 from yutotakano/fix-ssl-opt.sh-hard-abort-2.x Gilles Peskine 2021-08-04 10:16:42 +02:00
  • f762433785 Merge pull request #4697 from yutotakano/fix-ssl-opt.sh-hard-abort-2.16 Gilles Peskine 2021-08-04 10:16:24 +02:00
  • 78f6f05778 Merge pull request #4695 from yutotakano/fix-ssl-opt.sh-hard-abort Gilles Peskine 2021-08-04 10:16:19 +02:00
  • ca8a7cf82d Implement byte reading macros to remaining files Joe Subbiani 2021-08-03 16:42:42 +01:00
  • f15da890fb Replace remaining MBEDTLS_CHAR with MBEDTLS_BYTE Joe Subbiani 2021-08-03 16:10:38 +01:00
  • 8799e54a21 Remove trailing whitespace Joe Subbiani 2021-07-21 16:35:48 +01:00
  • d3a3f21ad5 Improve documentation and add more uses of MBEDTLS_PUT Joe Subbiani 2021-07-21 15:22:47 +01:00
  • 896f4eeaf7 Improve consitency throughout library/common.h Joe Subbiani 2021-07-19 15:29:18 +01:00
  • c54e908656 Replace instances of byte reading macros with PUT Joe Subbiani 2021-07-19 11:56:54 +01:00
  • 197e9edae5 Remove trailing white space Joe Subbiani 2021-07-16 17:47:17 +01:00
  • 281956d5c3 Remove use of byte reading macro for uint16 Joe Subbiani 2021-07-16 17:14:07 +01:00
  • 6627fb284a Replace instances of byte reading macros with PUT Joe Subbiani 2021-07-16 15:02:55 +01:00
  • ad1115a3fd Use byte reading macros in places not using a byte mask Joe Subbiani 2021-07-16 14:27:50 +01:00
  • 1bd5d7da82 Add UINT64 GET and PUT macros Joe Subbiani 2021-07-16 12:29:49 +01:00
  • c045dc14b0 Replace MBEDTLS_CHAR_x with MBEDTLS_BYTE_x Joe Subbiani 2021-07-14 12:31:31 +01:00
  • 5b96e67ea1 Replace "four bytes" with "two bytes" in macro documentation Joe Subbiani 2021-07-14 12:05:51 +01:00
  • 6350d3a0dd Remove trailing whitespaces Joe Subbiani 2021-07-13 12:13:19 +01:00
  • 1000037831 Replace 3 byte shift with appropriate macro Joe Subbiani 2021-07-14 11:59:48 +01:00
  • 0a65d531c5 Improve common.h macro documentation Joe Subbiani 2021-07-14 11:53:07 +01:00
  • 6b897c930c Add Character byte reading macros Joe Subbiani 2021-07-08 14:59:52 +01:00
  • 9231d5f919 GET macros use a target variable Joe Subbiani 2021-07-07 16:56:29 +01:00
  • 266476da00 Document common.h and remove changelog Joe Subbiani 2021-07-07 15:16:56 +01:00
  • 4530b27021 Move GET/PUT_UINT16_LE macros to common.h Joe Subbiani 2021-07-05 15:37:39 +01:00
  • 2bbafda1f8 Prefixed macros with MBEDTLS Joe Subbiani 2021-06-24 13:00:03 +01:00
  • 888a141e70 Undo use of BYTE_x macro Joe Subbiani 2021-06-24 11:00:08 +01:00
  • 61f7d73336 Remove trailing whitespace Joe Subbiani 2021-06-24 09:06:23 +01:00
  • e4cc8c1ee0 Add do-while protection to macros Joe Subbiani 2021-06-23 17:58:41 +01:00
  • 4fb755592c Move UINT32_LE macros to common.h Joe Subbiani 2021-06-23 12:16:47 +01:00
  • aa5f6a6784 Move UINT32_BE macros to common.h Joe Subbiani 2021-06-23 11:49:03 +01:00
  • 927488e2d5 Move BYTES_TO_U32_LE to common.h Joe Subbiani 2021-06-23 11:23:44 +01:00
  • ba486b0084 Implement byte reading macros into library/ Joe Subbiani 2021-06-22 15:51:53 +01:00
  • 8b5bbda156 Merge pull request #4828 from gilles-peskine-arm/generate_errors-multiline-2.16 Gilles Peskine 2021-08-03 13:46:26 +02:00
  • a92a3e9290 Merge pull request #4827 from gilles-peskine-arm/generate_errors-multiline-2.2x Gilles Peskine 2021-08-03 13:46:23 +02:00
  • 3fbc5d3cf2 Merge pull request #4815 from gilles-peskine-arm/generate_errors-multiline-3.0 Gilles Peskine 2021-08-03 13:46:21 +02:00
  • bf66e2cc8f Documentation improvements Gilles Peskine 2021-08-03 13:44:28 +02:00
  • 1d475b6398 Disable wildcards when checking for unsupported components Gilles Peskine 2021-08-03 13:43:36 +02:00
  • 0b39970c99 Fix printf format signedness error Gilles Peskine 2021-08-03 13:15:04 +02:00
  • cfb5d393ed Merge pull request #4659 from spencer-burke/fixing_4222 Gilles Peskine 2021-08-03 12:53:34 +02:00
  • 3480e77a20 Merge pull request #4829 from spencer-burke/fixing_4222-2.x Gilles Peskine 2021-08-03 12:53:28 +02:00
  • 3418c24d8c Merge pull request #4830 from spencer-burke/fixing_4222-2.16 Gilles Peskine 2021-08-03 12:53:23 +02:00
  • ae505eeeed Fix missing dependency on Travis Manuel Pégourié-Gonnard 2021-07-06 09:44:59 +02:00
  • efd14bf9bd Enable arm-linux-gnueabi-gcc build on Travis Manuel Pégourié-Gonnard 2020-08-18 10:31:36 +02:00
  • 3a6c76937a Add arm-linux-gnueabi-gcc build to all.sh Manuel Pégourié-Gonnard 2020-08-18 10:28:51 +02:00
  • b0302c4c7b Move messaging related session reset into separate helper function Hanno Becker 2021-08-03 09:39:42 +01:00
  • 9fd9ce7b16 Remove the duplicate code in mbedtls/include/mbedtls/check_config.h Spencer Burke 2021-06-12 21:36:34 -07:00
  • 30dc0b5386 Remove the duplicate code in mbedtls/include/mbedtls/check_config.h Spencer Burke 2021-06-12 21:36:34 -07:00
  • c111e24292 Improve the detection of keep-going commands Gilles Peskine 2021-08-02 23:29:53 +02:00