Commit Graph

  • 3f1c3c9605 Tweak grouping of GCD test cases Gilles Peskine 2021-06-15 21:10:50 +02:00
  • 9466d81fe8 Make GCD test descriptions more uniform Gilles Peskine 2021-06-15 21:10:16 +02:00
  • 34bfa15b21 Changelog entry for the mbedtls_mpi_read_xxx changes Gilles Peskine 2021-06-11 16:25:36 +02:00
  • 7cba859235 mbedtls_mpi_read_string: make an empty bignum for an empty string Gilles Peskine 2021-06-08 18:32:34 +02:00
  • 45adf6fca9 DHM: test some edge cases for the generator Gilles Peskine 2021-06-09 13:37:31 +02:00
  • 058d009a61 Add RSA tests with message=0 Gilles Peskine 2021-06-09 16:24:35 +02:00
  • f4998b0a20 Fix multiplication producing a negative zero Gilles Peskine 2021-06-10 15:51:54 +02:00
  • b4347d859b mbedtls_mpi_gcd: small optimization Gilles Peskine 2021-06-09 13:27:05 +02:00
  • 27253bc885 mbedtls_mpi_gcd: fix the case B==0 Gilles Peskine 2021-06-09 13:26:43 +02:00
  • 3008dde386 Changelog for the fix to mbedtls_mpi_exp_mod(A=0) Gilles Peskine 2021-06-09 18:55:57 +02:00
  • 3da1a8ff39 Fix null pointer dereference in mbedtls_mpi_exp_mod Gilles Peskine 2021-06-08 23:17:42 +02:00
  • 3637488eb4 Add many test cases involving 0 Gilles Peskine 2021-06-08 23:01:13 +02:00
  • 342f71b512 Test mbedtls_mpi_exp_mod both with and without _RR Gilles Peskine 2021-06-09 18:31:35 +02:00
  • 424390c517 mbedtls_mpi_exp_mod test: don't read RR from test data Gilles Peskine 2021-06-09 18:28:35 +02:00
  • 9e9314ff93 Add some GCD tests Gilles Peskine 2021-06-09 10:52:12 +02:00
  • d0722f8e71 Test mbedtls_mpi_safe_cond_{assign,swap} with the basic functions Gilles Peskine 2021-06-10 23:00:33 +02:00
  • fc1eeefc99 Overhaul testing of mbedtls_mpi_swap Gilles Peskine 2021-06-10 22:29:57 +02:00
  • 90ec8e857c Overhaul testing of mbedtls_mpi_copy Gilles Peskine 2021-06-10 15:17:30 +02:00
  • dffc710008 Test the validity of the sign bit after constructing an MPI object Gilles Peskine 2021-06-10 15:34:15 +02:00
  • 20edee7b17 Use mbedtls_test_read_mpi in test suites Gilles Peskine 2021-06-10 23:18:39 +02:00
  • ebc49e5bff New test helper mbedtls_test_read_mpi Gilles Peskine 2021-06-11 14:13:53 +02:00
  • 5fb6f700ba Clarify a few test descriptions (mostly involving 0) Gilles Peskine 2021-06-08 23:00:17 +02:00
  • 37d690c45b Correct some statements about the ordering of A and B Gilles Peskine 2021-06-21 18:58:39 +02:00
  • b798b35374 Clarification in a comment Gilles Peskine 2021-06-21 11:40:38 +02:00
  • 38a384d2cc Simplify is-zero check Gilles Peskine 2021-06-17 14:35:25 +02:00
  • 8802b127b5 Fix copypasta in test data Gilles Peskine 2021-06-17 14:31:54 +02:00
  • ea9aa14b3a Write a proof of correctness for mbedtls_mpi_gcd Gilles Peskine 2021-06-16 13:42:04 +02:00
  • 6537bdb5e0 Explain how the code relates to the description in HAC Gilles Peskine 2021-06-15 22:09:39 +02:00
  • ae7f75c908 Fix copypasta in test cases Gilles Peskine 2021-06-15 22:06:02 +02:00
  • 2c9916994f Annotate the choice of representation of 0 in more places Gilles Peskine 2021-06-15 22:03:37 +02:00
  • cd147d6ddc Improve coverage of mbedtls_mpi_cmp_mpi Gilles Peskine 2021-06-15 22:01:23 +02:00
  • 3df0554c7e Fix copypasta in test function argument name Gilles Peskine 2021-06-15 21:55:05 +02:00
  • 14db18dd85 Unify G=1 and G=-1 test cases Gilles Peskine 2021-06-15 21:53:47 +02:00
  • 9078e756b0 In test cases where the result is 0, express it as "0", not "" Gilles Peskine 2021-06-15 21:49:31 +02:00
  • d65b50063a Fix multiplication with negative result and a low-order 0 limb Gilles Peskine 2021-06-15 21:44:32 +02:00
  • 0759cadddf Whitespace fix Gilles Peskine 2021-06-15 21:22:48 +02:00
  • 399c8fad55 mpi_shrink test: just set the top bit Gilles Peskine 2021-06-15 21:19:18 +02:00
  • d9aeb12975 Tweak grouping of GCD test cases Gilles Peskine 2021-06-15 21:10:50 +02:00
  • 2c65b17b4e Make GCD test descriptions more uniform Gilles Peskine 2021-06-15 21:10:16 +02:00
  • c513934f8c Changelog entry for the mbedtls_mpi_read_xxx changes Gilles Peskine 2021-06-11 16:25:36 +02:00
  • d48761317c mbedtls_mpi_read_string: make an empty bignum for an empty string Gilles Peskine 2021-06-08 18:32:34 +02:00
  • 0bea4d14e0 DHM: test some edge cases for the generator Gilles Peskine 2021-06-09 13:37:31 +02:00
  • 88ea3e86d7 Add RSA tests with message=0 Gilles Peskine 2021-06-09 16:24:35 +02:00
  • 70a7dcda3f Fix multiplication producing a negative zero Gilles Peskine 2021-06-10 15:51:54 +02:00
  • c86acc5434 mbedtls_mpi_gcd: small optimization Gilles Peskine 2021-06-09 13:27:05 +02:00
  • b5e56ec5fd mbedtls_mpi_gcd: fix the case B==0 Gilles Peskine 2021-06-09 13:26:43 +02:00
  • 37e7736d8e Changelog for the fix to mbedtls_mpi_exp_mod(A=0) Gilles Peskine 2021-06-09 18:55:57 +02:00
  • f643e8e8a9 Fix null pointer dereference in mbedtls_mpi_exp_mod Gilles Peskine 2021-06-08 23:17:42 +02:00
  • bcfc83f7c8 Add many test cases involving 0 Gilles Peskine 2021-06-08 23:01:13 +02:00
  • 4cc8021a00 Test mbedtls_mpi_exp_mod both with and without _RR Gilles Peskine 2021-06-09 18:31:35 +02:00
  • 1c6d6be355 mbedtls_mpi_exp_mod test: don't read RR from test data Gilles Peskine 2021-06-09 18:28:35 +02:00
  • 673d3eaa08 Add some GCD tests Gilles Peskine 2021-06-09 10:52:12 +02:00
  • 502316724f Test mbedtls_mpi_safe_cond_{assign,swap} with the basic functions Gilles Peskine 2021-06-10 23:00:33 +02:00
  • d382c28976 Overhaul testing of mbedtls_mpi_swap Gilles Peskine 2021-06-10 22:29:57 +02:00
  • 77f55c9b00 Overhaul testing of mbedtls_mpi_copy Gilles Peskine 2021-06-10 15:17:30 +02:00
  • b53b218bf2 Test the validity of the sign bit after constructing an MPI object Gilles Peskine 2021-06-10 15:34:15 +02:00
  • a0f4e10e61 Use mbedtls_test_read_mpi in test suites Gilles Peskine 2021-06-10 23:18:39 +02:00
  • db4797198a New test helper mbedtls_test_read_mpi Gilles Peskine 2021-06-11 14:13:53 +02:00
  • 23942a4b20 Clarify a few test descriptions (mostly involving 0) Gilles Peskine 2021-06-08 23:00:17 +02:00
  • e7885e5441 RSA: Require hashlen to match md_alg when applicable Manuel Pégourié-Gonnard 2021-06-22 12:29:27 +02:00
  • 36ff66c4b4 Merge pull request #4316 from gabor-mezei-arm/3258_implement_one-shot_MAC Gilles Peskine 2021-06-22 12:18:25 +02:00
  • 07941f45e6 Merge pull request #4690 from gilles-peskine-arm/debug-print-mpi-null-2.16 Manuel Pégourié-Gonnard 2021-06-22 12:09:05 +02:00
  • 6a55de9057 Merge pull request #4623 from gilles-peskine-arm/debug-print-mpi-null-2.x Manuel Pégourié-Gonnard 2021-06-22 12:08:57 +02:00
  • c9807ea0cc Merge pull request #4622 from gilles-peskine-arm/default-hashes-curves-2.16 Manuel Pégourié-Gonnard 2021-06-22 12:08:49 +02:00
  • 9a11ac9cc1 Merge pull request #4621 from gilles-peskine-arm/default-hashes-curves-2.x Manuel Pégourié-Gonnard 2021-06-22 12:08:43 +02:00
  • 3e7ddb2bb6 Merge pull request #4604 from gilles-peskine-arm/default-hashes-curves-3.0 Manuel Pégourié-Gonnard 2021-06-22 12:08:37 +02:00
  • 508d3a5824 Merge pull request #4664 from tom-daubney-arm/rm_truncated_HMAC_ext Manuel Pégourié-Gonnard 2021-06-22 11:53:10 +02:00
  • 18d1e66fcf Tweak MSVC detection to work with non-English Visual Studio Gilles Peskine 2021-06-22 11:26:19 +02:00
  • 32750ef5c2 Merge pull request #4685 from mpg/improve-all-sh-robustness Manuel Pégourié-Gonnard 2021-06-22 11:14:49 +02:00
  • fa719f7415 Merge branch 'mbedtls-2.16' into mbedtls-2.16-restricted Manuel Pégourié-Gonnard 2021-06-22 10:57:13 +02:00
  • 5ea63a31c4 Mention the Montgomery curve exception Gilles Peskine 2021-06-22 10:50:04 +02:00
  • 82a5a9dcdd Merge branch 'development_2.x' into development_2.x-restricted Manuel Pégourié-Gonnard 2021-06-22 10:42:04 +02:00
  • 8aed60bdfb Merge branch 'development' into development-restricted Manuel Pégourié-Gonnard 2021-06-22 10:36:06 +02:00
  • b3b1d4d9b4 Merge pull request #4684 from JoeSubbiani/2.16FixedMissingContextFree Dave Rodgman 2021-06-22 09:24:19 +01:00
  • c158213b2e Merge pull request #4678 from JoeSubbiani/FixedMissingContextFree-test_suite_aes Dave Rodgman 2021-06-22 09:24:14 +01:00
  • 8f2b66a39a Merge pull request #4676 from JoeSubbiani/MissingContextFree-test_suite_aes.function Dave Rodgman 2021-06-22 09:24:08 +01:00
  • 21efe44af3 Merge branch 'development' into development-restricted Manuel Pégourié-Gonnard 2021-06-22 10:20:48 +02:00
  • 34666bb361 Merge pull request #836 from mpg/rsa-lookup-2.16-restricted Manuel Pégourié-Gonnard 2021-06-22 09:33:28 +02:00
  • b7a87e3059 Merge pull request #835 from mpg/rsa-lookup-2.x-restricted Manuel Pégourié-Gonnard 2021-06-22 09:33:24 +02:00
  • da1eab3c3f Merge pull request #828 from mpg/rsa-lookup-restricted Manuel Pégourié-Gonnard 2021-06-22 09:33:20 +02:00
  • 58344efc91 Merge pull request #4689 from gilles-peskine-arm/winsock-fd-range-2.16 Manuel Pégourié-Gonnard 2021-06-22 09:29:41 +02:00
  • 3f0538d7b7 Merge pull request #4688 from gilles-peskine-arm/winsock-fd-range-2.x Manuel Pégourié-Gonnard 2021-06-22 09:29:33 +02:00
  • ffafae4f51 Merge pull request #4687 from gilles-peskine-arm/winsock-fd-range-3.0 Manuel Pégourié-Gonnard 2021-06-22 09:29:23 +02:00
  • a805d57261 Merge pull request #4588 from TRodziewicz/remove_MD2_MD4_RC4_Blowfish_and_XTEA Manuel Pégourié-Gonnard 2021-06-22 09:27:41 +02:00
  • b047f99441 Reword changelog - Test Resource Leak Joe Subbiani 2021-06-21 16:59:25 +01:00
  • 7d5fa2be81 Reword changelog - Test Resource Leak Joe Subbiani 2021-06-21 16:57:28 +01:00
  • 08b5ab2b81 Reword changelog - Test Resource Leak Joe Subbiani 2021-06-21 16:50:51 +01:00
  • 4a28ade6e9 Changing the key length to 32 bytes in one of the PSA cipher setup tests TRodziewicz 2021-06-21 17:37:39 +02:00
  • f41dc7cb35 Removal of RC4 certs and fixes to docs and tests TRodziewicz 2021-06-21 13:27:29 +02:00
  • ab97e003f3 Improve psa_rsa_decode_md_type() Janos Follath 2021-06-21 10:56:29 +01:00
  • 3dd3ff0096 Add ChangeLog entry Janos Follath 2021-06-15 16:08:29 +01:00
  • 4c0b60e5fa Fix exercise key test Janos Follath 2021-06-14 12:34:30 +01:00
  • ae50d28e4c Fix verify_hash tests for PSA RSA PSS Janos Follath 2021-06-07 14:41:53 +01:00
  • 0af093b6c8 PSA RSA PSS: pass pre-hash algorithm to Mbed TLS Janos Follath 2021-06-07 14:34:10 +01:00
  • b795332401 mbedtls_rsa_rsassa_pss_*: improve documentation Janos Follath 2021-04-01 14:44:17 +01:00
  • 296fefeb98 Fix return type of example key export callbacks Hanno Becker 2021-06-21 09:32:27 +01:00
  • c8031855d0 Update changelog formatting - Missing Free Context Joe Subbiani 2021-06-21 09:30:50 +01:00
  • 3db875e66a Add missing parentheses Gilles Peskine 2021-06-07 20:56:20 +02:00
  • 5eace4c826 Indicate that the truncation from size_t to int is deliberate Gilles Peskine 2021-06-03 11:12:04 +02:00
  • e1a31284de Simplify mbedtls_debug_print_mpi and fix the case of empty bignums Gilles Peskine 2021-06-02 20:17:46 +02:00