Commit Graph

  • c145c333fa Don't require make to generate visualc files Gilles Peskine 2021-04-22 20:07:44 +02:00
  • e11e81413d Improve documentation for error code checking Chris Jones 2021-04-22 15:28:56 +01:00
  • f2d8833c75 Don't make configuration-independent files depend on config.h Gilles Peskine 2021-04-22 14:50:16 +02:00
  • c89c96061e Generate source files before doing builds on Travis Gilles Peskine 2021-04-22 11:55:48 +02:00
  • f553f59e49 Script to generate source files on Windows Gilles Peskine 2021-04-22 11:55:13 +02:00
  • b13360514c Test why the test_depends_curves_psa fails in CI Tomasz Rodziewicz 2021-04-22 15:14:17 +02:00
  • fb7304290e Ignore generated source files that are no longer checked in Gilles Peskine 2021-04-22 01:15:52 +02:00
  • d1695022c5 Generate source files before running any components Gilles Peskine 2021-04-22 01:10:12 +02:00
  • dd7a9737a9 Create visualc directory if it doesn't exist Gilles Peskine 2021-04-22 01:09:59 +02:00
  • 4bd24fc501 Remove automatically generated source files Gilles Peskine 2021-04-22 01:03:15 +02:00
  • 612d21cff6 Makefile targets for automatically generated files Gilles Peskine 2021-04-22 01:01:56 +02:00
  • 7062796844 Testing the failed ubuntu test TRodziewicz 2021-04-22 14:11:10 +02:00
  • 742fefe27c Use Python 3 instead of Python 2 to generate test files Gilles Peskine 2021-04-22 00:21:58 +02:00
  • eedff00fd8 Allow running source file generators from a subdirectory Gilles Peskine 2021-04-22 00:20:47 +02:00
  • 2bbb5bc6bf Merge pull request #4380 from paul-elliott-arm/bignum_unchecked_return Ronald Cron 2021-04-22 13:08:57 +02:00
  • 9a97a13d3e Merge branch 'development_3.0' into remove_depr_error_codes Tomasz Rodziewicz 2021-04-22 12:53:15 +02:00
  • f6b677ea98 Merge pull request #4349 from mpg/apply-4334-3.0 Manuel Pégourié-Gonnard 2021-04-22 12:42:40 +02:00
  • e8e450a394 Merge pull request #4254 from mstarzyk-mobica/remove_libpkcs11-helper Manuel Pégourié-Gonnard 2021-04-22 12:39:54 +02:00
  • 1818d967fe Four config.h defaults have been changed. TRodziewicz 2021-04-22 12:06:32 +02:00
  • 1216233949 Merge pull request #4391 from gilles-peskine-arm/error-on-removed-options-20210421 Manuel Pégourié-Gonnard 2021-04-22 08:55:53 +02:00
  • fda4dc7fd9 Revert "Travis: Windows: install Python 3 and run generate_psa_constants.py" Gilles Peskine 2021-04-22 01:18:01 +02:00
  • 6b0f911b9a Use Python 3 instead of Python 2 to generate test files Gilles Peskine 2021-04-22 00:21:58 +02:00
  • cc26e3bf25 Remove extraneous word Gilles Peskine 2021-04-21 19:01:59 +02:00
  • fa4e4b8645 Error out if attempting to use a removed feature Gilles Peskine 2021-04-21 18:45:41 +02:00
  • b683776181 Per-line opt-out of check-names typo check Gilles Peskine 2021-04-21 18:45:08 +02:00
  • bfa03e3bc9 Update psa_util.h Tomasz Rodziewicz 2021-04-21 17:14:31 +02:00
  • 7bdbc45275 Update issue4283.txt Tomasz Rodziewicz 2021-04-21 16:50:15 +02:00
  • b484e98daf Do support multiple files generated from the same script archive/psa-storage-format-test-algorithms Gilles Peskine 2021-04-21 16:11:50 +02:00
  • 30e47f8584 Abbreviate algorithms in test descriptions Gilles Peskine 2021-04-21 10:18:19 +02:00
  • 17290eb7c7 Remove duplicates from enumerated test inputs Gilles Peskine 2021-04-21 15:37:34 +02:00
  • eefb8a1a09 Normalize whitespace in test arguments Gilles Peskine 2021-04-21 15:36:58 +02:00
  • 3408d60225 revert the error.h file include in psa_util.c TRodziewicz 2021-04-21 13:25:25 +02:00
  • e022938ec7 error.c re-generated once more TRodziewicz 2021-04-21 13:14:04 +02:00
  • d6c246f5bf Merge branch 'development_3.0' into remove_depr_error_codes Tomasz Rodziewicz 2021-04-21 12:31:43 +02:00
  • 1fbdb25d60 error.c re-generated TRodziewicz 2021-04-21 12:24:59 +02:00
  • 33946bbf16 Two platform error codes moved to error.h to fix _without_platform test TRodziewicz 2021-04-21 11:58:20 +02:00
  • 1dda21c4a4 Make sure we don't underflow in the size macros Bence Szépkúti 2021-04-21 11:09:50 +02:00
  • b639d43538 Move and rename PSA_ALG_AEAD_IS_BASE_EQUAL Bence Szépkúti 2021-04-21 10:33:54 +02:00
  • f5a1fe9392 Explicitly check non-boolean values against zero Bence Szépkúti 2021-04-21 10:13:08 +02:00
  • f9c7b3eb11 Remove PKCS#11 library wrapper. Mateusz Starzyk 2021-03-23 14:32:42 +01:00
  • 6667ffdd86 Test new semantics for static PSK configuration Hanno Becker 2021-04-19 21:59:22 +01:00
  • 2ed3dced8f Implement new semantics for static PSK configuration Hanno Becker 2021-04-19 21:59:14 +01:00
  • 946c925840 Document new semantics for static PSK configuration Hanno Becker 2021-04-19 21:41:47 +01:00
  • 50a2140b31 Don't generate non-existent dependency symbols Gilles Peskine 2021-04-20 23:23:45 +02:00
  • 70c68dac45 Remove unnecessary changelog Paul Elliott 2021-04-20 21:47:04 +01:00
  • 986b55af03 Style Fix Paul Elliott 2021-04-20 21:46:29 +01:00
  • 7725a63c24 Fix unchecked return in bignum Paul Elliott 2021-04-20 18:54:59 +01:00
  • 7a366f7f97 PSA PBKDF2: add config option Manuel Pégourié-Gonnard 2021-04-20 13:23:03 +02:00
  • 351a2576f5 PSA PBKDF2: extend key derivation driver interface Manuel Pégourié-Gonnard 2021-04-20 13:11:17 +02:00
  • 234b1ecace PSA PBKDF2: add "stretching" sub-category of key derivation Manuel Pégourié-Gonnard 2021-04-20 13:07:21 +02:00
  • 7da5791451 PSA PBKDF2: add algorithm macros + description Manuel Pégourié-Gonnard 2021-04-20 12:53:07 +02:00
  • 49325d3bcf PSA PBKDF2: add verify-output functions Manuel Pégourié-Gonnard 2021-04-20 12:16:17 +02:00
  • 22f08bcc00 PSA PBKDF2: add new input function Manuel Pégourié-Gonnard 2021-04-20 11:57:34 +02:00
  • 5a67992a61 PSA PBKDF2: add/update input types Manuel Pégourié-Gonnard 2021-04-20 11:30:11 +02:00
  • 759438cfce PSA PBKDF2: add new policies Manuel Pégourié-Gonnard 2021-04-20 11:18:53 +02:00
  • 31cbbefde8 PSA PBKDF2: add new key types Manuel Pégourié-Gonnard 2021-04-20 11:18:25 +02:00
  • 218da3fcf9 Merge pull request #4370 from tniessen/docs-typo Ronald Cron 2021-04-20 08:38:50 +02:00
  • 835beffcf4 Fix typo in architecture docs Tobias Nießen 2021-04-19 23:54:27 +02:00
  • 137dc9bf20 Define dependency symbols for hashless signature algorithms Gilles Peskine 2021-04-19 22:24:23 +02:00
  • 638deee3ba Switch psa_generate_tests to PSAMacroEnumerator Gilles Peskine 2021-04-19 13:50:25 +02:00
  • f07866ae81 Speed up the generation of storage format test cases Gilles Peskine 2021-04-12 14:43:05 +02:00
  • 5b37aab57e Fix KeyType with parameters passed in the name argument Gilles Peskine 2021-04-12 13:41:52 +02:00
  • 66c0b7b170 Use InputsForTest in generate_psa_tests Gilles Peskine 2021-03-30 21:46:35 +02:00
  • 54b8541df1 Move InputsForTest to macro_collector.py Gilles Peskine 2021-03-30 19:09:05 +02:00
  • f57b60433b Add type annotations Gilles Peskine 2021-03-29 20:37:40 +02:00
  • 8a88faf185 Fix copypasta in documentation Gilles Peskine 2021-03-17 13:45:32 +01:00
  • 1cc91e7475 Merge pull request #4366 from gilles-peskine-arm/development_3.0-merge_2.x-20210419 Manuel Pégourié-Gonnard 2021-04-19 13:08:48 +02:00
  • 16529bd439 Merge pull request #4344 from TRodziewicz/remove_deprecated_things_in_crypto_compat_h Manuel Pégourié-Gonnard 2021-04-19 10:55:21 +02:00
  • ee259130e4 Merge branch 'development' into development_3.0 Gilles Peskine 2021-04-19 10:51:59 +02:00
  • 0bbb38c67e Merge pull request #4199 from TRodziewicz/mul_shortcut_fix Manuel Pégourié-Gonnard 2021-04-19 09:54:12 +02:00
  • 5192e00a4d Merge pull request #4266 from mstarzyk-mobica/remove_allow_sha1_in_certificates Gilles Peskine 2021-04-16 20:55:41 +02:00
  • bf4c4f9cd5 Reword changelog entry for removal of SHA-1 from the default TLS configuration. Mateusz Starzyk 2021-04-14 15:38:46 +02:00
  • a58625f90d Remove optional SHA-1 in the default TLS configuration. Mateusz Starzyk 2021-03-29 17:46:57 +02:00
  • bab7ef4f0d Disable debugging features in baremetal Gilles Peskine 2021-04-16 16:06:32 +02:00
  • 2333e6302d Revert 2 files conflicting after previous push in the Github. TRodziewicz 2021-04-16 14:32:22 +02:00
  • 13af41f88c Merge pull request #4156 from mstarzyk-mobica/drop_old_tls_options Manuel Pégourié-Gonnard 2021-04-16 12:49:31 +02:00
  • 359411fd07 Adjust documentation of PSA_ALG_AEAD_IS_BASE_EQUAL Bence Szépkúti 2021-04-16 11:56:58 +02:00
  • 31e27af0cc Reword the builtin key language on persistency declaration Steven Cooreman 2021-04-14 10:32:05 +02:00
  • 966db26779 Minor code flow improvements Steven Cooreman 2021-04-13 13:45:45 +02:00
  • 2cca9b8f13 Rename test driver source files to avoid file name conflicts Steven Cooreman 2021-04-08 12:34:02 +02:00
  • 16141ed2fb Add test driver sources to VC build Steven Cooreman 2021-04-08 10:58:33 +02:00
  • a17fb8eac8 Fix line lenghts in changelog entry for removal of old TLS features. Mateusz Starzyk 2021-04-15 15:30:32 +02:00
  • 295fc13ef3 Split mbedtls_gcm_update_ad out of mbedtls_gcm_starts Gilles Peskine 2021-04-15 18:32:23 +02:00
  • a56c448636 Add output length parameters to mbedtls_gcm_update Gilles Peskine 2021-04-15 17:22:35 +02:00
  • 9461e45a17 Add output parameter to mbedtls_gcm_finish Gilles Peskine 2021-04-15 16:48:32 +02:00
  • 441907ec30 Remove alignment requirement for mbedtls_gcm_update: documentation Gilles Peskine 2021-04-13 16:09:32 +02:00
  • 58fc272af9 Remove alignment requirement for mbedtls_gcm_update: implementation Gilles Peskine 2021-04-13 15:58:27 +02:00
  • 36dd93e745 Test the multipart GCM interface Gilles Peskine 2021-04-13 13:02:03 +02:00
  • aee4cc4cbb Use sizeof() instead of magic constant Hanno Becker 2021-04-15 16:49:32 +01:00
  • a5b1a3945b Don't use 0-initializer for structs Hanno Becker 2021-04-15 16:48:01 +01:00
  • 607c0af246 Simplify PSA AEAD output size compatibility macros Bence Szépkúti 2021-04-15 13:23:54 +02:00
  • 7e31009bdb Further reduce macro expansion Bence Szépkúti 2021-04-08 12:05:18 +02:00
  • 598e92991a Rework PSA_AEAD_NONCE_LENGTH to reduce expansion Bence Szépkúti 2021-04-07 10:59:35 +02:00
  • 8072db2fcb Add changelog Bence Szépkúti 2021-03-22 14:51:05 +01:00
  • 0d8da39703 Mark unused macro argument as unused Bence Szépkúti 2021-03-19 19:28:52 +01:00
  • ec174e292d Update all uses of old AEAD output size macros Bence Szépkúti 2021-03-19 18:46:15 +01:00
  • ce48702448 Get a builtin key's attributes in order to correctly get its size Steven Cooreman 2021-04-07 18:09:53 +02:00
  • 7ddee7f7c5 Use remove_key_data_from_memory instead of wipe_key_slot Steven Cooreman 2021-04-07 18:08:30 +02:00
  • 7609b1ff6c leverage psa_allocate_buffer_to_slot from slot management Steven Cooreman 2021-04-06 16:45:06 +02:00
  • 0bb653600f If no storage backend is available, don't even attempt key loading Steven Cooreman 2021-04-06 15:09:57 +02:00