Commit Graph

  • 5f0ccd5a3c Merge pull request #2931 from piotr-now/memory-info Jaeden Amero 2019-11-25 15:57:22 +00:00
  • c5bbdd411c Include platform.h in hmac_drbg.c and md.c Arto Kinnunen 2019-11-25 17:32:28 +02:00
  • 7d01ef6562 Added buffer-based mbedtls allocator support to ssl_client2 Piotr Nowicki 2019-11-20 15:00:17 +01:00
  • 9926eaf695 Do not allow configuring zero-length PSK Piotr Nowicki 2019-11-20 14:54:36 +01:00
  • d2cea9f57c Add some more KDF test cases Gilles Peskine 2019-11-21 20:10:13 +01:00
  • 7961668738 Support key agreement Gilles Peskine 2019-11-21 20:08:10 +01:00
  • 2bcfc714d2 Error out if a test case uses an unknown macro name Gilles Peskine 2019-11-21 19:49:26 +01:00
  • 98a710c5b2 Fix the collection of ECC curves and DH groups Gilles Peskine 2019-11-21 18:58:36 +01:00
  • 8c8694c14d add_test_case_line: data-driven dispatch Gilles Peskine 2019-11-21 19:22:45 +01:00
  • 84a45817a4 Allow gather_inputs to work with a derived Inputs class Gilles Peskine 2019-11-21 19:50:33 +01:00
  • a5000f1dc6 Make a class for error data Gilles Peskine 2019-11-21 17:51:11 +01:00
  • 2460933a6f Move test running and reporting functions into their own class Gilles Peskine 2019-11-21 17:44:21 +01:00
  • b86b6d32f9 Path options that affect run_c as separate arguments Gilles Peskine 2019-11-21 17:26:10 +01:00
  • c231711dbc Move value collection into its own function Gilles Peskine 2019-11-21 17:17:39 +01:00
  • ffe2d6e71b Move the type_word->name_set mapping into its own method Gilles Peskine 2019-11-21 17:17:01 +01:00
  • 5299a42f25 Update HMAC and MD FI countermeasures Arto Kinnunen 2019-11-25 16:19:25 +02:00
  • 5b36693774 Harden hmac_drbg and md against fault injection Arto Kinnunen 2019-11-20 16:13:13 +02:00
  • 45fd0d68d9 Add USE_TINYCRYPT build option to CMake files Simon Butcher 2019-11-22 16:51:41 +00:00
  • 4408dfd0fc Minor docstring improvements Gilles Peskine 2019-11-21 17:16:21 +01:00
  • 9699887185 Add Makefile option to exclude TinyCrypt files Simon Butcher 2019-11-22 15:09:39 +00:00
  • b37886935e Merge remote-tracking branch 'origin/development' into development-restricted Jaeden Amero 2019-11-22 10:27:25 +00:00
  • 67ab98dcc0 Merge remote-tracking branch 'restricted/pr/661' into development-restricted Jaeden Amero 2019-11-22 10:26:08 +00:00
  • 5d74241b54 Merge remote-tracking branch 'origin/pr/2854' into development Jaeden Amero 2019-11-22 10:20:19 +00:00
  • ed7b8b73ad Merge pull request #2868 from k-stachowiak/fix-resource-leak-in-ssl-example Jaeden Amero 2019-11-22 09:57:32 +00:00
  • 35e535a74a Remove TinyCrypt config condition in source files Simon Butcher 2019-11-21 17:17:05 +00:00
  • 69f93b5040 Move the names of input files to global variables Gilles Peskine 2019-11-21 16:49:50 +01:00
  • 8f5a5018e8 Describe options in alphabetical order Gilles Peskine 2019-11-21 16:49:10 +01:00
  • 5a6dc895f2 Simplify expression normalization Gilles Peskine 2019-11-21 16:48:07 +01:00
  • 5a994c15f4 More readable code around expression generation Gilles Peskine 2019-11-21 16:46:51 +01:00
  • 30833f2a07 Remove num_n_bits member from curve structure Manuel Pégourié-Gonnard 2019-11-21 09:46:52 +01:00
  • 72c1764c00 Remove num_bytes member from curve structure Manuel Pégourié-Gonnard 2019-11-21 09:34:09 +01:00
  • 1765933ab2 Remove num_words member from curve structure Manuel Pégourié-Gonnard 2019-11-21 09:27:38 +01:00
  • 1c6f7eae2d Remove function pointers from curve structure Manuel Pégourié-Gonnard 2019-11-21 09:18:29 +01:00
  • e714332563 Add pre and post-validation to mult_safer() Manuel Pégourié-Gonnard 2019-11-15 10:47:45 +01:00
  • 41ab8cb6cb Centralize everything to EccPoint_mult_safer() Manuel Pégourié-Gonnard 2019-11-14 11:59:09 +01:00
  • 18761926a8 Fix double-check for bad signature Manuel Pégourié-Gonnard 2019-11-14 09:19:08 +01:00
  • 4c9b556e38 Add double-check for flags == 0 in crt_verify() Manuel Pégourié-Gonnard 2019-11-12 10:45:32 +01:00
  • ea7eab1fde Add redundancy (Hamming distance) to cert flags Manuel Pégourié-Gonnard 2019-11-12 10:31:12 +01:00
  • 81c1fc4132 Add double check on bad signature flagging Manuel Pégourié-Gonnard 2019-11-08 11:25:16 +01:00
  • f66657ac44 Use large Hamming distance for signature validity Manuel Pégourié-Gonnard 2019-11-08 11:14:09 +01:00
  • d1e55dfce6 Add double check on cert signature verification Manuel Pégourié-Gonnard 2019-11-08 11:02:56 +01:00
  • 72a8c9e7dc Force some compilers to respect volatile reads Manuel Pégourié-Gonnard 2019-11-08 10:21:00 +01:00
  • ca7b5ab5ef Use double-checking of critical value in pk_verify() Manuel Pégourié-Gonnard 2019-11-06 11:56:25 +01:00
  • 324c6e9cc9 Add error code MBEDTLS_ERR_PLATFORM_FAULT_DETECTED Manuel Pégourié-Gonnard 2019-11-06 11:52:41 +01:00
  • e6d6f17738 Add double-checking of critical value in uECC_verify() Manuel Pégourié-Gonnard 2019-11-06 11:14:38 +01:00
  • 2b6312b7d9 Harden return value of uECC_vli_equal() Manuel Pégourié-Gonnard 2019-11-06 10:42:02 +01:00
  • 10d8e8ed64 Use safer return values in uECC_verify() Manuel Pégourié-Gonnard 2019-11-06 10:30:26 +01:00
  • c05f1506f4 Introduce return values for tinycrypt functions Manuel Pégourié-Gonnard 2019-11-06 10:15:26 +01:00
  • 99258ff315 Parse HelloVerifyRequest buffer overread: add changelog entry Gilles Peskine 2019-09-27 14:07:00 +02:00
  • 2414ce1a5e Parse HelloVerifyRequest: avoid buffer overread at the start Gilles Peskine 2019-09-27 14:02:44 +02:00
  • 99b6777b72 Parse HelloVerifyRequest: avoid buffer overread on the cookie Gilles Peskine 2019-09-27 14:00:36 +02:00
  • afbcf97c20 Parse HelloVerifyRequest buffer overread: add changelog entry Gilles Peskine 2019-09-27 14:07:00 +02:00
  • d5c4a7cc11 Parse HelloVerifyRequest: avoid buffer overread at the start Gilles Peskine 2019-09-27 14:02:44 +02:00
  • 01a96d6fd2 Parse HelloVerifyRequest: avoid buffer overread on the cookie Gilles Peskine 2019-09-27 14:00:36 +02:00
  • 592f591c0d all.sh: test CTR_DRBG_USE_128_BIT_KEY and ENTROPY_FORCE_SHA256 Gilles Peskine 2019-10-07 18:49:32 +02:00
  • 2ef377d56d all.sh: support variable seedfile size Gilles Peskine 2019-10-07 18:44:21 +02:00
  • 80a607171a config.pl full: exclude MBEDTLS_ENTROPY_FORCE_SHA256 Gilles Peskine 2019-10-07 17:11:03 +02:00
  • bbf67b98bb Remove selftest dependency in the test suite Gilles Peskine 2019-10-07 17:07:30 +02:00
  • 02e79a4e43 MBEDTLS_CTR_DRBG_USE_128_BIT_KEY: add selftest data Gilles Peskine 2019-10-07 17:06:06 +02:00
  • 367849ef2f Merge pull request #282 from ARMmbed/dev/gilles-peskine-arm/development-restricted-merge-development-20191120 Gilles Peskine 2019-11-21 10:57:55 +01:00
  • 87ef0c24af Merge branch 'development' into development-restricted Gilles Peskine 2019-11-20 20:09:34 +01:00
  • 61c8a371e0 Merge pull request #2836 from hanno-arm/x509_crt_policies_tests Jaeden Amero 2019-11-20 15:45:57 +00:00
  • a3877007e6 Merge remote-tracking branch 'public/pr/2876' into baremetal Simon Butcher 2019-11-20 12:00:18 +00:00
  • c759b88194 Merge remote-tracking branch 'public/pr/2889' into baremetal Simon Butcher 2019-11-20 12:00:06 +00:00
  • b2af693900 Merge remote-tracking branch 'public/pr/2910' into baremetal Simon Butcher 2019-11-20 11:59:55 +00:00
  • 4965466614 Merge remote-tracking branch 'public/pr/2930' into baremetal Simon Butcher 2019-11-20 11:59:46 +00:00
  • 1e96b46b03 Disable use of HRNG in SCA-hardened mem-functions Manuel Pégourié-Gonnard 2019-11-19 11:49:05 +01:00
  • 2e6cbcd931 Merge pull request #308 from tempesta-tech/ak-mpi_div_mpi-opt Gilles Peskine 2019-11-19 11:32:29 +01:00
  • 004d9a7cf6 Merge pull request #322 from gilles-peskine-arm/merge-crypto-development-20191115 Jaeden Amero 2019-11-18 13:59:11 +00:00
  • 24600e8290 Disable memory_buffer_alloc in the full config Gilles Peskine 2019-11-15 11:53:42 +01:00
  • 9afbfdc833 Merge remote-tracking branch 'myfork-public/development' into merge-crypto-development-20191115 Gilles Peskine 2019-11-15 11:47:14 +01:00
  • 4ebb782578 Merge pull request #2926 from gilles-peskine-arm/pk_signature_max_size-tls-rm_521 Jaeden Amero 2019-11-15 09:43:06 +00:00
  • 43259ce31e Remove unused test data file Gilles Peskine 2019-11-14 19:14:40 +01:00
  • 63ad668145 Merge pull request #321 from dgreen-arm/config_py Jaeden Amero 2019-11-14 16:56:12 +00:00
  • df8185eae3 Merge pull request #2923 from Patater/reduce-ram-pem-csr Jaeden Amero 2019-11-14 16:39:48 +00:00
  • b9b5f493d3 Merge pull request #2920 from gilles-peskine-arm/pk_signature_max_size-tls Gilles Peskine 2019-11-14 10:22:32 +01:00
  • adc82f3535 Add set+get tests Gilles Peskine 2019-09-19 12:19:24 +02:00
  • bc86f997ca Consolidate tests for set with/without values Gilles Peskine 2019-09-19 12:18:23 +02:00
  • 61a90bd32d config.py testing: also test the get command Gilles Peskine 2019-09-13 15:17:01 +02:00
  • baf15df251 Compatibility redirect: add copyright notice Gilles Peskine 2019-09-13 15:14:42 +02:00
  • 518ce0beb3 Compatibility redirect: if python3 is not available, try python Gilles Peskine 2019-09-05 20:29:22 +02:00
  • 261742bd59 Fix config.py output when a symbol has acquired or lost a value Gilles Peskine 2019-09-04 22:51:47 +02:00
  • 7b887cd14d Remove redundant test case Gilles Peskine 2019-09-04 22:51:33 +02:00
  • ea82042ff6 cmake: update interpreter requirement for the test suite generator Gilles Peskine 2019-09-04 22:13:02 +02:00
  • 9740929371 cmake: fix Python requirement Gilles Peskine 2019-09-04 22:10:34 +02:00
  • aebf0027c0 Test script for config.py Gilles Peskine 2019-08-01 23:32:38 +02:00
  • 7f04013099 Documentation improvements Gilles Peskine 2019-08-01 23:31:05 +02:00
  • 2552bc73d4 Fix "#define ... not found" error when using the default file name Gilles Peskine 2019-08-01 23:14:29 +02:00
  • 63cdb2855f Fix "--force set" without a value sneaking a None in Gilles Peskine 2019-08-01 23:14:00 +02:00
  • a52f97d5a5 Fix --force requiring an argument Gilles Peskine 2019-08-01 23:13:47 +02:00
  • b6fa7970a6 Fix Config.unset() making the name known Gilles Peskine 2019-08-01 23:13:23 +02:00
  • 812f185bc8 Also search config.h near the script Gilles Peskine 2019-07-29 23:43:20 +02:00
  • 1854ec45af Report an error if switching to Python fails Gilles Peskine 2019-07-29 23:42:50 +02:00
  • 5d650c86b4 Fix 'config.py set' without --force Gilles Peskine 2019-07-28 16:39:19 +02:00
  • a26ea87dde Fix encoding errors Gilles Peskine 2019-07-28 13:30:06 +02:00
  • a47ab22852 Print help when invoked with no arguments Gilles Peskine 2019-07-28 00:36:53 +02:00
  • 04362a0ad6 Replace config.pl by a redirection to config.py Gilles Peskine 2019-07-27 23:56:04 +02:00
  • 3bdd412d09 Invoke config.py instead of config.pl Gilles Peskine 2019-07-27 23:52:53 +02:00
  • 2e86a206f7 Remove component designed to test MAX_SIGNATURE_SIZE Gilles Peskine 2019-11-08 19:23:04 +01:00
  • 96a7cd1759 Use MBEDTLS_PK_SIGNATURE_MAX_SIZE in pkey sample programs Gilles Peskine 2019-11-08 19:22:35 +01:00