Commit Graph

  • ee3cfec3cc PK sign/verify: hash=NULL is ok if md_alg=0 and hash_len=0 Gilles Peskine 2018-12-19 17:10:02 +01:00
  • 998fbfbe68 Properly test pk_write with an empty output buffer Gilles Peskine 2018-12-19 17:08:51 +01:00
  • cc274c2ebf Do run the valid parameters test function Gilles Peskine 2018-12-19 17:08:01 +01:00
  • 159171b72a PK parse/write: support keylen=0 correctly Gilles Peskine 2018-12-19 17:03:28 +01:00
  • df4b59696d Minor Camellia documentation improvements Hanno Becker 2018-12-19 15:50:02 +00:00
  • ed54128fdb Minor Blowfish documentation improvements Hanno Becker 2018-12-19 15:48:37 +00:00
  • 70ded3602c Minor improvements to Camellia module and documentation Hanno Becker 2018-12-19 13:42:05 +00:00
  • 1f19fa6f62 PK: Fix free(NULL) in library and tests Gilles Peskine 2018-12-19 14:18:39 +01:00
  • 20376d631d Don't promise that passing NULL input to Blowfish works Hanno Becker 2018-12-18 17:47:39 +00:00
  • 3d9a3490f8 Improve Blowfish documentation Hanno Becker 2018-12-17 15:15:42 +00:00
  • f947c0a2dd Move testing of mbedtls_blowfish_free() to separate test case Hanno Becker 2018-12-17 14:17:10 +00:00
  • 49acc64c69 Minor improvements to Blowfish documentation and tests Hanno Becker 2018-12-17 09:24:51 +00:00
  • e38b4cd661 Test parameter validation for Blowfish module Hanno Becker 2018-12-12 18:46:19 +00:00
  • 541aa69de4 Implement parameter validation for Blowfish module Hanno Becker 2018-12-12 18:46:09 +00:00
  • 3b4d6c6925 Document parameter preconditions for Blowfish module Hanno Becker 2018-12-12 18:14:08 +00:00
  • 0294072c09 Avoid unused variable warning in ARIA param validation test Hanno Becker 2018-12-18 18:18:45 +00:00
  • 938a15e584 Leave behaviour on NULL input unspecified in ARIA Hanno Becker 2018-12-18 16:43:45 +00:00
  • 14b91e8e22 Move testing of mbedtls_aria_free() to separate test Hanno Becker 2018-12-17 14:13:36 +00:00
  • fac1d44d62 Fix style in ARIA parameter validation tests Hanno Becker 2018-12-17 12:07:01 +00:00
  • 2f87504cb7 Minor ARIA documentation improvements Hanno Becker 2018-12-17 12:06:51 +00:00
  • b0de9f5b03 Test that mbedtls_aria_free() accepts NULL parameter Hanno Becker 2018-12-17 12:06:38 +00:00
  • 02d524c05c Minor ARIA documentation improvements Hanno Becker 2018-12-17 09:18:37 +00:00
  • 9e45c1607e Test parameter validation for ARIA module Hanno Becker 2018-12-11 21:51:38 +00:00
  • b54ae0bc0d Implement parameter validation for ARIA module Hanno Becker 2018-12-11 21:51:32 +00:00
  • 139d8313d9 Document parameter preconditions for the ARIA module Hanno Becker 2018-12-11 21:29:27 +00:00
  • 1e2f3ed08f Remove merge artifact Hanno Becker 2018-12-18 18:30:03 +00:00
  • bdb7cd4840 Don't promise that passing NULL input to Camellia works Hanno Becker 2018-12-18 17:49:48 +00:00
  • c7579ecb17 Improve Camellia documentation Hanno Becker 2018-12-17 15:18:02 +00:00
  • f1931760d8 Move test of mbedtls_camellia_free() to separate test Hanno Becker 2018-12-17 14:20:05 +00:00
  • af4b83bb2a Minor improvements to CAMELLIA documentation Hanno Becker 2018-12-17 09:30:27 +00:00
  • ff62f44ad7 Remove duplicated parameter check in CAMELLIA module Hanno Becker 2018-12-13 15:53:41 +00:00
  • e939de7247 Minor fixes to Camellia parameter validation Hanno Becker 2018-12-13 15:39:24 +00:00
  • f10905a6a7 Use full sentences in documentation of CAMELLIA preconditions Hanno Becker 2018-12-13 15:15:36 +00:00
  • 75788371df Test parameter validation for CAMELLIA module Hanno Becker 2018-12-12 18:02:18 +00:00
  • b4b7fb7504 Implement parameter validation for CAMELLIA module Hanno Becker 2018-12-12 18:02:06 +00:00
  • 7a16aaddba Document parameter preconditions in CAMELLIA module Hanno Becker 2018-12-12 14:54:16 +00:00
  • e146e7dbae Don't use TEST_VALID_PARAM with a value Gilles Peskine 2018-12-19 13:20:21 +01:00
  • 314bd71894 Update ChangeLog Ron Eldor 2018-11-25 10:38:34 +02:00
  • 44f6d0b3b1 Test AD too long only when CCM_ALT not defined Ron Eldor 2018-11-25 10:31:53 +02:00
  • bb186f89fc Weaken preconditions for mbedtls[_internal]_sha512_process() Hanno Becker 2018-12-19 10:27:24 +00:00
  • fbf67770d8 Improve ECJPAKE documentation Hanno Becker 2018-12-19 10:14:43 +00:00
  • 9994e0d7cf Regenerate errors.c Hanno Becker 2018-12-19 09:55:40 +00:00
  • d8e4f4a764 Regenerate errors.c Hanno Becker 2018-12-19 09:54:55 +00:00
  • 859522a31c Regenerate errors.c Hanno Becker 2018-12-19 09:54:14 +00:00
  • 185e516309 Minor fixes to ECJPAKE parameter validation Hanno Becker 2018-12-19 09:48:50 +00:00
  • 1959535038 Add parameter validation test for mbedtls_ecp_check_pub_priv() Hanno Becker 2018-12-18 23:54:04 +00:00
  • b7a04a7851 Fix mbedtls_ecp_curve_info_from_name() for NULL input Hanno Becker 2018-12-18 23:50:21 +00:00
  • 549e455a42 Add parameter validation test for mbedtls_ecp_gen_privkey() Hanno Becker 2018-12-18 23:45:43 +00:00
  • 0a4fa9b1fb Add parameter validation test for mbedtls_ecp_check_budget() Hanno Becker 2018-12-18 23:45:29 +00:00
  • 807c107c3c Fix typos in ECP test suite Hanno Becker 2018-12-18 23:45:14 +00:00
  • 80f71689ee Add parameter validation to mbedtls_ecp_restart_init() Hanno Becker 2018-12-18 23:44:43 +00:00
  • 54b789aa74 Merge remote-tracking branch 'public/pr/2298' into development Simon Butcher 2018-12-19 08:08:14 +00:00
  • 25635f2288 Merge remote-tracking branch 'public/pr/1643' into development Simon Butcher 2018-12-19 08:06:22 +00:00
  • 78438e4109 Test parameter validation for pk, pkparse and pkwrite Gilles Peskine 2018-12-19 00:55:07 +01:00
  • e97dc60b42 Implement parameter validation in pk, pkparse and pkwrite Gilles Peskine 2018-12-19 00:51:38 +01:00
  • a310b41ebe Add null-pointer support information to init/free Gilles Peskine 2018-12-19 00:51:21 +01:00
  • 035c6baefe Fix documentation bug in ECDSA module Hanno Becker 2018-12-18 23:35:53 +00:00
  • c81cfece8f Minor fixes to parameter validation in ECDH module Hanno Becker 2018-12-18 23:32:42 +00:00
  • 59274d43cb Remove unnecessary call to mbedtls_mpi_free() in MPI tests Hanno Becker 2018-12-18 23:27:03 +00:00
  • b48e1aa846 Add separate test for mbedtls_mpi_free() accepting NULL Hanno Becker 2018-12-18 23:25:01 +00:00
  • 3f1f4ad9bd Weaken preconditions on mbedtls_[internal_]sha256_process() Hanno Becker 2018-12-18 23:19:37 +00:00
  • 79b9e39732 Weaken preconditions for mbedtls[_internal]_sha1_process() Hanno Becker 2018-12-18 23:17:49 +00:00
  • d01ff493e5 Minor improvements in bignum documentation Hanno Becker 2018-12-18 23:10:28 +00:00
  • ee427b26d4 tests: Backup config.h before modifying it Jaeden Amero 2018-12-18 21:04:55 +00:00
  • a7634e8347 Fix wrong invocation of parameter validation macro in ECDH module Hanno Becker 2018-12-18 18:45:00 +00:00
  • 3f2d1ef169 Fix typo in SHA512 documentation Hanno Becker 2018-12-18 18:41:40 +00:00
  • 42f783d3b7 Fix minor issues in SHA1 documentation Hanno Becker 2018-12-18 18:39:32 +00:00
  • d73101266d Don't promise that passing a NULL to mbedtls_mpi_read_string works Hanno Becker 2018-12-18 18:11:42 +00:00
  • 01c3c10640 Fix typos in documentation of bignum module Hanno Becker 2018-12-17 23:04:51 +00:00
  • e118504a5f Numerous minor improvements to bignum documentation Hanno Becker 2018-12-13 14:31:46 +00:00
  • 56b661cbf8 Add test that mbedtls_mpi_free() accepts NULL parameter Hanno Becker 2018-12-12 13:37:25 +00:00
  • 54c91dd235 Remove double semicolon from bignum.c Hanno Becker 2018-12-12 13:37:06 +00:00
  • 8282c2f070 Minor improvements to bignum documentation Hanno Becker 2018-12-12 13:36:46 +00:00
  • afb607b9db Add tests for parameter validation in MPI module Hanno Becker 2018-12-11 14:27:08 +00:00
  • 73d7d79bc1 Implement parameter validation for MPI module Hanno Becker 2018-12-11 10:35:51 +00:00
  • c23483ed8c Document preconditions on parameters in public bignum API Hanno Becker 2018-12-10 17:21:19 +00:00
  • 974ca0d947 Fix documentation bug on necessity of RNG in RSA PKCS v1.5 Hanno Becker 2018-12-18 18:03:24 +00:00
  • 38e15d49f3 Don't declare MBEDTLS-namespace identifiers in sha512.c Hanno Becker 2018-12-18 17:54:00 +00:00
  • 8d215e7130 Don't define MBEDTLS-namespace macros in sha256.c Hanno Becker 2018-12-18 17:53:21 +00:00
  • 039ccab243 Don't declare MBEDTLS-namespace macros in sha1.c Hanno Becker 2018-12-18 17:52:14 +00:00
  • 2f660d047d Forbid passing NULL input buffers to RSA encryption routines Hanno Becker 2018-12-18 17:04:59 +00:00
  • d22df58a56 Add missing guards around SHA-1 tests Hanno Becker 2018-12-18 16:39:45 +00:00
  • 9171c6e9ec Leave behaviour on NULL buffers to SHA-1 unspecified for now Hanno Becker 2018-12-18 15:42:53 +00:00
  • adc9b178ca Minor improvements to DHM module Hanno Becker 2018-12-17 09:34:36 +00:00
  • 8c8a93c574 Test parameter validation for DHM module Hanno Becker 2018-12-12 21:10:46 +00:00
  • 5c14ed6f86 Implement parameter validation for DHM module Hanno Becker 2018-12-12 19:44:47 +00:00
  • 6c5c45f400 Document parameter preconditions in DHM module Hanno Becker 2018-12-12 19:38:01 +00:00
  • 4fbd4bf442 Fix guard in SHA-512 tests Hanno Becker 2018-12-18 16:37:43 +00:00
  • ca6f4585c7 Fix parameter validation in SHA-512 module Hanno Becker 2018-12-18 15:37:22 +00:00
  • fc2a0b2e67 Minor SHA-256 documentation improvement Hanno Becker 2018-12-18 16:31:48 +00:00
  • 596e014a06 Add validation is is224 argument in mbedtls_sha256_starts_ret() Hanno Becker 2018-12-18 15:00:38 +00:00
  • 230b4f4159 Fix definition of MBEDTLS_SHA256_VALIDATE[_RET] in sha256.c Hanno Becker 2018-12-18 14:58:32 +00:00
  • 36beb04fd5 Add tests or SHA-256 parameter validation Hanno Becker 2018-12-18 14:58:02 +00:00
  • 77886af63e Improve SHA-256 documentation on parameter preconditions Hanno Becker 2018-12-18 14:54:04 +00:00
  • 686c9a0e8d Test SHA-512 parameter validation Hanno Becker 2018-12-18 15:33:14 +00:00
  • ad7581fac5 Minor improvements to ChaCha20/Poly1305/ChaChaPoly documentation Hanno Becker 2018-12-17 09:43:21 +00:00
  • a994b2379f Test that xxx_free() functions accept NULL parameter Hanno Becker 2018-12-12 16:44:41 +00:00
  • 236ea16c01 Fix wrong conditional in free() functions Hanno Becker 2018-12-12 14:00:34 +00:00
  • e463c42902 Minor improvements Hanno Becker 2018-12-12 14:00:26 +00:00
  • ae2ff02ff1 Add tests for ChaChaPoly parameter validation Hanno Becker 2018-12-11 15:14:02 +00:00