Commit Graph

  • 01d78fcefe Merge remote-tracking branch 'public/pr/2971' into baremetal Simon Butcher 2020-01-08 18:10:44 +00:00
  • 2d9c0eb215 Merge remote-tracking branch 'public/pr/2948' into baremetal Simon Butcher 2020-01-08 18:08:28 +00:00
  • 4b3b8c208e Merge remote-tracking branch 'public/pr/2886' into baremetal Simon Butcher 2020-01-08 17:53:43 +00:00
  • 5dc7faf56e Merge remote-tracking branch 'public/pr/2956' into baremetal Simon Butcher 2020-01-08 17:53:16 +00:00
  • bb86c52430 Protect get/put on secret data on sha256-module Jarno Lamsa 2020-01-07 13:33:45 +02:00
  • cafb6c91b0 Clear internal decrypted buffer after read Teppo Järvelin 2020-01-08 09:19:07 +02:00
  • 0a8f87f5eb Remove entropy source overwrite in baremetal_test Arto Kinnunen 2020-01-07 13:15:40 +02:00
  • 1e6fb01448 Make SHA512_NO_SHA384 depend on SHA512_C Manuel Pégourié-Gonnard 2020-01-07 11:00:34 +01:00
  • 86a39bdbc5 Improve readability of test dependencies Manuel Pégourié-Gonnard 2020-01-07 10:24:17 +01:00
  • 2d88549c6b Improve readability of macro in selftest Manuel Pégourié-Gonnard 2020-01-07 10:17:35 +01:00
  • 0b9db441c8 Make optional parameter validation more precise Manuel Pégourié-Gonnard 2020-01-07 10:14:54 +01:00
  • 792b16d83b Make more code paths conditional in psa_crypto.c Manuel Pégourié-Gonnard 2020-01-07 10:13:18 +01:00
  • 663ee2019a Clarify documentation on is384. Manuel Pégourié-Gonnard 2020-01-07 10:11:22 +01:00
  • 7195571681 Replace mbedtls_platform_enforce_volatile_reads 2 Arto Kinnunen 2020-01-03 14:26:20 +02:00
  • e91f0dc905 Replace mbedtls_platform_enforce_volatile_reads Arto Kinnunen 2019-12-30 17:32:58 +02:00
  • dbf2b43ceb Add more variation to random delay countermeasure Arto Kinnunen 2019-12-30 12:55:30 +02:00
  • 0490485be5 Add random delay to enforce_volatile_reads Arto Kinnunen 2019-12-09 14:39:51 +02:00
  • 9a506e7424 Update comments of mbedtls_platform_random_delay Arto Kinnunen 2019-12-09 10:54:03 +02:00
  • b47b105838 Follow Mbed TLS coding style Arto Kinnunen 2019-12-05 17:32:05 +02:00
  • 4c63b98e94 Add random delay function to platform_utils Arto Kinnunen 2019-12-02 15:01:41 +02:00
  • 20f236de37 Adjust depends-hashes.pl to test NO_SHA384 as well Manuel Pégourié-Gonnard 2019-09-11 10:01:10 +02:00
  • d602084cde Implement NO_SHA384 in MD layer and PSA Manuel Pégourié-Gonnard 2019-07-17 16:28:21 +02:00
  • 6ba5a3fc57 Declare test dependencies on !SHA512_NO_SHA384 Manuel Pégourié-Gonnard 2019-07-17 16:08:27 +02:00
  • 39ea19a35c Adapt sha512 selftest to NO_SHA384 option Manuel Pégourié-Gonnard 2019-07-17 15:36:23 +02:00
  • 3df4e60561 Implement SHA512_NO_SHA384 in sha512 module Manuel Pégourié-Gonnard 2019-07-17 15:16:14 +02:00
  • ad6cb11461 Declare new config.h option MBEDTLS_SHA512_NO_SHA384 Manuel Pégourié-Gonnard 2019-07-17 14:58:03 +02:00
  • 455755177e Add test for record compression in ssl-opt.sh Manuel Pégourié-Gonnard 2020-01-02 11:58:00 +01:00
  • 51e24946d5 Add all.sh components with ZLIB enabled Manuel Pégourié-Gonnard 2020-01-02 11:45:12 +01:00
  • c2fa3eaa81 Removed dead code after optimization in tinycrypt Teppo Järvelin 2020-01-02 12:06:58 +02:00
  • 8f7e36fc98 Coverity fixes, check hmac return values Teppo Järvelin 2020-01-02 10:40:19 +02:00
  • 0b1d7d946d Coverity fix: dead error condition removed from ecc.c Teppo Järvelin 2019-12-13 07:39:39 +02:00
  • 7d2434fac2 Merge remote-tracking branch 'public/pr/2973' into baremetal Simon Butcher 2020-01-03 15:52:36 +00:00
  • 029fe86c53 Fix some pylint warnings Darryl Green 2019-12-17 10:17:20 +00:00
  • 95a17fbe17 Add test for record compression in ssl-opt.sh Manuel Pégourié-Gonnard 2020-01-02 11:58:00 +01:00
  • 4ef189df49 Add all.sh components with ZLIB enabled Manuel Pégourié-Gonnard 2020-01-02 11:45:12 +01:00
  • 1b370a63ec Merge remote-tracking branch 'public/pr/2960' into baremetal Simon Butcher 2019-12-27 18:18:22 +00:00
  • 58813498f7 Merge remote-tracking branch 'public/pr/2957' into baremetal Simon Butcher 2019-12-27 18:18:04 +00:00
  • 252faff19f Merge pull request #2966 from dgreen-arm/fix-pylint-warnings Jaeden Amero 2019-12-20 16:07:07 +00:00
  • f02988e577 Merge pull request #2967 from dgreen-arm/backport-2.16-fix-pylint-warnings Jaeden Amero 2019-12-20 16:07:01 +00:00
  • 448d1cc854 Merge pull request #334 from dgreen-arm/fix-pylint-warnings Jaeden Amero 2019-12-20 16:06:53 +00:00
  • fb5faa2582 Fix some pylint warnings Darryl Green 2019-12-17 10:17:20 +00:00
  • 1822061093 Fix some pylint warnings Darryl Green 2019-12-17 15:03:59 +00:00
  • 349a079f2d Fix some pylint warnings Darryl Green 2019-12-17 10:17:20 +00:00
  • 5aa4c07b85 Minor review fixes Jarno Lamsa 2019-12-20 12:42:49 +02:00
  • 015aa44b93 Make authmode volatile Jarno Lamsa 2019-12-20 12:09:37 +02:00
  • 180850a229 Merge pull request #291 from gilles-peskine-arm/ctr_drbg-test_aes_128 Gilles Peskine 2019-12-20 10:43:44 +01:00
  • af60cd7698 Protect the peer_authenticated flag more Jarno Lamsa 2019-12-19 16:45:23 +02:00
  • 616fbe177c Increase hamming distance for authmode Jarno Lamsa 2019-12-19 16:00:31 +02:00
  • 8d09e5744c Increase hamming distance for session resume flag Jarno Lamsa 2019-12-19 15:20:19 +02:00
  • 489dccd158 Adress review comments Jarno Lamsa 2019-12-19 15:11:16 +02:00
  • 88db2ae9a0 Use Platform fault when double check fails Jarno Lamsa 2019-12-19 14:51:34 +02:00
  • f5b6af01d3 Fix double check in entropy_gather_internal Jarno Lamsa 2019-12-19 14:46:40 +02:00
  • afff4d0679 Remove unused flag Jarno Lamsa 2019-12-19 14:41:56 +02:00
  • 06164057b3 Check that we have all the proper keys Jarno Lamsa 2019-12-19 14:40:36 +02:00
  • e1621d4700 Check that the peer_authenticated flag Jarno Lamsa 2019-12-19 08:58:56 +02:00
  • ccdeb47cdf Merge pull request #2958 from yanesca/iotcrypt-942-initialise-return-values mbedtls-2.20.0d1 Jaeden Amero 2019-12-19 11:33:03 +00:00
  • 73c616bdc1 Put includes in alphabetical order Janos Follath 2019-12-18 15:07:04 +00:00
  • df587ee6d6 Remove duplicate include statement Janos Follath 2019-12-18 13:16:46 +00:00
  • d8752858fc Update crypto submodule Janos Follath 2019-12-12 14:53:35 +00:00
  • 795c6bab62 Merge pull request #323 from yanesca/iotcrypt-942-initialise-return-values Jaeden Amero 2019-12-19 10:24:22 +00:00
  • ba4730fe4c Protect setting of peer_authenticated flag Jarno Lamsa 2019-12-19 08:42:03 +02:00
  • 4031a45019 Protect key_derivation_done flag Jarno Lamsa 2019-12-19 08:11:12 +02:00
  • 67f0a1e833 Protect setting of premaster_generated flag Jarno Lamsa 2019-12-18 16:28:51 +02:00
  • 98801af26b Protect setting of hello_random flag Jarno Lamsa 2019-12-17 15:57:41 +02:00
  • b57d7fd568 Add flags for protecting TLS state machine Jarno Lamsa 2019-12-17 15:46:48 +02:00
  • 6122b59042 Address review comments Jarno Lamsa 2019-12-17 10:06:46 +02:00
  • 46afd5d8fa Fix CI issues Jarno Lamsa 2019-12-17 08:50:53 +02:00
  • 91dbb79ae4 Fix error return code Jarno Lamsa 2019-12-16 12:20:27 +02:00
  • b83a2136d6 Protect the return value from mbedtls_pk_verify Jarno Lamsa 2019-12-13 14:40:06 +02:00
  • 47aab8da8a Protect return value from mbedtls_pk_verify Jarno Lamsa 2019-12-13 14:26:55 +02:00
  • 83a56a630a Double check mbedtls_pk_verify Jarno Lamsa 2019-12-11 15:00:27 +02:00
  • 9e8e820993 Increase hamming distance for some error codes Jarno Lamsa 2019-12-11 13:51:11 +02:00
  • acb5eb00ca Add a double check to protect from glitch Jarno Lamsa 2019-11-14 14:13:10 +02:00
  • d05da1fa45 Add double check for checking if source is strong Jarno Lamsa 2019-11-14 10:12:36 +02:00
  • 552e8f2d6a Add double check to entropy-loop Jarno Lamsa 2019-11-14 10:05:36 +02:00
  • 4708d66af5 Change the mbedtls_ssl_states values Jarno Lamsa 2019-11-13 13:12:50 +02:00
  • b01800974f Use invalid state Jarno Lamsa 2019-11-12 15:46:46 +02:00
  • 70abd7aadc Add enumeration for invalid state Jarno Lamsa 2019-11-12 15:39:38 +02:00
  • 2b20516b60 Make TLS state changes explicit Jarno Lamsa 2019-11-12 15:36:21 +02:00
  • 40f923ecf7 Merge pull request #2961 from RonEld/update_readme_to_vs_2012 Jaeden Amero 2019-12-18 13:43:05 +00:00
  • 05b44892c0 Change the version of VS Ron Eldor 2019-12-18 14:28:18 +02:00
  • c5074be0ce Update the VS version in the Readme file Ron Eldor 2019-12-18 13:49:21 +02:00
  • a4b421819b Fix way to access the RNG for ECDSA counter-measures Manuel Pégourié-Gonnard 2019-12-18 10:29:58 +01:00
  • 865b3ebf84 Initialize return values to an error Janos Follath 2019-12-16 11:46:15 +00:00
  • 2d20567122 Add two error codes to the Error module Janos Follath 2019-12-03 15:55:56 +00:00
  • 171f422109 Merge remote-tracking branch 'public/pr/2952' into baremetal Simon Butcher 2019-12-13 14:51:40 +00:00
  • e76c638d6f Merge remote-tracking branch 'public/pr/2925' into baremetal Simon Butcher 2019-12-13 14:51:29 +00:00
  • 16027956cd Merge pull request #333 from gilles-peskine-arm/psa-streamline_encodings-prepare_for_types Jaeden Amero 2019-12-13 09:39:03 +00:00
  • ab534cfd62 Fix number of allocated errors in Platform Janos Follath 2019-12-03 15:52:31 +00:00
  • 9c2ccd2e7a Fix error code range in documentation Janos Follath 2019-12-09 15:00:41 +00:00
  • 88d1c05644 Merge pull request #2953 from gilles-peskine-arm/update-crypto-20191206 Jaeden Amero 2019-12-12 12:17:11 +00:00
  • 4cd3277656 Factor common code of psa_import_ec_{public,private}_key Gilles Peskine 2019-12-02 20:49:42 +01:00
  • 46c33801f3 Remove unused macros Gilles Peskine 2019-12-03 21:20:16 +01:00
  • 7a1925c453 Add a few EC public key import/export test cases Gilles Peskine 2019-12-02 18:01:24 +01:00
  • f8210f2bd5 Test the block size for symmetric keys Gilles Peskine 2019-12-02 17:26:44 +01:00
  • 92f2da9d67 More precise descriptions for format and parse tests Gilles Peskine 2019-12-06 21:23:12 +01:00
  • fb745bf618 Fix memory failure handling in test_format_storage_data_check Gilles Peskine 2019-12-02 20:50:16 +01:00
  • 667c111416 Sanity checks for key attributes in exercise_key Gilles Peskine 2019-12-03 19:03:20 +01:00
  • 325584889d Add option to show what values are tested Gilles Peskine 2019-12-03 19:03:35 +01:00
  • 49af2d3a4f Support non-ASCII characters in headers Gilles Peskine 2019-12-06 19:20:13 +01:00