Commit Graph

  • d46b0869f4 Create infrastructure for architecture documents in Markdown Gilles Peskine 2019-09-16 16:06:06 +02:00
  • 67ffdafde6 all.sh --outcome-file creates an outcome file Gilles Peskine 2019-09-16 15:55:46 +02:00
  • 178c9aa966 Key derivation: forbid output_key without input_key Gilles Peskine 2019-09-24 18:21:06 +02:00
  • 1a2904c49a derive_input test function: Try output afterwards Gilles Peskine 2019-09-24 17:45:07 +02:00
  • 2058c07724 derive_input test function: More logical parameter order Gilles Peskine 2019-09-24 17:19:33 +02:00
  • 7ebd4dcf57 Key derivation: allow both keys and direct inputs (function doc) Gilles Peskine 2019-09-24 17:15:58 +02:00
  • b8965193a0 Use the constant PSA_KEY_TYPE_NONE rather than 0 Gilles Peskine 2019-09-24 16:21:10 +02:00
  • 46d7faf195 Don't jump past a variable declaration Gilles Peskine 2019-09-23 19:22:55 +02:00
  • 593773d9f2 Consistently abort key derivation operations on input error Gilles Peskine 2019-09-23 18:17:40 +02:00
  • 224b0d656a Key derivation: allow both keys and direct inputs Gilles Peskine 2019-09-23 18:13:17 +02:00
  • 6842ba4d7a PSA crypto KDF: test bytes/key input independently of the step type Gilles Peskine 2019-09-23 13:49:33 +02:00
  • 6ddb4d8434 Improve descriptions of derive test cases Gilles Peskine 2019-09-24 18:37:19 +02:00
  • 31b0a3c351 Add a test component with malloc(0) returning NULL Gilles Peskine 2019-09-17 19:04:38 +02:00
  • bf77960368 Merge remote-tracking branch 'public/pr/2849' into baremetal Simon Butcher 2019-09-24 15:29:55 +01:00
  • 8d0684dd06 Merge remote-tracking branch 'public/pr/2835' into baremetal Simon Butcher 2019-09-24 15:28:35 +01:00
  • 810ee06689 Merge remote-tracking branch 'public/pr/2830' into baremetal Simon Butcher 2019-09-24 15:17:54 +01:00
  • 0a048b2833 Merge pull request #270 from gilles-peskine-arm/test_outcome_file-crypto-fix Gilles Peskine 2019-09-24 15:54:54 +02:00
  • 888de8fdd9 Merge pull request #280 from athoelke/at-fix264 Gilles Peskine 2019-09-24 15:47:49 +02:00
  • 80b3f4b20a CTR_DRBG: Document the maximum size of some parameters Gilles Peskine 2019-09-24 14:48:30 +02:00
  • 6b2c50c01f CTR_DRBG documentation clarifications Gilles Peskine 2019-09-24 14:40:40 +02:00
  • c6f03ef6d4 Include IANA reference in the definition of ECC curves and DH groups Andrew Thoelke 2019-09-24 13:19:49 +01:00
  • dd49cf984b Include vendor-defined algorithm macros Andrew Thoelke 2019-09-24 13:11:49 +01:00
  • af7724e985 Fix endianity issue when reading uint32 Ron Eldor 2019-09-09 14:52:50 +03:00
  • 635888b287 Reduce stack usage of test_suite_pkcs1_v15 Ron Eldor 2018-11-25 15:54:52 +02:00
  • 6fd1aa050e Increase test suite timeout Ron Eldor 2018-11-22 15:56:06 +02:00
  • 5b8f120fca Reduce stack usage of test_suite_pkcs1_v21 Ron Eldor 2018-11-22 15:49:49 +02:00
  • fdc15bd581 Reduce stack usage of test_suite_rsa Ron Eldor 2018-11-22 15:47:51 +02:00
  • 58e3f69dd3 Reduce stack usage of test_suite_pk Ron Eldor 2018-11-21 13:44:31 +02:00
  • 71657493f1 Improve speed of PBKDF2 by caching the digest state of the passphrase Jack Lloyd 2019-09-23 19:15:54 -04:00
  • d1798b4f91 Merge remote-tracking branch 'origin/pr/2821' into development Jaeden Amero 2019-09-23 17:29:07 +01:00
  • c21a9f04f9 Merge remote-tracking branch 'origin/pr/2765' into development Jaeden Amero 2019-09-23 17:27:44 +01:00
  • 311f54d0ee tls_prf: support an empty master secret Gilles Peskine 2019-09-23 18:19:22 +02:00
  • 583afe47cc Add a calloc self-test Gilles Peskine 2019-09-17 18:18:58 +02:00
  • 38b7c5edeb Merge pull request #260 from athoelke/at-operations Gilles Peskine 2019-09-20 18:44:44 +02:00
  • 21e7145f46 Insert doxygen comments on old algorithms so they appear in PSA documentation Adrian L. Shaw 2019-09-20 16:01:11 +01:00
  • 7e88e13d94 Test data: replace "::" by ":" Gilles Peskine 2019-09-20 16:01:59 +02:00
  • efa2ac879d Uniquify test case descriptions Gilles Peskine 2019-09-19 21:20:26 +02:00
  • 44393c81aa psa_crypto: Add an ECDH+HKDF test with longer output Gilles Peskine 2019-09-19 21:17:33 +02:00
  • d9be186a39 psa_crypto: Fix OAEP test Gilles Peskine 2019-09-19 21:16:54 +02:00
  • d17cf9d0c4 psa_crypto: Remove duplicate test case Gilles Peskine 2019-09-19 21:16:30 +02:00
  • 52c7d998af psa_crypto_se_driver_hal: Fix copypasta in test cases Gilles Peskine 2019-09-19 20:59:15 +02:00
  • f3eddd68bb pkcs1_v21: Fix copypasta in test case Gilles Peskine 2019-09-19 20:57:23 +02:00
  • c5dce20b4e cipher.nist_kw: Fix duplicate test case Gilles Peskine 2019-09-19 20:49:16 +02:00
  • bfcb69cd5c blowfish: Fix encrypt test case that should have been decrypt Gilles Peskine 2019-09-19 20:48:21 +02:00
  • e07960cf40 aria: Remove duplicate test cases Gilles Peskine 2019-09-19 20:46:49 +02:00
  • d2c24869ae baremetal.sh: include total in ROM report Manuel Pégourié-Gonnard 2019-09-20 10:29:29 +02:00
  • 15be0eeae4 baremetal.sh: extract ROM reporting to a function Manuel Pégourié-Gonnard 2019-09-20 10:25:29 +02:00
  • 8b5e6bd6ae Improve some internal documentation Manuel Pégourié-Gonnard 2019-09-20 08:57:18 +02:00
  • c893235ea1 Merge pull request #115 from gilles-peskine-arm/psa-error-compatibility_aliases Gilles Peskine 2019-09-19 16:20:08 +02:00
  • 95758f8d61 *.data: remove semicolons from test case descriptions Gilles Peskine 2019-09-16 19:38:52 +02:00
  • 429fff487a Remove whitespace Adrian L. Shaw 2019-09-19 14:03:49 +01:00
  • d89338ac47 Add API versioning Adrian L. Shaw 2019-09-19 13:32:57 +01:00
  • a291413a1e Merge pull request #257 from gilles-peskine-arm/psa-remove_zero_length_keys Gilles Peskine 2019-09-19 13:07:41 +02:00
  • 16a25e005d Add set+get tests Gilles Peskine 2019-09-19 12:19:24 +02:00
  • fd7ad33ee9 Consolidate tests for set with/without values Gilles Peskine 2019-09-19 12:18:23 +02:00
  • 6d229f8af0 Adapt EC-JPAKE test suite to hardcodable hash Manuel Pégourié-Gonnard 2019-09-12 09:58:37 +02:00
  • a77e9b5b35 Make sub-context statically allocated Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 073c1e1391 Remove pk_info from pk_context_t with SINGLE_TYPE Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 2829bbf59b Remove dependency from SSL on PK internals Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 4223ce4fca Introduce macro-based read access to ctx->pk_info Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • f8b7c7f0ac Implement two-valued handle type Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 020d9ba4ed Introduce abstraction mbedtls_pk_handle_t Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 08620cbb62 Implement static dispatch with SINGLE_PK_TYPE Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 8cd288932b Clean up merged pk_wrap in pk.c Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 4ed179f693 Merge pk_wrap into pk.c Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 342cecf1f7 Introduce macro-based access to info members Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 1c1cc0d373 Add config.h option MBEDTLS_PK_SINGLE_HASH Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 26b807dae8 Fix bug in pkwrite with TinyCrypt but no RSA Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • f4afbf926e Fix missing include in some pkey programs Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 097628f871 Fix undeclared dependency on RSA_ALT in tests Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 57d96cddf5 Move NULL check inside accessor function Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 2d9466f1db Minor preparatory changes in mbedtls_pk_check_pair() Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • c10f092a87 Add accessor functions for members of pk_info Manuel Pégourié-Gonnard 2019-09-19 10:45:14 +02:00
  • 51514f57e9 Resolve inconsistent descipriton of operation state after exhausting a key derivation operation Andrew Thoelke 2019-09-18 17:50:01 +01:00
  • 4104afb770 Clarify valid state descriptions Andrew Thoelke 2019-09-18 17:47:25 +01:00
  • 9004a1768b Set meaningful test configuration names when running tests Gilles Peskine 2019-09-16 15:20:36 +02:00
  • 654bab7635 ssl-opt: remove semicolons from test case descriptions Gilles Peskine 2019-09-16 15:19:20 +02:00
  • 560280b17d Test outcome file support: ssl-opt.sh Gilles Peskine 2019-09-16 15:17:38 +02:00
  • 51dcc24998 Test outcome file support: test suites Gilles Peskine 2019-09-16 15:13:48 +02:00
  • 47b7540fec Give a type name to test_info Gilles Peskine 2019-09-16 15:12:51 +02:00
  • 31fccc80a5 Fix typo in message Gilles Peskine 2019-09-16 15:12:37 +02:00
  • 3c1c8ea3e7 Prefer unsigned types for non-negative numbers Gilles Peskine 2019-09-16 15:10:47 +02:00
  • a708dae94b Add comment to help syntax highlighting in editors Gilles Peskine 2019-09-16 15:06:03 +02:00
  • c835672c51 Merge remote-tracking branch 'origin/pr/2846' into development mbedtls-2.19.1 Jaeden Amero 2019-09-18 14:40:17 +01:00
  • 914a5071b4 Bump Mbed TLS version to 2.19.1 Jaeden Amero 2019-09-18 13:35:57 +01:00
  • fc95b847af Merge pull request #256 from athoelke/at-aead-verify Gilles Peskine 2019-09-18 10:27:36 +02:00
  • a5fb316b5b Merge pull request #2842 from Patater/crypto-to-3f20efc03016 Jaeden Amero 2019-09-17 13:20:07 +01:00
  • 6dfa665398 X.509: Add numerous negative parsing tests for CertificatePolicy ext Hanno Becker 2019-09-12 16:03:08 +01:00
  • c15ff98455 X.509: Adapt negative parsing test for no data in CrtPolicy ext Hanno Becker 2019-09-12 14:21:57 +01:00
  • 7b8330a9c7 X.509: Move negative tests for CertificatePolicy parsing Hanno Becker 2019-09-12 14:06:33 +01:00
  • 82a1fe5fcc X.509: Remove CRT policy parsing test 'bool len missing' Hanno Becker 2019-09-12 11:20:11 +01:00
  • b2ab86ca15 crypto: Update submodule to 3f20efc030 Jaeden Amero 2019-09-16 14:13:25 +01:00
  • 95b68ef5ae Improve clarity of a memory operation call k-stachowiak 2019-09-16 12:21:00 +02:00
  • 46d61b1e95 Merge remote-tracking branch 'origin/pr/2834' into development Jaeden Amero 2019-09-13 16:52:14 +01:00
  • beb97ba066 Update documentation for multipart key derivation operations Andrew Thoelke 2019-09-13 15:27:46 +01:00
  • 414415a457 Update documentation for multipart aead operations Andrew Thoelke 2019-09-12 00:02:45 +01:00
  • db6f44f875 Update documentation for multipart cipher operations Andrew Thoelke 2019-09-11 23:33:30 +01:00
  • 9f208cc8c2 Update documentation for multipart mac operations Andrew Thoelke 2019-09-11 23:04:42 +01:00
  • 272ba1dd96 Update documentation for multipart hash operations Andrew Thoelke 2019-09-11 22:53:21 +01:00
  • 340984b003 Fix PSA_ERROR_BAD_STATE messages Andrew Thoelke 2019-09-11 21:33:41 +01:00