Commit Graph

  • e9d4fc09a3 fix binder value security issue Jerry Yu 2022-08-20 19:21:15 +08:00
  • 24b8c813c4 fix comments and wrong initial value issues Jerry Yu 2022-08-20 19:06:56 +08:00
  • 5d01c05d93 fix various issues Jerry Yu 2022-08-17 10:18:10 +08:00
  • 6cf6b47b5c fix format and comment issues Jerry Yu 2022-08-16 14:50:28 +08:00
  • b25d10f153 Add mismatch key tests Jerry Yu 2022-08-21 12:53:53 +08:00
  • 2b7a51ba8f Add psk_or_ephemeral mode and tests Jerry Yu 2022-08-01 10:19:13 +08:00
  • 63c78b869f add all mode tests Jerry Yu 2022-07-31 13:19:11 +08:00
  • 3b70b3cce9 add epemeral_all tests Jerry Yu 2022-07-31 13:17:37 +08:00
  • badd46f040 add psk_all tests Jerry Yu 2022-07-31 13:16:44 +08:00
  • fa8c306258 add ephemeral tests Jerry Yu 2022-07-31 13:14:56 +08:00
  • 9b83fa1149 add psk_ephemeral tests Jerry Yu 2022-07-31 13:13:51 +08:00
  • 6a9bebaefd Add psk mode tests Jerry Yu 2022-07-31 12:45:25 +08:00
  • 07c0f12302 test_suite_pem.data: change MBEDTLS_CMAC_C->MBEDTLS_CIPHER_MODE_CBC dependency Przemek Stekiel 2022-08-19 13:41:52 +02:00
  • beb4fc0723 Merge pull request #6185 from leorosen/tls12_server_null_on_missing_key Dave Rodgman 2022-08-19 20:22:59 +01:00
  • 906bdbb66e Merge pull request #6215 from daverodgman/pr6185-backport Dave Rodgman 2022-08-19 20:22:36 +01:00
  • 19e5973566 mbedtls_ssl_check_curve prevent potential NULL pointer dereferencing Leonid Rozenboim 2022-08-08 16:52:38 -07:00
  • 81e742333e ssl_tls12_server: fix potential NULL-dereferencing if local certificate was not set. Leonid Rozenboim 2022-08-08 15:43:44 -07:00
  • deb8030e9f Improve mbedtls_mpi_core_lt_ct() unit tests Janos Follath 2022-08-19 13:32:17 +01:00
  • a95f204cd3 Improve documentation Janos Follath 2022-08-19 12:09:17 +01:00
  • ca5688e10c Improve coding style Janos Follath 2022-08-19 12:05:28 +01:00
  • b7a88eca42 Bignum: Apply naming conventions Janos Follath 2022-08-19 12:24:40 +01:00
  • 6b8a4ad0d8 Bignum: update const qualifiers Janos Follath 2022-08-19 10:58:34 +01:00
  • 01a7d310d5 Make ecjpake test suite depend on MBEDTLS_HAS_ALG_SHA_256_VIA_MD_OR_PSA Neil Armstrong 2022-08-11 11:36:07 +02:00
  • 5d7a235efe Simplify test for ecdsa_verify Dave Rodgman 2022-08-19 11:26:32 +01:00
  • 34ff6a7a31 Correct documentation for mbedtls_ecdsa_verify Dave Rodgman 2022-08-19 11:08:07 +01:00
  • b153c6c31b Improve test descriptions Dave Rodgman 2022-08-18 16:05:49 +01:00
  • cd57a61fec Paramaterise ecdsa_verify test case more clearly Dave Rodgman 2022-08-18 15:48:46 +01:00
  • b44c72861f Minor tidy-up Dave Rodgman 2022-08-11 13:47:35 +01:00
  • d106308c83 Changelog for ECDSA verify fix Dave Rodgman 2022-08-10 13:41:11 +01:00
  • 66bcadb47d Fix duplicate test names Dave Rodgman 2022-08-10 13:31:44 +01:00
  • 56cfb31dd1 Add missing newlines Dave Rodgman 2022-08-10 12:21:23 +01:00
  • c947751a5f Fix ECDSA signature verification edge-case Dave Rodgman 2022-08-10 11:26:24 +01:00
  • 1fdb8e8c17 Add unit tests for ECDSA with invalid public key Dave Rodgman 2022-08-10 11:32:07 +01:00
  • a327b52427 Fix incorrect use of mbedtls_ecp_group_id in test_suite_ssl.function Tom Cosgrove 2022-08-03 08:33:06 +01:00
  • 7b044c1bbf Enable ECJPAKE in test_crypto_full_no_md () & test_psa_crypto_config_accel_hash_use_psa () components Neil Armstrong 2022-08-11 11:19:03 +02:00
  • ecaba1c9b2 Make use of PSA crypto hash if MBEDTLS_MD_C isn't defined Neil Armstrong 2022-08-11 10:47:08 +02:00
  • 0d76341eac Remove md_info by md_type in ecjpake context, use mbedtls_hash_info_get_size() to get hash length Neil Armstrong 2022-08-11 10:32:22 +02:00
  • bc3906c58f pem_pbkdf1(): optimize psa version Przemek Stekiel 2022-08-19 09:16:36 +02:00
  • 10836a04a9 config: Fix requirements for MBEDTLS_X509_USE_C and MBEDTLS_X509_CREATE_C Przemek Stekiel 2022-08-19 08:45:34 +02:00
  • bf01c64e9d oid.c: unify dependencies (VIA_MD_OR_PSA->VIA_LOWLEVEL_OR_PSA) Przemek Stekiel 2022-08-18 13:41:18 +02:00
  • 4146525ce9 Fix compilation guard (comment) Przemek Stekiel 2022-08-18 12:43:07 +02:00
  • 0cd6f08e6f pem.c: fix style issues (redundant spaces) Przemek Stekiel 2022-08-18 12:38:30 +02:00
  • d23a4efe2c pem.c: remove redundant compilation guard Przemek Stekiel 2022-08-18 11:56:54 +02:00
  • c410ccc528 Include psa/crypto.h in legacy_or_psa.h Przemek Stekiel 2022-08-18 10:51:31 +02:00
  • 4092ff9ba9 pem.c: add internal macro to increase code readability Przemek Stekiel 2022-08-11 08:49:21 +02:00
  • bc0509a36b test_suite_pem, test_suite_pkparse: Adjust dependecies Przemek Stekiel 2022-08-10 15:10:15 +02:00
  • 12e69cb806 oid.h: remove MBEDTLS_MD_C guard Przemek Stekiel 2022-08-09 19:29:07 +02:00
  • 829e97d029 Fix include order Przemek Stekiel 2022-08-09 14:58:35 +02:00
  • 76b753bbb7 Change the dependencies in pem.c to xxx_BASED_ON_USE_PSA and related files Przemek Stekiel 2022-08-09 10:54:45 +02:00
  • 81799fd9d8 pem.c, test_suite_pem: fix dependency MBEDTLS_HAS_ALG_MD5_VIA_MD_OR_PSA->MBEDTLS_HAS_ALG_MD5_VIA_LOWLEVEL_OR_PSA Przemek Stekiel 2022-08-05 12:37:58 +02:00
  • 2c70a0d9e0 test_suite_oid: Replace MBEDTLS_MD5_C and MBEDTLS_SHAxxx_C with the corresponding MBEDTLS_HAS_ALG_xxx_VIA_LOWLEVEL_OR_PSA Przemek Stekiel 2022-08-05 11:47:48 +02:00
  • 050819c19e test_suite_x509write: Move MBEDTLS_HAS_ALG_SHA_1_VIA_MD_OR_PSA dependency for x509_crt_check to .function file Przemek Stekiel 2022-08-05 11:12:17 +02:00
  • 41b742f84d test_suite_pem: Adapt dependencies for MD Przemek Stekiel 2022-08-04 12:13:53 +02:00
  • be92bee58a pem.c: Fix conditional compilation flags Przemek Stekiel 2022-08-04 10:38:34 +02:00
  • f8087e5ffd x509_crt_check: remove MBEDTLS_SHA1_C dependency from .function file (already handed in .data file) Przemek Stekiel 2022-08-04 08:43:42 +02:00
  • a68d08f7d1 pem.c: adjust for bulid without md Przemek Stekiel 2022-08-04 08:42:06 +02:00
  • 55c17430be oid.h: remove redundant MBEDTLS_MD_C dependency Przemek Stekiel 2022-08-03 10:52:44 +02:00
  • b792cfd423 component_test_psa_crypto_config_accel_hash_use_psa: stop removing all X.509 modules from the build Przemek Stekiel 2022-08-03 09:58:40 +02:00
  • 278b6674bd check_config.h: Adjust x509 dependencies (MBEDTLS_MD_C or MBEDTLS_USE_PSA_CRYPTO) Przemek Stekiel 2022-08-03 09:50:38 +02:00
  • de81028f00 Adjust dependencies in library/oid.c Przemek Stekiel 2022-08-02 23:28:04 +02:00
  • fd18366965 Adjust declared dependencies in library/x509* Przemek Stekiel 2022-08-02 15:29:20 +02:00
  • d34f8c36b8 x509 tests: adjust dependencies Przemek Stekiel 2022-08-02 09:09:29 +02:00
  • f3f6b0a5c3 Merge pull request #6123 from yuhaoth/pr/finialize-tls13-serialize_session_save_load Ronald Cron 2022-08-19 08:16:05 +02:00
  • 70dfd4c8ac ssl_tls12_server: fix potential NULL-dereferencing if local certificate was not set. Leonid Rozenboim 2022-08-08 15:43:44 -07:00
  • f211d824d7 Be explicit about constant time bignum functions that must take a 0 or 1 condition value Tom Cosgrove 2022-08-18 14:09:18 +01:00
  • 583816caaf Be explicit about constant time bignum functions that must take a 0 or 1 condition value Tom Cosgrove 2022-08-18 14:09:18 +01:00
  • 92cd8642fa Merge pull request #6090 from hanno-arm/fix_bnmul_arm_v7a Dave Rodgman 2022-08-18 08:48:03 +01:00
  • e28d9745a1 fix coding style issues Jerry Yu 2022-08-18 15:44:03 +08:00
  • 5b7c7caee6 fix wrong condition issues Jerry Yu 2022-07-23 10:45:12 +08:00
  • 3419107e8d Add checks for ticket and resumption_key fields Jerry Yu 2022-08-18 10:32:09 +08:00
  • 86c333e79e Add explicit cast to satisfy compiler Dave Rodgman 2022-08-17 16:57:26 +01:00
  • 75683b08e4 Update scripts/generate_release_notes.py archive/dev/relnotes Dave Rodgman 2022-08-17 16:19:51 +01:00
  • e36fdd676c Change signature of tls13_session_save Jerry Yu 2022-08-17 21:31:36 +08:00
  • 03f7a6e086 Add armcc plain armv7-m target; tidy up arg order Dave Rodgman 2022-08-17 14:35:29 +01:00
  • 536f28c892 Respect MBEDTLS_HAVE_TIME in ssl_ticket Dave Rodgman 2022-08-17 14:20:36 +01:00
  • 392f714153 Fix type used for capturing TLS ticket generation time Dave Rodgman 2022-08-17 11:19:41 +01:00
  • 8c9a0aebb3 Merge pull request #5985 from zhangsenWang/development Dave Rodgman 2022-08-16 09:56:58 +01:00
  • 928527cba9 Merge pull request #5990 from zhangsenWang/mbedtls-2.28 Dave Rodgman 2022-08-16 09:56:52 +01:00
  • 96a4be990f Merge pull request #6177 from AndrzejKurek/ecdsa-no-md Dave Rodgman 2022-08-16 09:55:02 +01:00
  • a7448bf19d Merge pull request #6141 from mpg/driver-hashes-rsa-v21 Dave Rodgman 2022-08-16 09:52:39 +01:00
  • 9d5b399b5d rebase with latest 2.28 branch Zhangsen Wang 2022-08-16 03:27:48 +00:00
  • 3f95d303d1 rebase with lastest development branch Zhangsen Wang 2022-08-16 03:16:22 +00:00
  • 60b50e18fe Add test for ECP group metadata Werner Lewis 2022-08-15 11:43:56 +01:00
  • e54046c9c2 Add test for ECP group metadata Werner Lewis 2022-08-15 11:43:56 +01:00
  • 938dc19ef2 Add auxiliary ECP comparison function Werner Lewis 2022-08-15 12:56:12 +01:00
  • cc93908b88 Bignum: Declare loop variable in loop head Janos Follath 2022-08-15 12:08:49 +01:00
  • 620c58ced9 Bignum: make const placement consistent Janos Follath 2022-08-15 11:58:42 +01:00
  • ed5c8d3d1e Bignum: make modulus value const Janos Follath 2022-08-15 11:50:22 +01:00
  • 138f51c5c8 Fix alphabetic order in makefiles Janos Follath 2022-08-15 11:38:30 +01:00
  • 816206439a Bignum: Improve style Janos Follath 2022-08-15 11:13:38 +01:00
  • fd65e82753 Rename structure elements Gabor Mezei 2022-08-12 18:09:12 +02:00
  • 7f0817884e Unify mpi mod raw read/write test with the other tests Gabor Mezei 2022-08-12 18:00:33 +02:00
  • c414ba3fc0 Simplify code Gabor Mezei 2022-08-12 17:47:39 +02:00
  • 5a5c0c5f0a Move the declaration of variables to their scope of usage Gabor Mezei 2022-08-12 15:40:09 +02:00
  • 7f93264ab1 Change struct element order Gabor Mezei 2022-08-12 15:37:27 +02:00
  • 89e31460db Typo Gabor Mezei 2022-08-12 15:36:56 +02:00
  • d41f627650 Order the file names Gabor Mezei 2022-08-12 15:20:21 +02:00
  • 7b1be55484 Merge pull request #5993 from eliteraspberries/android-soname Dave Rodgman 2022-08-12 13:49:55 +01:00
  • 5f56df44f0 Remove redundant check Gabor Mezei 2022-08-12 14:41:54 +02:00
  • bf9da1dfb1 Do not read if output pointer is NULL Gabor Mezei 2022-08-12 14:11:56 +02:00