Commit graph

  • eb94059edd Fix mutex double-free in RSA Gilles Peskine 2021-02-01 17:57:41 +0100
  • 914afe1fdb Add init-free tests for RSA Gilles Peskine 2021-02-01 17:55:24 +0100
  • 7aba036154 Add missing cleanup in test function Gilles Peskine 2021-01-31 00:07:11 +0100
  • 71edf749e1 Changelog entry for DRBG mutex usage fix Gilles Peskine 2021-02-09 18:50:03 +0100
  • 478847cca3 Document thread safety for HMAC_DRBG Gilles Peskine 2021-02-09 18:45:10 +0100
  • e39b2192e5 Document mutex invariant for HMAC_DRBG Gilles Peskine 2021-02-09 18:43:33 +0100
  • b791dc66ce Fix mutex leak in HMAC_DRBG Gilles Peskine 2021-01-31 00:06:51 +0100
  • f305d92480 Document thread safety for CTR_DRBG Gilles Peskine 2021-02-09 18:44:18 +0100
  • da290f9bcd Document mutex invariant for CTR_DRBG Gilles Peskine 2021-02-09 18:44:02 +0100
  • f4b3429782 Fix mutex leak in CTR_DRBG Gilles Peskine 2021-01-30 13:05:32 +0100
  • 39a1a26d0b Explain the usage of is_valid in pthread mutexes Gilles Peskine 2021-02-09 15:35:29 +0100
  • f96d3d8b20 Count and report non-freed mutexes Gilles Peskine 2021-01-29 22:20:32 +0100
  • 2a4c598859 Detect and report mutex usage errors Gilles Peskine 2021-01-29 21:18:09 +0100
  • 1061ec6782 Mutex usage testing: set up wrapper functions Gilles Peskine 2021-01-29 21:17:11 +0100
  • 1f186ff330 Add missing calls to USE_PSA_DONE Gilles Peskine 2021-02-02 21:04:06 +0100
  • 9de97e21fe Make {USE_,}PSA_{INIT,DONE} available in all test suites Gilles Peskine 2021-02-02 21:00:11 +0100
  • d6ee36ed04
    Merge pull request #4110 from gilles-peskine-arm/psa-external-random-in-mbedtls Dave Rodgman 2021-02-22 14:47:29 +0000
  • 6c91b7c91e
    Merge pull request #4155 from gilles-peskine-arm/ccm-test-iv-overflow-warning-2.16 Gilles Peskine 2021-02-20 00:12:26 +0100
  • bd21b18a1f
    Merge pull request #4126 from gilles-peskine-arm/ccm-test-iv-overflow-warning Gilles Peskine 2021-02-20 00:12:21 +0100
  • 5fd5747402 Add missing header to cpp_dummy_build.cpp test David Brown 2021-02-19 14:19:51 -0700
  • a7ce0fca59
    Merge pull request #4076 from gilles-peskine-arm/psa-test-enumerate-not-supported Ronald Cron 2021-02-18 15:55:14 +0100
  • 17b3afcc33 tests: psa: Test sign/verify hash by a transparent driver Ronald Cron 2020-12-10 18:17:09 +0100
  • 8d5645a858 tests: psa driver wrapper: Fix sign/verify unit test dependency Ronald Cron 2020-12-10 18:09:33 +0100
  • 4993c13cd3 tests: psa: Change test driver default forced return value Ronald Cron 2020-12-10 17:49:22 +0100
  • b5399a8346 psa: Rework ECDSA sign/verify support in the transparent test driver Ronald Cron 2020-12-10 09:35:33 +0100
  • 8a494f3ebd psa: Post move adjustments to psa_sign/verify_hash_internal Ronald Cron 2021-02-17 09:49:51 +0100
  • 072722ccb0 psa: Move ECDSA sign/verify to PSA ECP specific file Ronald Cron 2020-12-09 16:36:19 +0100
  • d1cb91c603 psa: Change psa_ecdsa_sign/verify signature Ronald Cron 2021-02-16 20:37:54 +0100
  • d2fb85479a psa: Add RSA sign/verify hash support to the transparent test driver Ronald Cron 2020-12-09 15:18:01 +0100
  • e8d7e6c6e4 More robust code to set the IV Gilles Peskine 2021-02-09 12:00:13 +0100
  • d75adfcb3b KeyType: do a sanity check on the key type expression Gilles Peskine 2021-02-17 18:04:28 +0100
  • f68a9cf1e7 Fix test code under MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER Gilles Peskine 2021-02-16 18:28:56 +0100
  • 4fbffcd144 Do not require typing_extensions at runtime Gilles Peskine 2021-02-16 18:06:59 +0100
  • 0d241eda69 Remove trailing comma which is only supported since Python 3.6 Gilles Peskine 2021-02-16 15:09:27 +0100
  • 79f2166c22 Fix test suite declarations for cmake Gilles Peskine 2021-02-16 14:42:22 +0100
  • fa3c69a60f Improve documentation of crypto_knowledge.KeyType Gilles Peskine 2021-02-16 14:29:22 +0100
  • d169d60319 Skip dependency symbols that are not implemented Gilles Peskine 2021-02-16 14:16:25 +0100
  • 60b29fea46 Define WANT symbols for always-supported key types Gilles Peskine 2021-02-16 14:06:50 +0100
  • 7f756876b9 Append the key size to ECC curve dependencies Gilles Peskine 2021-02-16 12:13:12 +0100
  • 342cc7c475 Declare the new (automatically generated) test data file Gilles Peskine 2021-01-27 18:35:10 +0100
  • 7d112ae04c Check in test_suite_psa_crypto_not_supported.generated.data Gilles Peskine 2021-01-27 18:31:46 +0100
  • 505cc641de Use the base name of the generating script, not the full path Gilles Peskine 2021-01-27 18:30:40 +0100
  • af1728442d Generate not-supported test cases: ECC key types Gilles Peskine 2021-01-27 18:24:48 +0100
  • 0ac258ed0b Don't consider secp192r1 Gilles Peskine 2021-01-27 13:11:59 +0100
  • 0cbaf056fa Add some randomly generated keys Gilles Peskine 2021-01-27 12:48:22 +0100
  • 6f6483f2d2 New module for key material for asymmetric key types Gilles Peskine 2021-01-27 12:43:24 +0100
  • 14e428f921 Generate not-supported test cases automatically: import, generate Gilles Peskine 2021-01-26 22:19:21 +0100
  • 0994049614 New framework for generating PSA test cases automatically Gilles Peskine 2021-01-26 22:16:30 +0100
  • 069346cdab New test suite for not-supported cases: key creation (import, generate) Gilles Peskine 2021-01-26 21:48:19 +0100
  • 8ffb585659 New function to write a whole .data file Gilles Peskine 2021-01-26 21:35:01 +0100
  • db2f575c9d New Python module for generating Mbed TLS test cases Gilles Peskine 2021-01-26 21:27:22 +0100
  • 397b0287b1 Create sample key material for symmetric keys Gilles Peskine 2021-01-26 21:26:26 +0100
  • df63968c0c Enumerate sizes to test for each key type Gilles Peskine 2021-01-26 21:25:34 +0100
  • 0156a15190 Framework for knowledge about key types Gilles Peskine 2021-01-26 21:23:56 +0100
  • 8c8325bba9 Allow longer method names Gilles Peskine 2021-01-26 21:13:25 +0100
  • 0655b4f1e0 Check if the last word is 'MASK', not if it ends with 'MASK' Gilles Peskine 2021-01-25 22:44:36 +0100
  • 13d60eb4fc MacroCollector: default to not including intermediate macros Gilles Peskine 2021-01-25 22:42:14 +0100
  • f8deb759ba Factor out is_internal_name as a separate method Gilles Peskine 2021-01-25 22:41:45 +0100
  • e7c445542d Move PSAMacroCollector to a module of its own Gilles Peskine 2021-01-25 21:40:45 +0100
  • 7bb85c2640 Separate the parsing and generation parts of MacroCollector Gilles Peskine 2021-01-25 21:36:53 +0100
  • c071373842 Mutex usage testing: set up wrapper functions Gilles Peskine 2021-01-29 21:17:11 +0100
  • 96a7064754 Remove reference to a document that doesn't exist in this branch Gilles Peskine 2021-02-10 13:15:08 +0100
  • 44e89c547f Declare MBEDTLS_TEST_HOOKS in config.h Gilles Peskine 2019-09-11 13:27:48 +0200
  • 7f652adc48 Use $ASAN_FLAGS instead of repeating its contents Gilles Peskine 2021-01-13 22:24:51 +0100
  • 58fd20c464
    Merge pull request #4009 from d3zd3z/pr/psa-symm Ronald Cron 2021-02-17 13:43:59 +0100
  • 7921cceec8 Fix typo in config_psa.h Bence Szépkúti 2021-02-17 11:46:50 +0100
  • 7bdbca33b2 psa: Move RSA sign/verify hash to the PSA RSA specific file Ronald Cron 2020-12-09 13:34:54 +0100
  • a99bcc0e17 psa: Change psa_rsa_sign/verify signature Ronald Cron 2021-02-16 16:49:34 +0100
  • fce9df2cad psa: Call sign/verify hash software implementation as a driver Ronald Cron 2020-12-08 18:06:03 +0100
  • 36f641bd16 psa: Export "internally" mbedtls_md_info_from_psa() Ronald Cron 2021-02-16 17:20:43 +0100
  • 67b1eb309b psa: Export "internally" psa_sign/verify_hash_internal Ronald Cron 2020-12-08 17:37:27 +0100
  • 9f17aa48c2 psa: Change psa_driver_wrapper_sign/verify_hash signature Ronald Cron 2020-12-08 17:07:25 +0100
  • 1865993763 psa: sign/verify_hash: Wrap software implementation Ronald Cron 2020-12-08 16:32:23 +0100
  • 99b8ed7fda psa: Prepare sign/verify code for software implementation split Ronald Cron 2021-02-17 10:33:32 +0100
  • 9a594e8023 Update psa crypto_config to include recent configs David Brown 2021-02-16 12:57:27 -0700
  • 1bfe4d7fca Use new PSA builtin defines for CHACHA20 David Brown 2021-02-16 12:54:35 -0700
  • 8107e31b74 Fix 2 endif comments David Brown 2021-02-12 08:08:46 -0700
  • 12ca50307f Change some conditionals of PSA to use BUILTIN David Brown 2021-02-11 11:02:00 -0700
  • db01e0271f Remove an unnecessary #else and commented line David Brown 2021-02-11 10:56:37 -0700
  • be380c1e0f Remove incorrect PSA ECB definition David Brown 2021-02-11 10:55:48 -0700
  • 8de6437bb6 Cleanup PSA CBC padding defines David Brown 2021-02-11 10:53:23 -0700
  • 7807bf7404 Use proper conditional for software DES David Brown 2021-02-09 16:28:23 -0700
  • 288a96e169 Fix mistyped endif comment David Brown 2021-02-09 16:27:55 -0700
  • 9f3e7749d9 Revert "Change some examples to use new PSA crypto config" David Brown 2021-02-09 16:27:19 -0700
  • 86730a8d50 Add missing MBEDTLS_PSA_BUILTIN for ChaCha20-Poly1305 David Brown 2021-02-09 16:24:11 -0700
  • fc46818eeb Cleanup PSA ifdefs for CBC block mode David Brown 2021-02-09 16:23:34 -0700
  • 10cb81c0a0 Add some missing MBEDTLS_PSA_BUILTIN_ definitions David Brown 2021-02-09 16:10:29 -0700
  • f84a0f691e Simplify block cipher PSA definitions David Brown 2021-02-09 15:59:41 -0700
  • e1f91f07cd Consolidate PSA ifdefs for block ciphers David Brown 2021-02-09 15:56:22 -0700
  • 18658a7896 Disable error on CHACHAPOLY misconfiguration David Brown 2021-02-08 19:37:40 -0700
  • ac4fa07fa3 Add PSA config support for ChaCha20+Poly1305 David Brown 2021-02-08 16:47:35 -0700
  • b16727a603 Add PSA config for ChaCha20 David Brown 2021-02-08 16:31:46 -0700
  • b781f75401 Define SW crypto algorithms if block modes need it David Brown 2021-02-08 15:44:52 -0700
  • 5256e69cda Fix typo in psa config comment David Brown 2021-02-08 15:44:11 -0700
  • 4869dcdc90 Change some examples to use new PSA crypto config David Brown 2021-02-05 12:56:10 -0700
  • 0baa7b5e98 Change ifdefs in psa_crypto.c to new WANT macros David Brown 2021-02-05 12:51:07 -0700
  • 4b9ec7a598 Add checks for HW acceleration of ciphers and padding David Brown 2021-02-05 12:47:08 -0700
  • 63ca260827 Change psa_crypto.c ifdefs for cipher modes David Brown 2021-01-26 11:51:12 -0700
  • 12f45f99da Add definitions for builtins for cipher modes David Brown 2021-01-26 11:50:36 -0700
  • da7dbb72ed Add building definitions for non-crypto-config case David Brown 2021-01-26 11:44:15 -0700