Commit Graph

  • 5e9c9cca03 Document macros that were referenced Gilles Peskine 2018-12-12 14:02:48 +01:00
  • 2d59b2cd6b crypto_driver.h: get type definitions from crypto_enum.h Gilles Peskine 2018-12-12 13:51:19 +01:00
  • a7c26db335 Move remaining size macros from crypto.h to crypto_sizes.h Gilles Peskine 2018-12-12 13:42:25 +01:00
  • f3b731e817 Move integral types and associated macros to their own header Gilles Peskine 2018-12-12 13:38:31 +01:00
  • 8adb617718 Merge pull request #546 from ARMmbed/version-2.1.18 mbedtls-2.1.18 archive/mbedtls-2.1 Simon Butcher 2018-12-21 12:21:30 +00:00
  • 3187e7ca98 Merge pull request #545 from ARMmbed/version-2.7.9 mbedtls-2.7.9 Simon Butcher 2018-12-21 12:21:10 +00:00
  • fb1972db23 Merge pull request #544 from ARMmbed/version-2.16 mbedtls-2.16.0 Simon Butcher 2018-12-21 12:20:49 +00:00
  • d913726856 Update the version of the library to 2.1.18 Simon Butcher 2018-12-21 10:53:13 +00:00
  • 5e09bc7eb5 Fix maybe-uninitialized warning Gilles Peskine 2018-12-21 12:06:15 +01:00
  • b22a808cc6 Update the version of the library to 2.7.9 Simon Butcher 2018-12-21 10:52:37 +00:00
  • 6c164e754b Update the version of the library to 2.16.0 Simon Butcher 2018-12-21 10:51:51 +00:00
  • 0344d8171d Simplify the SPM compatibility hack Gilles Peskine 2018-12-20 20:09:04 +01:00
  • c08fc1d7e9 Move MIN and MAX macros from PSA tests to helpers.function Gilles Peskine 2018-12-18 08:47:00 +01:00
  • d76f181617 Prefer ASSERT_ALLOC to calloc+TEST_ASSERT in PSA tests Gilles Peskine 2018-12-18 00:52:27 +01:00
  • 1f2aa0e3b0 Remove useless null checks of data_t* parameters Gilles Peskine 2018-12-18 00:48:27 +01:00
  • 40ab95bdbc Remove checks of test parameters against SIZE_MAX Gilles Peskine 2018-12-18 00:47:17 +01:00
  • 0dfba2ddf0 Use ASSERT_COMPARE in preference to memcmp in PSA tests Gilles Peskine 2018-12-18 00:40:50 +01:00
  • f812dcf4ae Rewrap some lines after the macro changes Gilles Peskine 2018-12-18 00:33:25 +01:00
  • fe11b72b93 Use TEST_EQUAL(a,b) in preference to TEST_ASSERT(a==b) Gilles Peskine 2018-12-18 00:24:04 +01:00
  • 8817f61007 Use PSA_ASSERT(a) in preference to TEST_ASSERT(a==PSA_SUCCESS) Gilles Peskine 2018-12-18 00:18:46 +01:00
  • 0f915f1d2a Indent PSA tests according to K&R rules with Mbed TLS tweaks Gilles Peskine 2018-12-17 23:35:42 +01:00
  • 9d8eea7e19 Wrap some multiline expressions in parentheses Gilles Peskine 2018-12-17 23:34:57 +01:00
  • 5f7aeeea06 New test macro TEST_EQUAL Gilles Peskine 2018-12-17 23:26:52 +01:00
  • 0174be2c17 Move the PSA_ASSERT macro to the common helpers file Gilles Peskine 2018-12-17 23:26:01 +01:00
  • f055ad7512 Add a safety check to ARRAY_LENGTH Gilles Peskine 2018-12-17 23:18:00 +01:00
  • e046053ba1 Clarify ChangeLog old versions and param validations Simon Butcher 2018-12-20 16:17:02 +00:00
  • b6cdf980bc Merge remote-tracking branch 'public/pr/1721' into development-restricted Simon Butcher 2018-12-20 12:37:13 +00:00
  • fed19be501 Merge remote-tracking branch 'public/pr/2126' into development-restricted Simon Butcher 2018-12-20 12:35:09 +00:00
  • 428d00d837 Merge remote-tracking branch 'public/pr/2209' into development-restricted Simon Butcher 2018-12-20 12:34:59 +00:00
  • 6df8c53cd4 Merge remote-tracking branch 'public/pr/2134' into development-restricted Simon Butcher 2018-12-20 12:34:44 +00:00
  • 88d45a84eb Merge remote-tracking branch 'public/pr/2171' into development-restricted Simon Butcher 2018-12-20 12:30:47 +00:00
  • ad7c2105a2 Merge remote-tracking branch 'public/pr/2274' into development Simon Butcher 2018-12-20 12:16:57 +00:00
  • 12b4240300 Merge remote-tracking branch 'public/pr/2288' into development Simon Butcher 2018-12-20 12:16:46 +00:00
  • c831193c85 Merge remote-tracking branch 'public/pr/2302' into development Simon Butcher 2018-12-20 12:16:39 +00:00
  • 1efda39f8a Merge remote-tracking branch 'public/pr/2297' into development Simon Butcher 2018-12-20 12:16:29 +00:00
  • 5aa7809ac8 Merge remote-tracking branch 'public/pr/2275' into development Simon Butcher 2018-12-20 12:15:19 +00:00
  • 780cf189b0 Merge remote-tracking branch 'public/pr/2271' into development Simon Butcher 2018-12-20 12:15:08 +00:00
  • 032c037052 Merge remote-tracking branch 'public/pr/2270' into development Simon Butcher 2018-12-20 12:04:13 +00:00
  • a033633bb0 Merge remote-tracking branch 'public/pr/2269' into development Simon Butcher 2018-12-20 12:02:56 +00:00
  • 70935a4001 Merge remote-tracking branch 'public/pr/2299' into development Simon Butcher 2018-12-20 12:02:23 +00:00
  • 003c0e032f Merge remote-tracking branch 'public/pr/2292' into development Simon Butcher 2018-12-20 12:02:17 +00:00
  • decf2f5c2c Merge remote-tracking branch 'public/pr/2291' into development Simon Butcher 2018-12-20 12:02:11 +00:00
  • 65ce5dc981 Merge remote-tracking branch 'public/pr/2290' into development Simon Butcher 2018-12-20 12:02:05 +00:00
  • ad2e0dae32 Merge remote-tracking branch 'public/pr/2283' into development Simon Butcher 2018-12-20 12:01:58 +00:00
  • 0bbf7f450d Merge remote-tracking branch 'public/pr/2279' into development Simon Butcher 2018-12-20 12:01:49 +00:00
  • 962b7b17d5 Merge remote-tracking branch 'public/pr/2273' into development Simon Butcher 2018-12-20 12:01:17 +00:00
  • 6be67a6518 Merge remote-tracking branch 'public/pr/2281' into development Simon Butcher 2018-12-20 12:01:09 +00:00
  • dac513e246 Merge remote-tracking branch 'public/pr/2282' into development Simon Butcher 2018-12-20 12:01:04 +00:00
  • ccafd14fee Merge remote-tracking branch 'public/pr/2276' into development Simon Butcher 2018-12-20 12:00:57 +00:00
  • 2a8d32c6c1 Merge remote-tracking branch 'public/pr/2287' into development Simon Butcher 2018-12-20 12:00:50 +00:00
  • 743e3988dc Avoid unused-variable warnings for str as well Gilles Peskine 2018-12-20 12:29:48 +01:00
  • 88ca3a244e Avoid unused-variable warnings in some configurations Gilles Peskine 2018-12-20 12:26:16 +01:00
  • d6027119be Fix dependencies on MBEDTLS_FS_IO Gilles Peskine 2018-12-20 12:15:41 +01:00
  • 01d4b76b7e Remove faulty cipher_finish calls from nist_kw Manuel Pégourié-Gonnard 2018-12-20 12:09:07 +01:00
  • 2f6de42622 Move SHA256_VALIDATE[_RET] outside of MBEDTLS_SHA256_ALT guard Hanno Becker 2018-12-20 10:22:32 +00:00
  • c756049dc3 Move SHA512_VALIDATE[_RET] outside of MBEDTLS_SHA512_ALT guard Hanno Becker 2018-12-20 10:23:39 +00:00
  • b3c70230d2 Move SHA1_VALIDATE[_RET] outside of MBEDTLS_SHA1_ALT guard Hanno Becker 2018-12-20 10:18:05 +00:00
  • 73b79841b2 Remove parameter validation for deprecated function in ECDSA module Hanno Becker 2018-12-20 09:51:13 +00:00
  • 441c55d5df Merge remote-tracking branch 'public/pr/2145' into mbedtls-2.1 Simon Butcher 2018-12-20 01:23:24 +00:00
  • bfc26104ad Merge remote-tracking branch 'public/pr/2103' into mbedtls-2.1 Simon Butcher 2018-12-20 01:21:44 +00:00
  • 3112d10abd Merge remote-tracking branch 'public/pr/2144' into mbedtls-2.7 Simon Butcher 2018-12-20 01:16:16 +00:00
  • 247a782668 Increase strictness of NULL parameter validity in CCM's doxygen k-stachowiak 2018-12-19 13:36:03 +01:00
  • 6adb0574ea Improve details of CCM parameter validation and documentation k-stachowiak 2018-12-18 10:22:34 +01:00
  • 9da5d7cd83 Adjust mbedtls_ccm_free() documentation k-stachowiak 2018-12-13 17:19:48 +01:00
  • 373a660193 Fix a documentation typo k-stachowiak 2018-12-13 14:50:17 +01:00
  • 270a125946 Add a change log entry k-stachowiak 2018-12-13 11:14:04 +01:00
  • b92f9334e4 Doxygen comments improvement k-stachowiak 2018-12-13 11:13:51 +01:00
  • dd63359dae Add tests for valid NULL in ccm_free() k-stachowiak 2018-12-12 15:26:49 +01:00
  • 508bcd96db Remove unneeded test for the CCM free function k-stachowiak 2018-12-11 16:52:26 +01:00
  • 12f0d5c66d Improve the constraints definition in the doxygen comments in CCM k-stachowiak 2018-12-11 16:25:08 +01:00
  • f712534801 Add missing validation code in CCM k-stachowiak 2018-12-11 15:57:19 +01:00
  • ff8a0989c8 Allow empty arguments in some CCM functions' parameter validation k-stachowiak 2018-12-11 15:56:55 +01:00
  • fd42d531ba Explicitly allow NULL as an argument to mbedtls_ccm_free() k-stachowiak 2018-12-11 14:37:51 +01:00
  • 438448e45f Format NULL occurrences in CCM's Doxygen comments k-stachowiak 2018-12-11 13:11:30 +01:00
  • 26d365eb54 Add parameter validation for CCM k-stachowiak 2018-12-11 12:22:16 +01:00
  • fb54360f8c Prevent unused variable in some configurations k-stachowiak 2018-12-19 18:34:21 +01:00
  • 6af45ec53e PK: document context validity requirements Gilles Peskine 2018-12-19 17:52:05 +01:00
  • a85edd9415 Split the unconditional and conditional parameter validation tests k-stachowiak 2018-12-19 18:06:35 +01:00
  • f25ee7f79d Fix parameter validation for mbedtls_mpi_lsb() Hanno Becker 2018-12-19 16:51:02 +00:00
  • 8c71b3ecb3 pk_parse*keyfile: explicitly validate path=NULL Gilles Peskine 2018-12-19 17:37:02 +01:00
  • d54b97503b pk parse: the password is optional Gilles Peskine 2018-12-19 17:12:01 +01:00
  • 516897a44a Remove unnecessary parameter validation from the Cipher module k-stachowiak 2018-12-19 17:07:02 +01:00
  • 1a9df6bcb7 Improve style in the Cipher module k-stachowiak 2018-12-19 16:52:45 +01:00
  • e4b8d28ca7 Remove imprecise clause from documenting comment k-stachowiak 2018-12-19 16:52:33 +01:00
  • 95070a8286 Make some cipher parameter validation unconditional k-stachowiak 2018-12-19 14:48:37 +01:00
  • 6df25e7930 Increase strictness of NULL parameter validity in Cipher's doxygen k-stachowiak 2018-12-19 11:22:40 +01:00
  • d409285cfa Add a change log entry k-stachowiak 2018-12-18 17:02:05 +01:00
  • 5b01f8b3ae Add a new line at the end of the test data file k-stachowiak 2018-12-18 16:15:12 +01:00
  • 90b8d4a11e Include static cipher functions in the parameter validation scheme k-stachowiak 2018-12-18 16:12:34 +01:00
  • c29d94c7bf Account for optional NULL buffer arguments in the Cipher module k-stachowiak 2018-12-18 15:09:56 +01:00
  • d5913bc115 Improve documentation of the parameter validation in the Cipher module k-stachowiak 2018-12-18 14:59:16 +01:00
  • a539070f82 Make all parameter validation tests optional k-stachowiak 2018-12-17 11:27:03 +01:00
  • e0215d7869 Add Cipher module parameter validation Krzysztof Stachowiak 2018-12-17 10:20:30 +01:00
  • 6009ece91d Increase strictness of NULL parameter validity in GCM's doxygen k-stachowiak 2018-12-19 13:24:29 +01:00
  • 21298a20c4 Improve parameter validation in mbedtls_gcm_free() k-stachowiak 2018-12-13 17:11:58 +01:00
  • 9af22e4790 Update change log k-stachowiak 2018-12-13 14:49:27 +01:00
  • 2ae7ae5301 Doxygen comments improvement k-stachowiak 2018-12-13 14:48:30 +01:00
  • 5fccb3edf3 Add tests for valid NULL in gcm_free() k-stachowiak 2018-12-12 15:51:26 +01:00
  • 8ffc92a1e8 Add parameter validation for the GCM module k-stachowiak 2018-12-12 14:21:59 +01:00
  • 8ce11a323e Minor improvements to bignum module Hanno Becker 2018-12-19 16:18:52 +00:00