Commit Graph

  • eecfbf001c fix format issues Jerry Yu 2021-08-30 18:32:07 +08:00
  • 995ecd396f fix wrong iana values and comments Jerry Yu 2021-08-30 17:53:49 +08:00
  • c4d22444d6 fix undeclared variable error Jerry Yu 2021-08-27 20:04:33 +08:00
  • 5cc8f0a0d8 Add simple document for tls13 functions Jerry Yu 2021-08-27 17:21:44 +08:00
  • 275619336a fix name conversion issue for tls13 server entry Jerry Yu 2021-08-27 17:07:38 +08:00
  • 92c6b402d7 Remove prototype of static functions Jerry Yu 2021-08-27 16:59:09 +08:00
  • 9176c3ad8c trim spaces Jerry Yu 2021-08-27 14:58:49 +08:00
  • 9e42f6efd3 Revert "Move random function check" Jerry Yu 2021-08-27 15:14:01 +08:00
  • d532fe7720 write client hello also in hello reqeust Jerry Yu 2021-08-26 23:11:55 +08:00
  • f443681f56 fix function name conversion issues Jerry Yu 2021-08-26 22:59:56 +08:00
  • 55b9038600 fix coding style issue Jerry Yu 2021-08-26 18:42:05 +08:00
  • 2ac64193ad Apply MBEDTLS_PUT_xyz Jerry Yu 2021-08-26 18:38:58 +08:00
  • e885b76980 fix too long lines Jerry Yu 2021-08-26 17:32:34 +08:00
  • 6f13f64aa6 fix various format issues Jerry Yu 2021-08-26 17:18:15 +08:00
  • 708202b7d0 Move random function check Jerry Yu 2021-08-26 16:28:36 +08:00
  • c7ddeec229 Remove len_without_binders Jerry Yu 2021-08-26 16:23:47 +08:00
  • 8e7ca0432e fix extensions_present issues Jerry Yu 2021-08-26 15:31:37 +08:00
  • b3317e1a01 Add extension types in rfc8446 Jerry Yu 2021-08-26 14:30:22 +08:00
  • 32cd5b19dc fix unused variable warning Jerry Yu 2021-08-24 18:07:13 +08:00
  • ef6b36b484 add supported versions extension Jerry Yu 2021-08-24 16:29:02 +08:00
  • bc20bdd3a9 Implement write_partial with dummy exts Jerry Yu 2021-08-24 15:59:48 +08:00
  • 7984d9931e Add tls1.3 extension IANA values Jerry Yu 2021-08-18 10:31:29 +08:00
  • 93bcd61a41 Add field into handshake params Jerry Yu 2021-08-18 12:47:24 +08:00
  • c8a392c47e Implement stages except write_partial Jerry Yu 2021-08-18 16:46:28 +08:00
  • 65dd2ccfe6 Add dummy stages for client_hello_process Jerry Yu 2021-08-18 16:38:40 +08:00
  • a13c7e739c add dummy client hello process Jerry Yu 2021-08-17 10:44:40 +08:00
  • beb3f41f2f Add handshake_set_state helper function Jerry Yu 2021-08-16 15:00:55 +08:00
  • 3eac5b9c6d Use zip rather than enumerate Joe Subbiani 2021-07-29 10:07:05 +01:00
  • a56e10db4c Run test_translate_ciphers_format.sh from root Joe Subbiani 2021-07-29 10:01:26 +01:00
  • f849a93d94 Improve python coding style Joe Subbiani 2021-07-28 16:50:30 +01:00
  • f3fcc29eb1 Move translate scripts to appropriate folder Joe Subbiani 2021-07-28 15:51:02 +01:00
  • 4a703cef89 Remove commented out old code Joe Subbiani 2021-07-28 09:59:25 +01:00
  • 43592bd1f9 Remove trailing whitespaces Joe Subbiani 2021-07-27 16:32:21 +01:00
  • a032963d65 Modify comment descriptions of add_xxx_ciphersuites() Joe Subbiani 2021-07-27 15:40:12 +01:00
  • 6452f1ee35 Modify file name comments to match the file rename Joe Subbiani 2021-07-27 15:28:07 +01:00
  • 0fadf8ef7d Improve coding style and consistancy Joe Subbiani 2021-07-27 15:22:26 +01:00
  • 34d62620fb Reduce calls to translate_ciphers.py in compat.sh Joe Subbiani 2021-07-27 14:55:56 +01:00
  • d16d273a40 Compact 2 format functions to 1 Joe Subbiani 2021-07-26 13:33:35 +01:00
  • 15d7124661 Replace lists with calls to translate_ciphersuite.py Joe Subbiani 2021-07-26 12:20:00 +01:00
  • a16ccac1d9 Format files and add license comment Joe Subbiani 2021-07-22 18:52:17 +01:00
  • 29239b00a6 Move translate scripts to test directory Joe Subbiani 2021-07-22 17:33:59 +01:00
  • 97cd599545 Implement bash script for testing Joe Subbiani 2021-07-22 16:08:29 +01:00
  • 3ad58329da Reformat translation functions and test in seperate file Joe Subbiani 2021-07-21 16:48:54 +01:00
  • 8394484f0a Add draft python tool to translate MBed ciphersuites Joe Subbiani 2021-07-20 18:26:03 +01:00
  • 13592ca654 Merge pull request #4879 from yuhaoth/pr/upgrade-gnutls-next Ronald Cron 2021-09-02 16:38:19 +02:00
  • df2507301b Use AES-128 for multipart CCM corner cases tests Mateusz Starzyk 2021-09-02 12:36:02 +02:00
  • 75261df2e3 fix comment issues Jerry Yu 2021-09-02 17:40:08 +08:00
  • 64f0b5f454 Return BAD_INPUT error for CCM context's erroneous state Mateusz Starzyk 2021-09-02 11:50:38 +02:00
  • b12d81d1a3 Add feature tests for gnutls-next Jerry Yu 2021-08-17 10:56:08 +08:00
  • ab46aa0436 Upgrade gnutls-next to 3.7.2 Jerry Yu 2021-08-17 10:48:26 +08:00
  • 1984800f70 Add check_config checks for AEAD Gilles Peskine 2021-09-02 10:33:57 +02:00
  • 0bf740ee4f Merge pull request #4765 from gilles-peskine-arm/all.sh-subshells-3.0 Gilles Peskine 2021-09-02 10:26:58 +02:00
  • e36fe81e34 Change our code size reference job to use baremetal_size Gilles Peskine 2021-09-01 20:00:33 +02:00
  • 120f29deef New configuration preset baremetal_size Gilles Peskine 2021-09-01 19:51:19 +02:00
  • 88d681ca35 Make size_t -> int downcasts explicit Gilles Peskine 2021-09-01 11:19:33 +02:00
  • c7bd734063 Merge pull request #4904 from kennethsoerensen/pkparse-warning_2_16 Gilles Peskine 2021-09-01 16:53:54 +02:00
  • 9be53ffd10 Merge pull request #4903 from kennethsoerensen/pkparse-warning_2.x Gilles Peskine 2021-09-01 16:53:50 +02:00
  • 6f015a8798 Merge pull request #2327 from kennethsoerensen/pkparse-warning Gilles Peskine 2021-09-01 16:53:45 +02:00
  • b0450febe6 Tests for sending too much data after set lengths Paul Elliott 2021-09-01 15:06:26 +01:00
  • 7f62842247 Add test for calling update when nonce not set Paul Elliott 2021-09-01 12:08:29 +01:00
  • c6d11d02f5 Aligh update buffer test variables with psa naming Paul Elliott 2021-09-01 12:04:23 +01:00
  • 3d7d52c2ed Formatting fixes Paul Elliott 2021-09-01 10:33:14 +01:00
  • 7251eda6ff Replace BAD_SEQUENCE error with BAD_INPUT Mateusz Starzyk 2021-09-01 13:26:44 +02:00
  • e40ae6bbed Fix typo Mateusz Starzyk 2021-09-01 12:47:49 +02:00
  • 5a8abb144c Merge pull request #4883 from mstarzyk-mobica/fix_psa_sign_msg Manuel Pégourié-Gonnard 2021-09-01 12:23:20 +02:00
  • 806ac52be3 Backport 2.16: Remove compiler warning if only MBEDTLS_PK_PARSE_C is defined Kenneth Soerensen 2019-01-03 12:39:29 +01:00
  • c4e950ea53 Backport 2.x: Remove compiler warning if only MBEDTLS_PK_PARSE_C is defined Kenneth Soerensen 2019-01-03 12:39:29 +01:00
  • 6ac8f94a72 Fix cipher info key length sanity checks Gilles Peskine 2021-09-01 08:31:49 +02:00
  • ca939959e4 Allow read-only access to lists of certificates, CRL, CRL entries Gilles Peskine 2021-08-31 23:18:07 +02:00
  • 2e9d65f928 Note that custom info structures are not supported Gilles Peskine 2021-08-31 23:05:19 +02:00
  • 44ffc79d29 Copyediting in comments Gilles Peskine 2021-08-31 22:59:35 +02:00
  • 842edf474c Make many fields of X.509 structures public Gilles Peskine 2021-08-04 21:56:10 +02:00
  • b89d9c0599 Make fields of ASN.1 data structures public Gilles Peskine 2021-08-04 20:55:33 +02:00
  • b11d61e095 mbedtls_net_context: make fd public on Unix/POSIX platforms Gilles Peskine 2021-08-04 20:38:59 +02:00
  • ce9e3a92fe Remove redundant null check Gilles Peskine 2021-07-19 17:38:09 +02:00
  • e720dbe177 Use cipher_info accessor functions in TLS code Gilles Peskine 2021-07-19 17:37:46 +02:00
  • 80932fa944 Don't access cipher_info private fields in sample programs Gilles Peskine 2021-07-19 17:34:02 +02:00
  • 0be02bd823 Add accessor functions for cipher_info fields Gilles Peskine 2021-07-19 16:32:54 +02:00
  • a73b577744 Make the fields of mbedtls_ecp_curve_info public Gilles Peskine 2021-07-19 14:36:03 +02:00
  • e28d49b3b6 Remove compiler warning if only MBEDTLS_PK_PARSE_C is defined Kenneth Soerensen 2019-01-03 12:39:29 +01:00
  • 1ebcd55afa Extend mac_key_policy test. Mateusz Starzyk 2021-08-30 17:09:03 +02:00
  • e45ee40f7e Merge pull request #4811 from hanno-arm/tls13_ciphersuite_api Manuel Pégourié-Gonnard 2021-08-30 09:47:46 +02:00
  • 5e5ca8e3c7 Merge pull request #4893 from davidhorstmann-arm/4044-chglog-take2 Janos Follath 2021-08-26 16:25:10 +01:00
  • f1b0c70faf Merge pull request #4044 from darrenkrahn/mbedtls-2.16 Janos Follath 2021-08-26 16:23:58 +01:00
  • 6f29240314 psa: Remove psa_key_slot_is_external() Ronald Cron 2021-08-24 18:05:41 +02:00
  • 7a82a39eda psa: Remove buggy report of RSA public exponent for opaque keys Ronald Cron 2021-08-24 16:00:51 +02:00
  • 3f97e9c947 psa: Fix slot number key attribute Ronald Cron 2021-08-24 15:50:05 +02:00
  • 5e69aa5709 Remove NULL check for set nonce Paul Elliott 2021-08-25 17:24:37 +01:00
  • 2e450093e1 Remove variables declared as unused Paul Elliott 2021-08-25 17:18:22 +01:00
  • efda3408ce Fix formatting issues Paul Elliott 2021-08-25 17:16:52 +01:00
  • 3242f6c8ef Fix formatting issue Paul Elliott 2021-08-25 16:33:47 +01:00
  • b8db2c5726 Remove extra blank lines Paul Elliott 2021-08-25 16:33:06 +01:00
  • daf5c8954c Remove extraneous state checks Paul Elliott 2021-08-25 16:24:58 +01:00
  • 6f0e72038d Align set nonce variables with psa convention Paul Elliott 2021-08-25 12:57:18 +01:00
  • f127763ec9 Align generate nonce variables with psa convention Paul Elliott 2021-08-24 18:11:37 +01:00
  • d9343f2f0f Refactor is_encrypt into aead setup arguments Paul Elliott 2021-08-23 18:59:49 +01:00
  • d85a52c508 Add mask for kex_modes Jerry Yu 2021-08-24 10:55:07 +08:00
  • 31c01d303e Rename available values for tls13_kex_modes Jerry Yu 2021-08-24 10:49:06 +08:00
  • 69e0ec46b7 Replace SHA512_C with SHA384_C Jerry Yu 2021-08-24 10:44:15 +08:00
  • cadebe5343 fix several format and comment issues Jerry Yu 2021-08-24 10:36:45 +08:00