Commit graph

  • 2b2f956f22 Fix typos in comments Manuel Pégourié-Gonnard 2020-07-28 11:54:35 +02:00
  • 2b80249c04 Add comment on memsan + constant-flow testing Manuel Pégourié-Gonnard 2020-07-22 11:09:28 +02:00
  • 5bb6f3c3db Check errors from the MD layer Manuel Pégourié-Gonnard 2020-07-28 11:49:42 +02:00
  • a6c1317685 Remove unnecessary cast Manuel Pégourié-Gonnard 2020-07-28 11:45:02 +02:00
  • 74503bb5fc Improve some comments and internal documentation Manuel Pégourié-Gonnard 2020-07-28 11:42:31 +02:00
  • 1e94128f30 Factor repeated condition to its own macro Manuel Pégourié-Gonnard 2020-07-28 11:35:39 +02:00
  • de02b580c8 Implement cf_hmac() actually with constant flow Manuel Pégourié-Gonnard 2020-07-28 11:25:34 +02:00
  • 0dab12ec2c Start testing cf_hmac() for constant flow Manuel Pégourié-Gonnard 2020-07-28 11:02:57 +02:00
  • a237722118 Add MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN Manuel Pégourié-Gonnard 2020-07-28 10:53:06 +02:00
  • 368fc65f80 Use existing implementation of cf_hmac() Manuel Pégourié-Gonnard 2020-07-28 10:43:03 +02:00
  • fde750550d Add dummy constant-flow HMAC function with tests Manuel Pégourié-Gonnard 2020-07-28 10:19:45 +02:00
  • a60d0f2acb Factor repeated preprocessor condition to a macro Manuel Pégourié-Gonnard 2020-07-28 09:55:33 +02:00
  • 87a602dd67 Clarify some comments Manuel Pégourié-Gonnard 2020-07-16 09:48:54 +02:00
  • cadcf4cec6 Fix memory leak on error path Manuel Pégourié-Gonnard 2020-07-16 09:23:30 +02:00
  • 8be9d3b833 Add ChangeLog entry for base blinding protection Manuel Pégourié-Gonnard 2020-06-26 11:33:41 +02:00
  • 49e94e3889 RSA: blind call to mpi_inv_mod() on secret value Manuel Pégourié-Gonnard 2020-06-26 11:19:12 +02:00
  • 86ad5be18a RSA: remove redundant GCD call in prepare_blinding() Manuel Pégourié-Gonnard 2020-06-26 11:03:19 +02:00
  • d96edbc600 DHM: blind call to mpi_inv_mod() on secret value Manuel Pégourié-Gonnard 2020-06-25 12:47:22 +02:00
  • 41ee83972b DHM: make drawing of blinding value a function Manuel Pégourié-Gonnard 2020-06-25 12:34:58 +02:00
  • 7d6326dbf9 Fix uncaught error if fix_negative fails Gilles Peskine 2020-07-23 01:14:34 +02:00
  • 84697ca359 Fix memory leak in mbedtls_mpi_sub_abs Gilles Peskine 2020-07-23 01:16:46 +02:00
  • 2845fcc8ab Always test in-place addition and subtraction Gilles Peskine 2020-07-23 01:18:11 +02:00
  • a242f50acd Classify #3464 ChangeLog entry as Bugfix Simon Leet 2020-07-18 01:14:00 +00:00
  • 1535a43149 Revise comments for x509write_csr_der_internal Simon Leet 2020-06-26 21:23:32 +00:00
  • afc2717e84 Avoid stack-allocation of large memory buffers Doru Gucea 2018-12-14 21:08:35 +02:00
  • f90597f21e Adapt ChangeLog Hanno Becker 2019-05-04 08:18:09 +01:00
  • c33e92189a Avoid use of large stack buffers in mbedtls_x509_write_crt_pem() Hanno Becker 2019-05-04 08:13:23 +01:00
  • cfc77d49bd Improve documentation of mbedtls_pem_write_buffer() Hanno Becker 2019-05-04 08:12:47 +01:00
  • eeea9ead3c Perform CRT writing in-place on the output buffer Hanno Becker 2019-05-04 07:54:36 +01:00
  • beaf396619 Adapt x509write_crt.c to coding style Hanno Becker 2019-05-04 07:37:58 +01:00
  • a586099fd3
    Merge pull request #3475 from gilles-peskine-arm/rename-check_files-2.16 Gilles Peskine 2020-07-03 15:12:52 +02:00
  • ee69477890 Rename Python scripts to use '_' and not '-' Gilles Peskine 2020-06-25 14:18:34 +02:00
  • 5b6bebe2de
    Merge pull request #714 from ARMmbed/merge-2.16.7-release-to-mbedtls-2.16 Janos Follath 2020-07-01 14:44:25 +01:00
  • 15a7cd1052 Merge tag 'mbedtls-2.16.7' into merge-2.16.7-release-to-mbedtls-2.16 Janos Follath 2020-07-01 11:34:02 +01:00
  • abc460236f
    Merge pull request #711 from ARMmbed/mbedtls-2.16.7r0-pr Janos Follath 2020-06-30 12:08:32 +01:00
  • dd5f369328
    Merge pull request #3461 from ronald-cron-arm/programs-use-common-test-code-2.16 Manuel Pégourié-Gonnard 2020-06-29 13:18:40 +02:00
  • 599a234000
    Merge pull request #3460 from gilles-peskine-arm/programs-cmake-cleanup-2.16 Janos Follath 2020-06-29 10:13:29 +01:00
  • 6c48d09c2f Update ChangeLog header Janos Follath 2020-06-26 12:42:11 +01:00
  • ef5f8fc52a Bump version to Mbed TLS 2.16.7 Janos Follath 2020-06-26 12:35:53 +01:00
  • 49e6caf12e Assemble ChangeLog Janos Follath 2020-06-26 11:33:34 +01:00
  • 14a5645cbf tests: Get rid of mbedtls_test_unhexify() in unit test code Ronald Cron 2020-06-25 09:03:34 +02:00
  • 1d5ef2919b tests: ccm: Prepare to char* to data_t* type change Ronald Cron 2020-06-25 14:47:40 +02:00
  • b2eb38d391 tests: aes.ofb: Prepare to char* to data_t* type change Ronald Cron 2020-06-25 13:57:05 +02:00
  • afbe3ee87c tests: nist_kw: Prepare to char* to data_t* type change Ronald Cron 2020-06-25 13:33:29 +02:00
  • 7e8f1af0a6 tests: chacha20: Prepare to char* to data_t* type change Ronald Cron 2020-06-25 11:33:01 +02:00
  • d7a4df8341 tests: hkdf: Prepare to char* to data_t* type change Ronald Cron 2020-06-25 10:26:42 +02:00
  • 6d1f0ad7b6 tests: aria: Prepare to char* to data_t* type change Ronald Cron 2020-06-25 09:15:09 +02:00
  • 5b13a86e11 tests: Reformating due to *hexify functions renaming Ronald Cron 2020-06-08 17:20:59 +02:00
  • a0c9ff3e52 tests: Add mbedtls_test_ prefix to *hexify functions Ronald Cron 2020-06-08 17:05:57 +02:00
  • c9914ecd01 programs: cmake: Fix relative path warnings Ronald Cron 2020-06-05 14:02:43 +02:00
  • c7f8aec493 programs: ssl: cmake: Add missing executable Ronald Cron 2020-06-05 11:51:28 +02:00
  • fc253b38bb programs: ssl: cmake: Reorder declaration of executables Ronald Cron 2020-06-05 11:47:07 +02:00
  • f69b919844 Merge branch 'mbedtls-2.16-restricted' into mbedtls-2.16.7r0 Janos Follath 2020-06-25 09:19:21 +01:00
  • eab4a7a05d
    Merge pull request #3446 from mpg/use-all-sh-checks-for-pre-push-2.16 Gilles Peskine 2020-06-23 14:37:20 +02:00
  • 805b1461b8 all.sh: clean up some uses of "local" variables Manuel Pégourié-Gonnard 2020-06-08 10:59:41 +02:00
  • d2b5ad871d Use all.sh in pre-push hook Manuel Pégourié-Gonnard 2020-06-02 11:54:25 +02:00
  • 1ee685018a Make check_generate_test_code more -q friendly Manuel Pégourié-Gonnard 2020-06-02 11:40:08 +02:00
  • de4ad2da38 Add a --quiet option to all.sh Manuel Pégourié-Gonnard 2020-06-02 11:28:07 +02:00
  • 3a1944a187
    Merge pull request #704 from mpg/l13-hw-starts-finish-2.16-restricted Manuel Pégourié-Gonnard 2020-06-23 10:43:30 +02:00
  • 81286d242e
    Merge pull request #701 from mpg/ecp-mul-null-rng-2.16-restricted Janos Follath 2020-06-22 15:07:02 +01:00
  • b0c260881f
    Merge pull request #3442 from mpg/make-coverage-script-deterministic-2.16 Gilles Peskine 2020-06-22 12:30:52 +02:00
  • 1bff6847fb Adjust comments about SEED synchronisation Manuel Pégourié-Gonnard 2020-06-22 10:11:47 +02:00
  • c2400d38fe Make basic-build-test.sh deterministic Manuel Pégourié-Gonnard 2020-06-08 12:59:27 +02:00
  • 2df1423eff Test multi-block output of the hash-based KDF Manuel Pégourié-Gonnard 2020-06-22 10:18:58 +02:00
  • 66e4dffa4e
    Merge pull request #3357 from bensze01/license-2.16 Janos Follath 2020-06-18 15:54:17 +01:00
  • 2df5857dbe Remove SHA-1 as a fallback option Manuel Pégourié-Gonnard 2020-06-18 12:14:34 +02:00
  • 2ebb1e18e9 Revert "Allow inclusion of entropy.h when it's disabled" Manuel Pégourié-Gonnard 2020-06-18 11:59:57 +02:00
  • 20cd85c6e1 Use starts/finish around Lucky 13 dummy compressions Manuel Pégourié-Gonnard 2020-06-18 11:30:40 +02:00
  • 7d7c00412f Improve comment justifying a hard-coded limitation Manuel Pégourié-Gonnard 2020-06-17 12:57:33 +02:00
  • a90a95bcbd Zeroize temporary stack buffer Manuel Pégourié-Gonnard 2020-06-17 12:40:57 +02:00
  • 2d91c30f4c Update dependencies documentation Manuel Pégourié-Gonnard 2020-06-17 12:26:54 +02:00
  • 424210a93c Allow inclusion of entropy.h when it's disabled Manuel Pégourié-Gonnard 2020-06-17 12:13:23 +02:00
  • 301a9ee583 Fix potential memory overread in seed functions Manuel Pégourié-Gonnard 2020-06-17 10:12:43 +02:00
  • 72177e362b Add fall-back to hash-based KDF for internal ECP DRBG Manuel Pégourié-Gonnard 2020-06-16 12:51:42 +02:00
  • 0defc579d7 Fix typo in a comment Manuel Pégourié-Gonnard 2020-06-10 09:18:25 +02:00
  • 18b0b3c4b5 Avoid superflous randomization with restartable Manuel Pégourié-Gonnard 2020-06-08 09:53:20 +02:00
  • c7295f5416 Use HMAC_DRBG by default for ECP internal DRBG Manuel Pégourié-Gonnard 2020-06-04 12:32:14 +02:00
  • c334f41bf9 Skip redundant checks for NULL f_rng Manuel Pégourié-Gonnard 2020-06-04 10:43:29 +02:00
  • 84fd657240 Add Security ChangeLog entry for lack of blinding Manuel Pégourié-Gonnard 2020-06-04 10:31:06 +02:00
  • b34aeeb8d6 Update documentation about optional f_rng parameter Manuel Pégourié-Gonnard 2020-06-04 10:20:12 +02:00
  • 047986c2f8 Add support for RESTARTABLE with internal RNG Manuel Pégourié-Gonnard 2020-06-04 09:43:14 +02:00
  • d18f0519a5 Move internal drbg init to specific mul functions Manuel Pégourié-Gonnard 2020-06-03 12:11:56 +02:00
  • fb11d252b2 Implement use of internal DRBG for ecp_mul() Manuel Pégourié-Gonnard 2020-05-22 12:12:36 +02:00
  • 23983f30de Add config.h option MBEDTLS_ECP_NO_INTERNAL_RNG Manuel Pégourié-Gonnard 2020-05-19 12:38:31 +02:00
  • 948cd23845 Update LICENSE and README.md to reflect licensing Bence Szépkúti 2020-06-05 14:39:07 +02:00
  • f744bd72ee Update license headers to Apache-2.0 OR GPL-2.0-or-later Bence Szépkúti 2020-06-05 13:02:18 +02:00
  • 51b41d5422 Add Apache-2.0 headers to all scripts Bence Szépkúti 2020-05-26 01:54:15 +02:00
  • 468a76f88a Add copyright dates to all scripts Bence Szépkúti 2020-05-26 00:33:31 +02:00
  • efb669c280
    Merge pull request #3418 from ronald-cron-arm/ssl_write_client_hello-2.16 Manuel Pégourié-Gonnard 2020-06-15 10:57:55 +02:00
  • 9581fa3050 Align with check-like function return value convention Ronald Cron 2020-06-11 09:50:51 +02:00
  • 32b629dc99 ssl_client: Align line breaking with MBEDTLS_SSL_DEBUG_* Ronald Cron 2020-06-11 09:34:06 +02:00
  • 157cffebab Use defines to check alpn ext list validity Ronald Cron 2020-04-23 16:41:44 +02:00
  • f250380df3 Return error in case of bad user configurations Hanno Becker 2017-04-12 14:54:42 +01:00
  • d7296020a6 Add error condition for bad user configurations Hanno Becker 2017-04-12 14:54:42 +01:00
  • f8f61aad0f Uniformize bounds checks using new macro Hanno Becker 2017-04-12 14:54:42 +01:00
  • 7ea4b4d70a Add macro for bounds checking Hanno Becker 2017-04-12 14:54:42 +01:00
  • 711eea30b9 Remove unnecessary MBEDTLS_ECP_C preprocessor condition Ronald Cron 2020-05-07 10:54:43 +02:00
  • 35f8a54405 Shorten lines in library/ssl_cli.c to at most 80 characters Hanno Becker 2017-05-08 11:06:19 +01:00
  • 8f397268d3 Introduce macros for constants in SSL ticket implementation Hanno Becker 2018-11-17 21:18:01 +00:00
  • dbe3d2b434
    Merge pull request #3415 from bensze01/zeroize-2.16 danh-arm 2020-06-10 11:31:30 +01:00