Commit Graph

  • 273efeb0eb Add Changelog entry Dave Rodgman 2022-08-12 10:27:50 +01:00
  • fca2bcc733 Update bump_version.sh to recognise Makefile changes Dave Rodgman 2022-08-12 10:17:18 +01:00
  • 6a8673092f Allow non-versioned library soname. Mansour Moufid 2022-06-29 17:28:03 -04:00
  • 6318468183 Improve bignum documentation Janos Follath 2022-08-11 17:42:59 +01:00
  • a30b4e5692 Bignum: remove duplicate documentation from source Janos Follath 2022-08-11 17:15:18 +01:00
  • 8b0799d43f Merge pull request #6181 from wernerlewis/ecp_set_zero Dave Rodgman 2022-08-11 16:43:19 +01:00
  • a77287f8fa Merge pull request #6182 from wernerlewis/ecp_set_zero_2.28 Dave Rodgman 2022-08-11 16:43:11 +01:00
  • 2ab2d3e3e9 Inline mpi_core_clear() Janos Follath 2022-08-11 16:13:53 +01:00
  • 56a10f97ba Bignum: remove unnecessary NULL pointer checks Janos Follath 2022-08-11 15:19:00 +01:00
  • 296ea66442 Bignum: clean up use of enums Janos Follath 2022-08-11 14:58:29 +01:00
  • 5c28e7aa0e remove psk key when ephemeral selected Jerry Yu 2022-07-30 23:22:08 +08:00
  • 56acc9421c Write key_share base on key_exchange mode. Jerry Yu 2022-07-30 23:02:36 +08:00
  • f0bad2554a Continue check next psk key when binder mismatch Jerry Yu 2022-07-30 13:45:24 +08:00
  • 32e1370fbc Add config check for pre_shared_key parser Jerry Yu 2022-07-29 13:04:08 +08:00
  • e95c8af266 Align ciphersuite with psk key Jerry Yu 2022-07-26 15:48:20 +08:00
  • ccc68a466e change handshake psk key type for tls13 Jerry Yu 2022-07-26 16:39:20 +08:00
  • 295d93ebe8 Add psk handshake with gnutls Ronald Cron 2022-07-19 08:21:29 +02:00
  • 40f3771e18 Add handshake psk export function. Jerry Yu 2022-07-26 16:58:57 +08:00
  • 1af61cb75b Introduce a new macro for hash size in ecdsa tests Andrzej Kurek 2022-08-11 09:19:42 -04:00
  • 9dfb5621ff Test little endian core I/O with odd limbs Janos Follath 2022-08-11 12:15:55 +01:00
  • 1cb3b976c3 Test big endian core I/O with odd limbs Janos Follath 2022-08-11 10:50:04 +01:00
  • 71bf28bb34 Fix include file path Przemek Stekiel 2022-07-29 12:12:00 +02:00
  • f98b57f231 Initialize status/ret to error value Przemek Stekiel 2022-07-29 11:27:46 +02:00
  • 2aae040615 make ret_from_status() global function and move it to has_info.[ch] Przemek Stekiel 2022-07-29 11:20:07 +02:00
  • 712bb9c5af Use more suitable function for checking if hash is supported Przemek Stekiel 2022-07-29 11:12:00 +02:00
  • 79b99f47a1 Fix definition of MD_OR_PSA macros Manuel Pégourié-Gonnard 2022-07-27 23:04:21 +02:00
  • 7d5271608b Fix undeclared dependencies on SHA-1 Manuel Pégourié-Gonnard 2022-07-27 20:09:38 +02:00
  • e741c61d54 Adjust dependencies in test_suite_pkcs1_v21 Manuel Pégourié-Gonnard 2022-07-27 13:13:55 +02:00
  • 7a27e85f5c Fix failure of RSA accel test Manuel Pégourié-Gonnard 2022-07-27 12:30:34 +02:00
  • 077ba8489d PKCS#1 v2.1 now builds with PSA if no MD_C Manuel Pégourié-Gonnard 2022-07-27 10:42:31 +02:00
  • faa3b4e0c3 Get rid of md_info outside helper functions Manuel Pégourié-Gonnard 2022-07-15 13:18:15 +02:00
  • 35c09e4824 Introduce compute_hash() function Manuel Pégourié-Gonnard 2022-07-15 13:10:54 +02:00
  • f701acc088 Extract common code into hash_mprime() Manuel Pégourié-Gonnard 2022-07-15 12:49:14 +02:00
  • f3a6755450 Simplify callers of mgf_mask() Manuel Pégourié-Gonnard 2022-07-15 12:16:42 +02:00
  • 259c213545 Tune API of internal function mgf_mask in RSA Manuel Pégourié-Gonnard 2022-07-15 12:09:08 +02:00
  • 8a9f88899d Merge pull request #6186 from leorosen/ssl_tls_null_on_invalid_code Dave Rodgman 2022-08-11 10:12:34 +01:00
  • 322a7a19e7 Merge pull request #6155 from yuhaoth/pr/add-any-all-configs-enabled Dave Rodgman 2022-08-11 09:40:38 +01:00
  • 9ac6b28e27 ctr_drbg: remove mbedtls_aes_init call from mbedtls_ctr_drbg_seed kXuan 2022-08-11 09:52:18 +08:00
  • 62c8763de7 Improve macro expansion help message Jerry Yu 2022-08-11 10:18:36 +08:00
  • 8d59c86f61 Make pylint happy Janos Follath 2022-08-10 15:35:35 +01:00
  • c6d16362f3 Copy files instead of hard-linking on Windows Dominik Gschwind 2022-08-10 16:27:14 +02:00
  • d0895708e2 Bignum: move internal constants to headers Janos Follath 2022-08-10 13:32:16 +01:00
  • 9938719a05 Allow internal macros without prefix Janos Follath 2022-08-10 11:11:34 +01:00
  • 11e9310fd1 ctr_drbg: fix free uninitialized aes context kXuan 2022-08-10 16:32:06 +08:00
  • 08dccc1f75 Improve help message Jerry Yu 2022-08-10 10:02:04 +08:00
  • e9d8dcdbf5 ssl_tls: avoid the appearance of a potential NULL dereferencing Leonid Rozenboim 2022-08-08 15:57:48 -07:00
  • c47c0569d4 Remove VALIDATE macros from bignum_core.c Janos Follath 2022-08-09 13:54:43 +01:00
  • 3469f7a732 Merge pull request #6187 from daverodgman/backport-iar-fatal-warnings Dave Rodgman 2022-08-09 13:50:23 +01:00
  • d1baedb786 Bignum: extract bignum_mod.h functions Janos Follath 2022-08-09 13:44:53 +01:00
  • 0ded631879 Bignum: extract bignum_mod_raw.h functions Janos Follath 2022-08-09 13:34:54 +01:00
  • 3ca0775e59 Bignum: extract bignum_core.h functions Janos Follath 2022-08-09 11:45:47 +01:00
  • f421d45869 Merge pull request #6139 from AdityaHPatwardhan/fix/build_error_due_to_missing_prototype Dave Rodgman 2022-08-09 11:27:42 +01:00
  • a37f5c1da3 cmake: IAR support option( MBEDTLS_FATAL_WARNINGS) savent 2022-06-17 18:06:30 +08:00
  • 384f1e61f7 Merge pull request #5950 from savent404/development Dave Rodgman 2022-08-09 10:52:31 +01:00
  • 953ce3962f Merge pull request #5971 from yuhaoth/pr/add-rsa-pss-rsae-for-tls12 Dave Rodgman 2022-08-09 10:21:45 +01:00
  • 55a3285faf Add test case for mbedtls_ecp_set_zero Werner Lewis 2022-08-08 11:53:45 +01:00
  • 3b09739c1b Add test case for mbedtls_ecp_set_zero Werner Lewis 2022-08-08 11:53:45 +01:00
  • 1694969a0a Bignum: Add tests for modulus setup and free Janos Follath 2022-08-08 13:37:20 +01:00
  • d86b8ac111 Fix test_psa_crypto_config_accel_hash_use_psa build when including libtestdriver1 PSA headers from programs Neil Armstrong 2022-07-20 16:25:49 +02:00
  • 9bb8e0d3c5 Fix fuzz_privkey build without MBEDTLS_ENTROPY_C defined Neil Armstrong 2022-07-20 16:25:06 +02:00
  • a97f1ac5f9 Initialize mbedtls_x509write_csr struct before USE_PSA_INIT(), mbedtls_x509write_csr_free() will crash if uninitialized Neil Armstrong 2022-07-20 15:49:49 +02:00
  • 9f42c0683c Adjust hash dependencies in test_suite_ecdsa Andrzej Kurek 2022-08-08 03:49:10 -04:00
  • 75ef944da3 Fix CMake change failures on Windows Werner Lewis 2022-07-21 16:57:22 +01:00
  • 6a31396a13 Fix incorrect indentation Werner Lewis 2022-07-20 15:16:50 +01:00
  • 265e051d06 Remove is None from if statement Werner Lewis 2022-07-20 14:45:23 +01:00
  • c442f6a3d6 Fix type issues Werner Lewis 2022-07-20 14:13:44 +01:00
  • b17ca8ad80 Remove set() to preserve test case order Werner Lewis 2022-07-20 13:35:53 +01:00
  • a51fe2b27e Sort tests when generating cases Werner Lewis 2022-07-20 13:35:22 +01:00
  • 86caf85ed2 Add test case generation for bignum add Werner Lewis 2022-07-18 17:22:58 +01:00
  • 69a92ce497 Add test generation for bignum cmp variant Werner Lewis 2022-07-18 15:49:43 +01:00
  • 8b2df74b12 Add bignum test generation framework Werner Lewis 2022-07-08 13:54:57 +01:00
  • dae1147596 Improve Bignum documentation Janos Follath 2022-08-08 11:50:02 +01:00
  • 8ff0729dd7 Fix typos in Bignum documentation Janos Follath 2022-08-08 08:39:52 +01:00
  • a200f6f855 Add macro definitions to the tests Gabor Mezei 2022-08-03 12:59:57 +02:00
  • 6666914b76 Revert "Move Bignum macros to common header" Gabor Mezei 2022-08-03 12:52:26 +02:00
  • 37b06360b3 Add documentation for new bignum functions Gabor Mezei 2022-08-02 17:22:18 +02:00
  • 23a1ce90ec Add tests for mbedtls_mpi_mod_raw read/write functions Gabor Mezei 2022-08-02 11:54:44 +02:00
  • c0b9304f92 Use value as numerical value instead of bitfield value Gabor Mezei 2022-08-02 11:52:37 +02:00
  • d8f5bc2d3d Free the correct struct element Gabor Mezei 2022-08-02 11:51:25 +02:00
  • 535f36d203 Unify parameter naming Gabor Mezei 2022-08-02 11:50:44 +02:00
  • e66b1d47ed Typo Gabor Mezei 2022-08-02 11:49:59 +02:00
  • 8b718b5a66 Add bounds check to residue input Janos Follath 2022-07-25 11:31:02 +01:00
  • 23bdeca64d Add core constant time comparison Janos Follath 2022-07-22 18:24:06 +01:00
  • 5f016650d7 Reuse Bignum core I/O functions Janos Follath 2022-07-22 16:18:41 +01:00
  • 91dc67d31c Allow (NULL, 0) as a representation of 0 Janos Follath 2022-07-22 14:24:58 +01:00
  • 4670f88991 Reuse Bignum helper functions Janos Follath 2022-07-21 18:25:42 +01:00
  • 4614b9ad1b Move Bignum macros to common header Janos Follath 2022-07-21 15:34:47 +01:00
  • 6ff3536de5 Add tests for little endian core I/O Janos Follath 2022-07-21 15:27:21 +01:00
  • f1d617deb8 Add tests for big endian core I/O Janos Follath 2022-07-21 09:29:32 +01:00
  • ba5c139e4c Add more validation to modulus life cycle Janos Follath 2022-07-19 13:42:07 +01:00
  • 281ccda8a5 Clean up mpi_mod_init/free Janos Follath 2022-07-19 13:14:36 +01:00
  • 5005edb36c Fix typos Janos Follath 2022-07-19 12:45:13 +01:00
  • c5328cf9a6 Add a set of I/O functions for the modulus structure Gabor Mezei 2022-07-18 23:13:13 +02:00
  • b903070cec Add a set of I/O functions Gabor Mezei 2022-07-18 23:09:45 +02:00
  • 0c655572dc Build the new bignum_new.c file Gabor Mezei 2022-07-18 23:08:26 +02:00
  • f049dbfe94 Add the new modulus and the residue structures Gabor Mezei 2022-07-18 23:02:33 +02:00
  • 2c08ac7842 Merge pull request #6157 from daverodgman/chacha-psa-defines-backport Gilles Peskine 2022-08-05 11:03:49 +02:00
  • 5740ff5f1f Merge pull request #5949 from Summer-ARM/mbedtls-psa-crypto-config Gilles Peskine 2022-08-05 11:03:45 +02:00
  • b4983d4556 Merge pull request #6164 from mprse/md_ssl_test Gilles Peskine 2022-08-05 11:02:44 +02:00
  • da126214ce Merge pull request #6071 from wernerlewis/bignum_test_radix_2.28 Gilles Peskine 2022-08-05 11:01:13 +02:00