Commit Graph

  • 305e4e4f32 Implement parameter validation for ChaCha/Poly modules Hanno Becker 2018-12-11 15:03:16 +00:00
  • b3c10b348b Add documentation on parameter preconditions to ChaChaPoly modules Hanno Becker 2018-12-11 14:52:01 +00:00
  • b5c99f5c72 Improve documentation of SHA-512 parameter preconditions Hanno Becker 2018-12-18 15:29:32 +00:00
  • ff1052e6b0 Document valid function params for SHA-512 functions Andres Amaya Garcia 2018-12-10 10:28:10 +00:00
  • 863d483965 Add MBEDTLS_ERR_SHA512_BAD_INPUT_DATA to error.{h,c} Andres Amaya Garcia 2018-12-09 20:58:52 +00:00
  • ba519b94a5 Add parameter validation to SHA-512 module Andres Amaya Garcia 2018-12-09 20:58:36 +00:00
  • b86e684ed4 Move/remove param validation in mbedtls_rsa_rsaes_pkcs1_v15_encrypt Hanno Becker 2018-12-18 14:46:04 +00:00
  • a9020f2107 Clarify the need for a PRNG in various RSA operations Hanno Becker 2018-12-18 14:45:45 +00:00
  • af05a90349 Test parameter validation in ECDSA module Hanno Becker 2018-12-14 16:43:38 +00:00
  • 319ae11ab3 Implement parameter validation in ECDSA module Hanno Becker 2018-12-14 16:43:29 +00:00
  • e2e509ca5d Document parameter preconditions in ECDSA module Hanno Becker 2018-12-14 16:43:20 +00:00
  • 8ce3d939be Fix typo in documentation of ECJPAKE module Hanno Becker 2018-12-17 23:01:35 +00:00
  • 491db772c3 Test parameter validation for ECJPAKE module Hanno Becker 2018-12-14 17:18:03 +00:00
  • 71c8e1b8d8 Implement parameter validation in ECJPAKE module Hanno Becker 2018-12-14 17:09:39 +00:00
  • c4e5aa5746 Document parameter preconditions for ECJPAKE module Hanno Becker 2018-12-14 17:09:27 +00:00
  • 60b65044ac Fix parameter name in documentation of ECDH module Hanno Becker 2018-12-17 22:59:13 +00:00
  • 4c818483b2 Test parameter validation for ECDH module Hanno Becker 2018-12-17 18:32:22 +00:00
  • 91796d7471 Implement parameter validation in ECDH module Hanno Becker 2018-12-17 18:10:51 +00:00
  • e77ef2ad33 Document parameter preconditions in ECH module Hanno Becker 2018-12-17 18:10:43 +00:00
  • b06f193d73 Add missing cases to RSA parameter validation test Hanno Becker 2018-12-18 14:04:28 +00:00
  • 5bdfca926f Further RSA documentation improvements Hanno Becker 2018-12-18 13:59:28 +00:00
  • 05cf6dabb8 Add missing test for mbedtls_rsa_pkcs1_sign() Hanno Becker 2018-12-18 13:33:37 +00:00
  • f04d923834 Test mbedtls_rsa_gen_key() with NULL ctx/RNG separately Hanno Becker 2018-12-18 13:30:42 +00:00
  • 71cd6c7ba9 Remove duplicate test in RSA parameter validation test Hanno Becker 2018-12-18 13:30:30 +00:00
  • a7ee00225b Test mbedtls_rsa_init() with invalid padding Hanno Becker 2018-12-18 13:30:20 +00:00
  • f66f294e2e Improve documentation in RSA module Hanno Becker 2018-12-18 13:30:08 +00:00
  • 0118d4190a Document that RSA public exponent must be odd Hanno Becker 2018-12-17 10:06:21 +00:00
  • 385ce91592 Minor improvements Hanno Becker 2018-12-13 18:33:12 +00:00
  • 046d2024c5 Test parameter validation for RSA module Hanno Becker 2018-12-13 18:07:09 +00:00
  • ddeeed7d1b Implement parameter validation for RSA module Hanno Becker 2018-12-13 18:07:00 +00:00
  • 9a46777d66 Document parameter preconditions in RSA module Hanno Becker 2018-12-13 09:54:59 +00:00
  • 486f1b33d7 Improve wording in ECP documentation Hanno Becker 2018-12-18 13:00:34 +00:00
  • 57b684f9d1 Add separate test for xxx_free() functions in ECP module Hanno Becker 2018-12-18 12:50:02 +00:00
  • 5edcfa529f Improve ECP documentation Hanno Becker 2018-12-18 12:49:55 +00:00
  • 12dff0352b Test parameter validation for ECP module Hanno Becker 2018-12-14 15:08:13 +00:00
  • 4f8e8e5805 Implement parameter validation for ECP module Hanno Becker 2018-12-14 15:08:03 +00:00
  • ebffa7995b Document parameter preconditions in ECP module Hanno Becker 2018-12-14 15:07:50 +00:00
  • 03f2ffa7bc Undo documentation change in ARIA, Blowfish, Camellia modules Hanno Becker 2018-12-18 12:45:06 +00:00
  • 488d9309fc Fix unused param warnings in test function Manuel Pégourié-Gonnard 2018-12-18 13:05:49 +01:00
  • 0152f1e948 Document valid function params for SHA-256 functions Andres Amaya Garcia 2018-12-10 10:22:27 +00:00
  • 9e76c0e77f Add MBEDTLS_ERR_SHA256_BAD_INPUT_DATA to error.{h,c} Andres Amaya Garcia 2018-12-09 20:42:05 +00:00
  • 79e593f617 Add parameter validation to SHA-256 module Andres Amaya Garcia 2018-12-09 20:41:20 +00:00
  • b3906d8829 Minor fixes to implementation of SHA1 parameter validation Hanno Becker 2018-12-18 11:35:00 +00:00
  • 0e24473b94 Test parameter validation in SHA-1 module Hanno Becker 2018-12-18 11:22:55 +00:00
  • 5359ca8a54 Improve SHA-1 documentation Hanno Becker 2018-12-18 11:11:18 +00:00
  • c523e011e0 Document valid function params for SHA-1 functions Andres Amaya Garcia 2018-12-10 10:11:47 +00:00
  • a685d4f28d Add MBEDTLS_ERR_SHA1_BAD_INPUT_DATA to error.{h,c} Andres Amaya Garcia 2018-12-09 19:13:01 +00:00
  • f7c43b3145 Add parameter validation to SHA-1 Andres Amaya Garcia 2018-12-09 19:12:19 +00:00
  • e55e103bfe Fix off-by-one in iv_off check and add tests Manuel Pégourié-Gonnard 2018-12-18 12:09:02 +01:00
  • 5b89c09273 Add check for iv_off in AES-CFB128 and AES-OFB Manuel Pégourié-Gonnard 2018-12-18 10:03:30 +01:00
  • 998a358529 Make a check more explicit in aes.c Manuel Pégourié-Gonnard 2018-12-18 10:03:13 +01:00
  • eb6d3968b1 Fix some whitespace issues in aes.c Manuel Pégourié-Gonnard 2018-12-18 09:59:35 +01:00
  • ab6b9758d6 Improve constant naming in test functions Manuel Pégourié-Gonnard 2018-12-18 09:58:18 +01:00
  • b66e7dbcc1 Fix some documentation markup/wording issues Manuel Pégourié-Gonnard 2018-12-18 09:57:18 +01:00
  • ad54c49e75 Document AES accelerator functions as internal Manuel Pégourié-Gonnard 2018-12-13 11:15:26 +01:00
  • 2bc535be86 Add parameter validation for AES-CTR Manuel Pégourié-Gonnard 2018-12-13 11:08:36 +01:00
  • 8e41eb7187 Add parameter validation for AES-OFB Manuel Pégourié-Gonnard 2018-12-13 11:00:56 +01:00
  • 1677cca54b Add parameter validation for AES-CFB functions Manuel Pégourié-Gonnard 2018-12-13 10:27:13 +01:00
  • 191af1313a Add param validation for mbedtls_aes_crypt_xts() Manuel Pégourié-Gonnard 2018-12-13 10:15:30 +01:00
  • 3178d1a997 Add param validation for mbedtls_aes_crypt_cbc() Manuel Pégourié-Gonnard 2018-12-12 13:05:00 +01:00
  • 1aca260571 Add parameter validation for mbedtls_aes_crypt_ecb() Manuel Pégourié-Gonnard 2018-12-12 12:56:55 +01:00
  • 68e3dff3f1 Add parameter validation XTS setkey functions Manuel Pégourié-Gonnard 2018-12-12 12:48:04 +01:00
  • af0c6cb9e0 Fix missing guard on XTS function in tests Manuel Pégourié-Gonnard 2018-12-18 12:02:52 +01:00
  • 6640b0d9a3 Undo deprecation of MBEDTLS_ERR_BLOWFISH_INVALID_INPUT_LENGTH Hanno Becker 2018-12-18 09:45:17 +00:00
  • a034369eca Undo deprecation of MBEDTLS_ERR_ARIA_INVALID_INPUT_LENGTH Hanno Becker 2018-12-18 09:42:58 +00:00
  • 938f9e9bdb Undo deprecation of MBEDTLS_ERR_CAMELLIA_INVALID_INPUT_LENGTH Hanno Becker 2018-12-18 09:40:25 +00:00
  • 9dbefa1793 Fix conflict between constant deprecation and check-names.sh Hanno Becker 2018-12-17 22:49:13 +00:00
  • 3d2f949c86 Move the ARRAY_LENGTH macro to the common helpers file Gilles Peskine 2018-12-17 23:17:17 +01:00
  • 4fb258a868 Remove mentioning of deprecated error codes Hanno Becker 2018-12-17 16:09:15 +00:00
  • 3214215b1e Update errors.c Hanno Becker 2018-12-17 13:25:58 +00:00
  • d2f3a00062 Introduce single BLOWFISH error code for bad input data Hanno Becker 2018-12-17 13:21:06 +00:00
  • 4c029d09be Introduce single CAMELLIA error code for bad input data Hanno Becker 2018-12-17 13:20:05 +00:00
  • 2f47550018 Introduce single ARIA error code for bad input data Hanno Becker 2018-12-17 13:19:06 +00:00
  • 9794098cfa Clarify ChangeLog entry again. Manuel Pégourié-Gonnard 2018-12-17 13:13:50 +01:00
  • 548cecdd2c Discourage making MBEDTLS_PARAM_FAILED() empty. Manuel Pégourié-Gonnard 2018-12-17 13:13:30 +01:00
  • 6d0816a8ae Introduce macros to deprecate constants in the API Hanno Becker 2018-12-17 11:30:27 +00:00
  • bdcb54ff20 Add entry describing the bug fix Ron Eldor 2018-12-17 10:12:55 +02:00
  • c7aac417f2 Return error code of underlying function. Ron Eldor 2018-12-17 10:06:12 +02:00
  • 3625e56930 Include configuration file for all headers Ron Eldor 2018-12-16 12:14:37 +02:00
  • 0559c66ac2 Include configuration file to headers Ron Eldor 2018-02-14 16:02:41 +02:00
  • 9cbd1b2ecd Include configuration file for all headers Ron Eldor 2018-12-16 12:14:37 +02:00
  • 8b0cf2e76f Include configuration file to headers Ron Eldor 2018-02-14 16:02:41 +02:00
  • bda9abf696 Add a facility to skip running some test suites Gilles Peskine 2018-11-29 10:15:06 +00:00
  • 0626ebb425 run-test-suites: update the documentation Gilles Peskine 2018-12-14 18:23:13 +01:00
  • c8fff7b2e7 Declare test_suite_aes.ofb to CMake Gilles Peskine 2018-11-29 10:55:21 +00:00
  • ac372cc687 Add a facility to skip running some test suites Gilles Peskine 2018-11-29 10:15:06 +00:00
  • 15db850fe9 run-test-suites: update the documentation Gilles Peskine 2018-12-14 18:23:13 +01:00
  • 75a9f0fa7f md: remove unnecessary comaprisons from tests Unknown 2018-12-14 05:48:37 -05:00
  • 1ad679e6e2 cmac: add parameter validation Unknown 2018-12-14 05:37:29 -05:00
  • ebb8f56f22 md: Add parameter validation Unknown 2018-12-14 04:50:14 -05:00
  • 12dce61e09 Fix order of sections in ChangeLog Manuel Pégourié-Gonnard 2018-12-13 09:48:40 +01:00
  • e7306d30a9 Improve some documentation and ChangeLog entry Manuel Pégourié-Gonnard 2018-12-13 09:45:49 +01:00
  • 0026080132 cmak: improve documentation on parameter constraints Unknown 2018-12-13 03:04:05 -05:00
  • 1a76f3971c Merge remote-tracking branch 'psa/pr/230' into feature-psa Gilles Peskine 2018-12-12 16:15:34 +01:00
  • 0a0bd7b3d1 Merge pull request #239 from ARMmbed/feature-psa-no_test_USE_PSA_CRYPTO Gilles Peskine 2018-12-12 14:07:05 +01:00
  • 2e14bd3aaf Add missing static on file-scope variable Gilles Peskine 2018-12-12 14:05:08 +01:00
  • a4251f4775 Test aes_free( NULL ) unconditionally Manuel Pégourié-Gonnard 2018-12-12 12:04:51 +01:00
  • 54e7f312d3 Make TEST_VALID_PARAM() available unconditionally Manuel Pégourié-Gonnard 2018-12-12 11:56:09 +01:00
  • 76965bb678 Remove MBEDTLS_USE_PSA_CRYPTO tests from all.sh Gilles Peskine 2018-12-12 10:48:06 +01:00
  • aae10fa427 Fix some whitespace issues Manuel Pégourié-Gonnard 2018-12-12 10:24:19 +01:00