Commit Graph

  • 6ce4988768 AES FI resistance Arto Kinnunen 2019-12-03 13:56:06 +02:00
  • 76deef9fca Update AES SCA random number function Arto Kinnunen 2019-12-05 10:10:31 +02:00
  • f44f7d465a AES CM review corrections Arto Kinnunen 2019-12-04 15:19:50 +02:00
  • 34139ba9fc Updates to AES countermeasures Arto Kinnunen 2019-12-03 15:43:27 +02:00
  • be1bb06acd Enable AES countermeasures in baremetal config Arto Kinnunen 2019-12-03 14:13:33 +02:00
  • 7543901b6a Follow Mbed TLS coding style Arto Kinnunen 2019-12-03 14:12:10 +02:00
  • 425137a0fa Follow Mbed TLS coding style Arto Kinnunen 2019-11-29 15:53:09 +02:00
  • c3532c2339 Improve SCA CM AES performance Arto Kinnunen 2019-11-29 15:07:11 +02:00
  • 172836a281 Rework AES countermeasures implementation Arto Kinnunen 2019-11-28 13:34:13 +02:00
  • b2be92e2c7 Update AES SCA flag to version_features.c Arto Kinnunen 2019-10-14 16:36:29 +03:00
  • 43980a09e0 Add AES SCA countermeasures to query_config Arto Kinnunen 2019-10-14 15:37:31 +03:00
  • 2231138c18 Disable AES SCA countermeasures from full config Arto Kinnunen 2019-10-14 15:18:27 +03:00
  • 45a475f293 Follow Mbed TLS coding style Arto Kinnunen 2019-10-14 12:31:50 +03:00
  • 430ac13112 Add config and test for AES SCA countermeasures Arto Kinnunen 2019-10-14 10:42:28 +03:00
  • f93d55e3ce Add SCA countermeasures to AES calculation Arto Kinnunen 2019-10-11 11:15:57 +03:00
  • caf88ff8f5 Merge pull request #2938 from yanesca/iotssl-2954-custom-io-unit-test Jaeden Amero 2019-12-10 09:49:59 +00:00
  • 1a61d455e9 Merge pull request #2841 from k-stachowiak/improve-memory-operation-clarity Jaeden Amero 2019-12-09 19:54:29 +02:00
  • c673c2cd44 Break up the ssl_mock_tcp unit test Janos Follath 2019-12-02 15:47:26 +00:00
  • 3766ba50de Add non-blocking mock TCP callbacks to SSL tests Janos Follath 2019-11-27 13:31:42 +00:00
  • 031827feba Add mbedtls_mock_socket to SSL unit tests Janos Follath 2019-11-27 11:12:14 +00:00
  • 5af2941fff Update crypto submodule Gilles Peskine 2019-12-06 20:30:42 +01:00
  • 81f7909497 Merge pull request #325 from gilles-peskine-arm/psa-sign_hash Gilles Peskine 2019-12-06 10:10:14 +01:00
  • a78acf1c6f Merge pull request #2935 from gilles-peskine-arm/config_py-pl_error_clarity Gilles Peskine 2019-12-06 10:09:35 +01:00
  • 6264e66ba4 Add mbedtls_test_buffer to SSL unit tests Janos Follath 2019-11-26 11:11:15 +00:00
  • 645896e0ea Fix undefined order of volatile access Manuel Pégourié-Gonnard 2019-12-05 15:30:09 +01:00
  • 0252cd6876 Merge remote-tracking branch 'public/pr/2940' into baremetal Simon Butcher 2019-12-05 14:32:54 +00:00
  • 501c466d01 Merge remote-tracking branch 'public/pr/2934' into baremetal Simon Butcher 2019-12-05 14:32:44 +00:00
  • 5b45c6e1b3 Merge remote-tracking branch 'public/pr/2932' into baremetal Simon Butcher 2019-12-05 14:32:31 +00:00
  • 7c5de360da Merge remote-tracking branch 'public/pr/2922' into baremetal Simon Butcher 2019-12-05 14:31:03 +00:00
  • 098846287f Merge remote-tracking branch 'public/pr/2918' into baremetal Simon Butcher 2019-12-05 14:27:29 +00:00
  • de657fca6b Revert "Disable use of HRNG in SCA-hardened mem-functions" Arto Kinnunen 2019-12-04 16:30:54 +02:00
  • 83d7881cec Make VS compiler happy Jarno Lamsa 2019-12-04 14:40:57 +02:00
  • 2347a34b75 Propagate public headers Zachary J. Fields 2019-12-03 16:19:53 -06:00
  • 24eed8d2d2 Initialise return values to an error Janos Follath 2019-11-22 13:21:35 +00:00
  • a13b905d8d Map the new Mbed TLS error value in PSA Janos Follath 2019-11-22 12:48:59 +00:00
  • 60f6b64b8f Add two error codes to the Error module Janos Follath 2019-12-03 15:55:56 +00:00
  • d11550e11d Fix number of allocated errors in Platform Janos Follath 2019-12-03 15:52:31 +00:00
  • 1a60fa1e3a Merge pull request #328 from gilles-peskine-arm/psa-ecdsa_deterministic_flag Gilles Peskine 2019-11-29 18:41:55 +01:00
  • c0546439c4 Merge pull request #2894 from gilles-peskine-arm/drbg-set_entropy_len-2.16 Jaeden Amero 2019-11-29 16:17:34 +00:00
  • db649896e6 Merge pull request #2895 from gilles-peskine-arm/drbg-set_entropy_len-2.7 Jaeden Amero 2019-11-29 16:17:08 +00:00
  • 0168f2f2c1 Better documentation in crypto_compat.h Gilles Peskine 2019-11-29 12:22:32 +01:00
  • 2ff02c361e Document MBEDTLS_TEST_DEPRECATED Gilles Peskine 2019-11-29 12:17:21 +01:00
  • 895242be1c Add negative test cases for deprecated aliases Gilles Peskine 2019-11-29 12:15:40 +01:00
  • 972630e240 Remove dependency of crypto_values.h on crypto_extra.h Gilles Peskine 2019-11-29 11:55:48 +01:00
  • 512fe9673f Fix test assert macro calls Janos Follath 2019-11-29 09:16:07 +00:00
  • 6608e71032 Change ASSERT_ALLOC to take a size in elements, not bytes Gilles Peskine 2018-11-30 18:51:45 +01:00
  • 28405300ee New macro ASSERT_ALLOC to allocate memory in tests Gilles Peskine 2018-09-27 13:52:16 +02:00
  • e06e039f7a Fix basic-build-test.sh to work in different env Teppo Järvelin 2019-11-25 15:22:42 +02:00
  • 766c9e9781 Improve description of ERR_PLATFORM_FAULT_DETECTED Manuel Pégourié-Gonnard 2019-11-29 09:39:14 +01:00
  • 373a7097eb Merge pull request #673 from gilles-peskine-arm/ctr_drbg-aes_fail-2.7 Jaeden Amero 2019-11-28 15:02:23 +00:00
  • 1dfc361a50 Merge pull request #672 from gilles-peskine-arm/ctr_drbg-aes_fail-2.16 Jaeden Amero 2019-11-28 15:02:17 +00:00
  • ba9fff2433 Merge pull request #283 from ARMmbed/dev/gilles-peskine-arm/ctr_drbg-aes_fail-crypto Jaeden Amero 2019-11-28 15:02:00 +00:00
  • 65be6b48de Add compile guard in platform.h Manuel Pégourié-Gonnard 2019-11-28 12:51:45 +01:00
  • ec37a89bf3 Save ROM by using int instead of char Arto Kinnunen 2019-11-28 13:40:32 +02:00
  • 231bf52691 Fix indentation level in one place Manuel Pégourié-Gonnard 2019-11-28 12:22:43 +01:00
  • e1cb8846e7 Add loop integrity check to curve param check Manuel Pégourié-Gonnard 2019-11-28 12:21:34 +01:00
  • 9ca11fc892 Fix issues found by the CI Manuel Pégourié-Gonnard 2019-11-28 12:07:01 +01:00
  • 6bdc6809da Initialise variables to failing values Manuel Pégourié-Gonnard 2019-11-28 10:29:41 +01:00
  • 7bb1a7e0bf Merge pull request #307 from msopiha-linaro/development Gilles Peskine 2019-11-28 10:20:18 +01:00
  • afaee1cacf Catch AES failure in mbedtls_ctr_drbg_random Gilles Peskine 2019-11-28 09:45:32 +01:00
  • 86dd9501ba Catch AES failure in mbedtls_ctr_drbg_random Gilles Peskine 2019-11-28 09:45:32 +01:00
  • b2be1fca2c Catch AES failure in mbedtls_ctr_drbg_random Gilles Peskine 2019-11-28 09:45:32 +01:00
  • 5c3066a4f6 Add double-checking in some critical places Manuel Pégourié-Gonnard 2019-11-27 12:27:48 +01:00
  • 98e1fe0796 Add flow control in uECC_vli_equal loop Manuel Pégourié-Gonnard 2019-11-27 11:57:49 +01:00
  • 269d414189 Merge pull request #2936 from gilles-peskine-arm/memory_buffer_alloc-fatal-pass-2.16 Jaeden Amero 2019-11-27 10:37:39 +00:00
  • df1b3e54c7 Merge pull request #2937 from gilles-peskine-arm/memory_buffer_alloc-fatal-pass-2.7 Jaeden Amero 2019-11-27 10:37:33 +00:00
  • 06c28890c9 Add test function for effective key attributes Gilles Peskine 2019-11-26 18:07:46 +01:00
  • 0627f98779 Add tests of deprecated PSA functions Gilles Peskine 2019-11-26 19:12:16 +01:00
  • 841b14be02 Add tests of deprecated PSA macros Gilles Peskine 2019-11-26 17:37:37 +01:00
  • 1a96049e30 Make the key_policy test function more flexible Gilles Peskine 2019-11-26 17:12:21 +01:00
  • 4151094a52 Add backward compatibility aliases for signature-related identifiers Gilles Peskine 2019-11-26 16:10:58 +01:00
  • b951fd9330 Merge pull request #310 from gilles-peskine-arm/memory_buffer_alloc-fatal-pass Gilles Peskine 2019-11-26 18:52:24 +01:00
  • 02fbc08d2e Enable more test cases without MBEDTLS_MEMORY_DEBUG Gilles Peskine 2019-10-31 15:07:45 +01:00
  • 786f068ec0 More accurate test case description Gilles Peskine 2019-10-31 15:07:35 +01:00
  • 04d45c98e8 Clarify that the "FATAL" message is expected Gilles Peskine 2019-10-31 15:07:08 +01:00
  • 554d5d598f Enable more test cases without MBEDTLS_MEMORY_DEBUG Gilles Peskine 2019-10-31 15:07:45 +01:00
  • 4a55e7c736 More accurate test case description Gilles Peskine 2019-10-31 15:07:35 +01:00
  • 19baefa04f Clarify that the "FATAL" message is expected Gilles Peskine 2019-10-31 15:07:08 +01:00
  • 8f4df81506 Merge pull request #293 from gilles-peskine-arm/entropy-min Gilles Peskine 2019-11-26 18:43:45 +01:00
  • 0f212ff145 Merge pull request #320 from gilles-peskine-arm/readme-add-psa-link Gilles Peskine 2019-11-26 18:40:04 +01:00
  • 89d8c5c447 Rename some signature-related identifiers Gilles Peskine 2019-11-26 17:01:59 +01:00
  • 7b0ab6d34a Simplify support for deprecated constants of various types Gilles Peskine 2019-11-26 16:32:12 +01:00
  • 7a894f2142 Move backward compatibility aliases to their own header Gilles Peskine 2019-11-26 16:06:46 +01:00
  • 4eca19bbd6 Merge pull request #324 from gilles-peskine-arm/psa-test_psa_constant_names-refactor_and_ka Gilles Peskine 2019-11-26 16:01:31 +01:00
  • 987e271b16 If python3 fails, make it clear that this isn't fatal Gilles Peskine 2019-11-26 13:30:16 +01:00
  • df78e496b7 Error out rather than call python on the perl script Gilles Peskine 2019-11-26 13:30:00 +01:00
  • 9d6a535ba1 Return and propagate UECC_FAULT_DETECTED Manuel Pégourié-Gonnard 2019-11-25 13:06:05 +01:00
  • 4d6186beb0 Rename ATTACK_DETECTED to FAULT_DETECTED Manuel Pégourié-Gonnard 2019-11-25 10:53:24 +01:00
  • 2b90961b8d Add integrity check for curve parameters Manuel Pégourié-Gonnard 2019-11-21 13:37:00 +01:00
  • 1a5337179f Remove curve parameter from public functions Manuel Pégourié-Gonnard 2019-11-21 12:00:43 +01:00
  • be5f833c9c Remove curve parameter from (semi-)internal functions Manuel Pégourié-Gonnard 2019-11-21 11:02:38 +01:00
  • bc3f49011a Remove struct curve entirely Manuel Pégourié-Gonnard 2019-11-21 11:34:43 +01:00
  • 677b7f6c42 Fix direct use of struct instead of abstract type Manuel Pégourié-Gonnard 2019-11-21 11:28:24 +01:00
  • ffd13996fd Move b from curve structure to its own constant Manuel Pégourié-Gonnard 2019-11-21 10:39:06 +01:00
  • a6115087a0 Move G from struct curve to its own constant Manuel Pégourié-Gonnard 2019-11-21 10:29:14 +01:00
  • 356d8594d7 Move n from struct curve to its own constant Manuel Pégourié-Gonnard 2019-11-21 10:23:05 +01:00
  • 4d8777cbb6 Move p from curve structure to its own constant Manuel Pégourié-Gonnard 2019-11-21 10:02:58 +01:00
  • cbd91e013c Fix entropy_threshold when MBEDTLS_TEST_NULL_ENTROPY is enabled Gilles Peskine 2019-11-25 19:50:54 +01:00
  • ae679390a2 Fix entropy_calls when MBEDTLS_ENTROPY_NV_SEED is enabled Gilles Peskine 2019-11-25 18:26:23 +01:00
  • 8fa1348276 Enumerate metadata test functions explicitly Gilles Peskine 2019-11-25 17:10:12 +01:00