Commit Graph

  • 00931492da Fix spacing in MPS test suite Hanno Becker 2021-03-08 15:39:17 +00:00
  • 7594c68049 Document status of MPS upstreaming Hanno Becker 2021-03-05 05:17:11 +00:00
  • 43c8f8cf79 Put MPS under the umbrella of the TLS 1.3 experimental configuration Hanno Becker 2021-03-05 05:16:45 +00:00
  • 61d7eedcb5 Fix Doxygen headers for MPS files Hanno Becker 2021-03-05 05:09:37 +00:00
  • 2332f8f435 Rename static variable for MPS trace depth Hanno Becker 2021-02-22 16:58:16 +00:00
  • 15da2fcf81 Remove unnecessary parameter in MPS reader unit test Hanno Becker 2021-02-22 16:57:14 +00:00
  • 5047b56758 Improve wording in MPS unit tests Hanno Becker 2021-02-22 16:52:02 +00:00
  • b17212a8bf Use size_t instead of int for index in buffer loops in MPS unit test Hanno Becker 2021-02-22 16:50:01 +00:00
  • 8a04b10ed8 Fix include path for MPS reader header in MPS test suite Hanno Becker 2021-02-22 16:49:24 +00:00
  • 77e4f485e1 Move illustration of (un)supported cases in MPS reader documentation Hanno Becker 2021-02-22 16:46:06 +00:00
  • 97c8e930e2 Fix diagram in documentation of MPS reader Hanno Becker 2021-02-22 16:39:36 +00:00
  • 1682a8b6fe Don't use abbreviated names for local variables in MPS reader Hanno Becker 2021-02-22 16:38:56 +00:00
  • b9c086adc5 Use int pointer for paused param in mbedtls_mps_reader_reclaim() Hanno Becker 2021-02-22 16:04:06 +00:00
  • fea81b3997 Improve and fix wording in MPS reader documentation Hanno Becker 2021-02-22 15:18:11 +00:00
  • f1cfa319c4 Fix typos in documentation of MBEDTLS_ERR_MPS_READER_NEED_MORE Hanno Becker 2021-02-22 15:15:44 +00:00
  • d913e2e982 Remove duplicate definition of MBEDTLS_MPS_ERR_BASE Hanno Becker 2021-02-22 15:15:13 +00:00
  • 4a079c5be7 Fix documentation for mbedtls_mps_[stored_]size_t Hanno Becker 2021-02-22 15:13:28 +00:00
  • 46101c76f9 Improve wording of documentation of mbedtls_mps_size_t Hanno Becker 2021-02-22 15:11:15 +00:00
  • 6e3484e123 Clarify documentation of MBEDTLS_MPS_STATE_VALIDATION Hanno Becker 2021-02-22 15:09:03 +00:00
  • 53314aade1 Adjust spacing for MPS reader entries in library/Makefile Hanno Becker 2021-02-22 15:03:37 +00:00
  • 3d0db81690 Fix typo in MPS reader documentation Hanno Becker 2021-02-08 08:22:52 +00:00
  • 8fc107c9fb Clarify wording in MPS reader documentation Hanno Becker 2021-02-08 08:19:16 +00:00
  • a408c1719c Clarify wording in MPS reader documentation Hanno Becker 2021-02-08 08:17:39 +00:00
  • 49cc1317b0 Fix typo in MPS reader documentation Hanno Becker 2021-02-08 08:17:32 +00:00
  • b1855434eb Rename mbedtls_mps_reader::acc_avail -> acc_available Hanno Becker 2021-02-08 08:07:35 +00:00
  • f81e41f1e4 Improve readability of MPS reader implementation Hanno Becker 2021-02-08 08:04:01 +00:00
  • 0bea62f2d7 Fix typo in reader documentation Hanno Becker 2021-02-08 07:54:19 +00:00
  • 4f84e20eb0 Don't invalidate MPS reader buffers upon commit call Hanno Becker 2021-02-08 06:54:30 +00:00
  • 014f683ca9 Test MPS reader when reclaim fails because the acc is too small Hanno Becker 2021-02-08 06:52:21 +00:00
  • bc64f945e4 Update VS2010 project file Hanno Becker 2021-01-28 10:43:32 +00:00
  • 8899396fd1 Move MPS reader to mbedtls_mps_ namespace Hanno Becker 2021-01-28 09:45:47 +00:00
  • 984fbded58 Move MPS trace macros to MBEDTLS_MPS_ namespace Hanno Becker 2021-01-28 09:02:18 +00:00
  • c518c3b7bb Rename MPS files library/mps/xxx.[ch] to library/mps_xxx.[ch] Hanno Becker 2021-01-28 07:08:08 +00:00
  • b910016049 Add MPS trace module implementation Hanno Becker 2021-01-12 09:46:03 +00:00
  • 2b8bad3e80 MPS Reader Tests: Test feed() of NULL buffer Hanno Becker 2021-01-12 09:40:05 +00:00
  • 223b72e40e MPS Reader Tests: Exercise inconsistent reads after pausing Hanno Becker 2021-01-12 09:31:31 +00:00
  • 714cbeb4f5 MPS Reader Tests: Add random test Hanno Becker 2021-01-12 09:23:15 +00:00
  • b6fdd35a38 MPS Reader Tests: Use accumulator multiple times Hanno Becker 2021-01-12 09:17:56 +00:00
  • e1f173c36f MPS Reader Tests: Continue fetching after reclaim() was rejected Hanno Becker 2021-01-12 08:43:58 +00:00
  • cb2a88ed38 MPS Reader Tests: Attempt reclaim while more data is available Hanno Becker 2021-01-12 08:39:37 +00:00
  • aac41225d3 MPS Reader Tests: Test multiple feed() calls to fulfill read request Hanno Becker 2021-01-12 08:36:36 +00:00
  • e82952acb3 MPS Reader Tests: Test use of accumulator Hanno Becker 2021-01-12 08:27:29 +00:00
  • caf1a3f663 MPS Reader Tests: Accumulator too small Hanno Becker 2021-01-12 08:18:12 +00:00
  • 7d86b74cef MPS Reader Tests: Request more data than what's available Hanno Becker 2021-01-12 08:14:38 +00:00
  • 7973b2dcac MPS Reader Tests: Test two rounds of fetching in multiple steps Hanno Becker 2021-01-12 08:11:40 +00:00
  • dbd8a96487 MPS Reader Tests: Add test for feed-{get,get,...}-commit-reclaim Hanno Becker 2021-01-12 08:01:16 +00:00
  • 0e4edfc083 MPS Reader Tests: Add test for >1 feed-get-commit-reclaim cycles Hanno Becker 2021-01-12 07:52:29 +00:00
  • 09d880aa38 MPS Reader Tests: Test basic feed-get-commit-reclaim cycle Hanno Becker 2021-01-12 07:43:30 +00:00
  • ac267f3485 Add MPS configuration option for state validation Hanno Becker 2021-01-12 07:25:41 +00:00
  • 447e8a5ecd Add internal header for MPS errors Hanno Becker 2021-01-12 07:27:12 +00:00
  • 75ac1f7b95 Add implementation for MPS assertion macros Hanno Becker 2021-01-12 07:25:26 +00:00
  • 0ea0db4368 Add MPS reader translation unit to Makefile and CMakeLists Hanno Becker 2021-01-12 07:15:11 +00:00
  • d2f9f53f7f Add typedef's for MPS buffer size types Hanno Becker 2021-01-12 07:11:11 +00:00
  • 13cd7846a0 Add MPS reader implementation Hanno Becker 2021-01-12 07:08:33 +00:00
  • 1c0cd10ea8 Add header and documentation for MPS reader Hanno Becker 2021-01-12 07:01:23 +00:00
  • c809ff6ef6 Add stub implementation for MPS tracing API Hanno Becker 2021-01-12 06:54:04 +00:00
  • 1ae9f756ba Add MPS compile-time option for enabling/disabling tracing Hanno Becker 2021-01-12 06:43:17 +00:00
  • 6ed183cf00 Add MPS compile time option for enabling/disabling assertions Hanno Becker 2021-01-12 06:42:16 +00:00
  • 108fc84b04 Add MPS configuration header Hanno Becker 2021-01-12 06:39:43 +00:00
  • e5fde54337 Remove incorrect definitions of the dom2() and dom4() prefixes Gilles Peskine 2021-03-16 18:40:36 +01:00
  • 77e47c05f3 Add key material for twisted Edwards curves Gilles Peskine 2021-03-16 18:32:24 +01:00
  • cfcc3784c1 Merge pull request #4256 from ronald-cron-arm/psa-cipher-iv-size Ronald Cron 2021-03-29 15:02:48 +02:00
  • 58946f4a6a Merge pull request #4229 from ronald-cron-arm/psa-cipher Ronald Cron 2021-03-29 15:02:14 +02:00
  • a00abc6b65 Consistently describe Ed25519 as a 255-bit curve Gilles Peskine 2021-03-16 18:25:14 +01:00
  • 7e54a29bea Express DES key sizes in bits Gilles Peskine 2021-03-16 18:21:34 +01:00
  • 6a427bf306 Document the general definition of bit sizes for asymmetric keys Gilles Peskine 2021-03-16 18:19:18 +01:00
  • 27354690cb Use a bit-size in the algorithm name Gilles Peskine 2021-03-03 17:45:06 +01:00
  • da7305e472 Avoid collision with SM3 in API specification 1.0.1 Gilles Peskine 2021-03-03 17:01:23 +01:00
  • b13ead816c Make the hash-and-sign nature of Ed25519ph and Ed448ph explicit Gilles Peskine 2021-03-01 10:28:29 +01:00
  • e36f8aa1b0 Fix copypasta Gilles Peskine 2021-03-01 10:20:20 +01:00
  • 7962284f78 Mention psa_hash_compute in the documentation of psa_{sign,verify}_hash Gilles Peskine 2021-02-24 21:56:22 +01:00
  • 3a1101a122 Define algorithms for EdDSA Gilles Peskine 2021-02-24 21:52:21 +01:00
  • 67546802fe New elliptic curve family: twisted Edwards Gilles Peskine 2021-02-24 21:49:40 +01:00
  • 4a7074022a Add a compile-time dependency to psa_constant_names_generated.c Gilles Peskine 2021-02-24 21:45:38 +01:00
  • 6d40085177 Don't duplicate the definition of PSA_ALG_IS_HASH_AND_SIGN Gilles Peskine 2021-02-24 21:39:52 +01:00
  • 4dfb83c0d7 Merge pull request #4164 from chris-jones-arm/move-internal-headers Manuel Pégourié-Gonnard 2021-03-29 11:18:54 +02:00
  • 569789393c Merge pull request #4119 from mstarzyk-mobica/remove_certs_2 Manuel Pégourié-Gonnard 2021-03-29 11:16:07 +02:00
  • 2aff17b8c5 Merge pull request #4098 from gstrauss/remove-redundant-condition Gilles Peskine 2021-03-27 22:47:13 +01:00
  • 5618a39fcf psa: cipher: Remove cipher_generate_iv driver entry point Ronald Cron 2021-03-26 09:52:26 +01:00
  • a0d6817838 psa: cipher: Add bound check of the IV length in the core Ronald Cron 2021-03-26 10:15:08 +01:00
  • c17e8a9bf2 psa: cipher: Use PSA_CIPHER_IV_LENGTH to compute the IV length Ronald Cron 2021-03-19 14:12:26 +01:00
  • 6ad554cb83 psa: cipher: Prefer length rather than size for IV/block length Ronald Cron 2021-03-26 09:29:09 +01:00
  • f2381aaa43 psa: cipher: Use psa_generate_random to generate IVs Ronald Cron 2021-03-23 11:31:19 +01:00
  • e6f6301390 psa: Add cipher accelerator flags to test_psa_crypto_drivers Ronald Cron 2021-03-19 14:57:08 +01:00
  • 7b4154df0f psa: wrapper: Fix potential unreachable statement warning Ronald Cron 2021-03-19 14:49:41 +01:00
  • 02d68b2b8e psa: cipher: Fix comment type Ronald Cron 2021-03-17 15:19:43 +01:00
  • 75e6ae25ef Move mbedtls_cipher_info_from_psa to psa_crypto_cipher.c Ronald Cron 2021-03-17 14:46:05 +01:00
  • 9198e8c259 psa: driver contexts: Fix include order and wrapping Ronald Cron 2021-03-17 14:29:56 +01:00
  • 1f0db80c78 psa: cipher: Fix symmetric key management Ronald Cron 2021-03-12 09:59:30 +01:00
  • 067de3b5ea tests: psa: Test cipher operations by a transparent driver Ronald Cron 2021-03-11 11:49:03 +01:00
  • 5d9b00dddb psa: cipher: Include Mbed TLS cipher driver only if necessary Ronald Cron 2021-03-10 14:43:20 +01:00
  • 3522e32132 psa: cipher: Add transparent driver test specific entry points Ronald Cron 2021-03-12 11:08:49 +01:00
  • 8287e6b078 psa: cipher: Add utility functions Ronald Cron 2021-03-12 10:35:18 +01:00
  • 7cb9c3d360 psa: cipher: Move to driver operation context application allocation Ronald Cron 2021-03-10 12:21:48 +01:00
  • 6e412a71ee psa: cipher: Pass Mbed TLS implementation its operation ctx Ronald Cron 2021-03-10 09:58:47 +01:00
  • 937dfee92c psa: cipher: Re-organize multi-part operation context Ronald Cron 2021-03-10 09:17:32 +01:00
  • 49fafa98b1 psa: cipher: Dispatch based on driver identifier Ronald Cron 2021-03-10 08:34:23 +01:00
  • 06aa442bef psa: cipher: Remove unused key_set operation field Ronald Cron 2021-03-09 17:32:57 +01:00
  • 8d310ad2e6 psa: Rework unauthenticated cipher support in transparent test driver Ronald Cron 2020-12-15 15:17:20 +01:00
  • dd24c9bbd9 psa: Call cipher operations software implementations as a driver Ronald Cron 2020-12-15 14:10:01 +01:00