Commit Graph

  • a0855a6d13 ssl_tls13_client.c: alpn: Add missing return value assignment Ronald Cron 2022-03-09 10:04:54 +01:00
  • de1adee51a Rename ssl_cli/srv.c Ronald Cron 2022-03-07 16:20:30 +01:00
  • 63d97ad0bb Merge pull request #5559 from yuhaoth/pr/add-rsae-sha384-sha512 Ronald Cron 2022-03-29 14:01:51 +02:00
  • d73d0a327a remove unnecessary condition Jerry Yu 2022-03-29 16:37:51 +08:00
  • 19f2d59184 Merge pull request #5660 from ronald-cron-arm/restore-full-compat-testing-2.28 Manuel Pégourié-Gonnard 2022-03-28 18:31:25 +02:00
  • 39f2f73e69 Merge pull request #5630 from ronald-cron-arm/restore-full-compat-testing Manuel Pégourié-Gonnard 2022-03-28 18:31:17 +02:00
  • e44d8e7eea Merge pull request #5369 from xkqian/add_2nd_client_hello Ronald Cron 2022-03-28 12:18:41 +02:00
  • e7dad1f616 ssl_tls.c: Fix inappropriate use of ssl context Ronald Cron 2022-03-28 10:19:54 +02:00
  • f1ed5951e3 ssl_srv.c: Mark ETM as disabled if cipher is not CBC Ronald Cron 2022-03-24 14:15:28 +01:00
  • 5c252620c5 Move MAC-ALL to self._ciphs in ssl-opt.sh XiaokangQian 2022-03-28 08:30:25 +00:00
  • 6a478ef054 mbedtls_ecp_group_cmp: change names of parameters to more suitable Przemek Stekiel 2022-03-28 07:25:12 +02:00
  • ab5274bb19 Remove parameters validation using ECP_VALIDATE_RET Przemek Stekiel 2022-03-28 07:23:08 +02:00
  • 2076cbe511 Add function name to changelog Przemek Stekiel 2022-03-28 07:22:11 +02:00
  • 2e17fb8c93 Change code base on comments XiaokangQian 2022-03-28 03:30:05 +00:00
  • ed6d6589b3 Use hash algoritm for parameter instead of HMAC Gabor Mezei 2022-03-26 17:28:06 +01:00
  • 07732f7015 Translate from mbedtls_md_type_t to psa_algorithm_t Gabor Mezei 2022-03-26 17:04:19 +01:00
  • 5d9a1fe9e9 PSA code depends on MBEDTLS_SSL_PROTO_TLS1_3 Gabor Mezei 2022-03-24 17:49:14 +01:00
  • fb39f15fa1 ssl_tls.c: Use ETM status only in CBC mode case Ronald Cron 2022-03-25 14:36:28 +01:00
  • 862902dd57 ssl_srv.c: Mark ETM as disabled if cipher is not CBC Ronald Cron 2022-03-24 14:15:28 +01:00
  • 618955d381 compat.sh: Fix check for OpenSSL support Ronald Cron 2022-03-23 14:14:19 +01:00
  • 2c74ff629d compat.sh: Restore full TLS compatibility testing Ronald Cron 2022-03-11 17:15:23 +01:00
  • c2e2876e0e compat.sh: Fix check for OpenSSL support Ronald Cron 2022-03-23 14:14:19 +01:00
  • 01e3c37f7b compat.sh: Restore full TLS compatibility testing Ronald Cron 2022-03-11 17:15:23 +01:00
  • a1931448f0 Update hrr test cases generation code without change class XiaokangQian 2022-03-25 11:58:22 +00:00
  • eff93f947d Rebase code to latest and solve conflicts XiaokangQian 2022-03-23 06:14:26 +00:00
  • 8031ba7fbf Update code base on comments XiaokangQian 2022-03-22 12:53:45 +00:00
  • cefa904759 Merge pull request #5622 from paul-elliott-arm/timing_delay_accessor Manuel Pégourié-Gonnard 2022-03-25 09:14:41 +01:00
  • 83f818811e Update test cases in tls13-compat.sh XiaokangQian 2022-03-17 06:26:36 +00:00
  • 68a87e4606 Remove the option r in generate_tls13_compat_tests.py XiaokangQian 2022-03-17 06:06:07 +00:00
  • 20438976f9 Change comments and styles base on review XiaokangQian 2022-03-04 08:52:07 +00:00
  • af56fd3b9d Disable some reported warnings in pylint XiaokangQian 2022-03-04 02:27:57 +00:00
  • b9cd73f640 Fix errors from pylint XiaokangQian 2022-03-03 03:54:50 +00:00
  • 7069cbc8d5 generate all tls13 hrr test cases for compatible mode XiaokangQian 2022-02-24 08:30:39 +00:00
  • c02768a399 Replace ssl->handshake with handshake in write_cookie_ext() XiaokangQian 2022-02-10 07:31:25 +00:00
  • 9b93c0dd8d Change cookie parameters for dtls and tls 1.3 XiaokangQian 2022-02-09 06:02:25 +00:00
  • 25c9c9023c Refine cookie len to fix compile issues XiaokangQian 2022-02-08 10:49:53 +00:00
  • 9deb90f74e Change parameter names and code style XiaokangQian 2022-02-08 10:31:07 +00:00
  • 5e3c947841 Fix right-shift data loss issue with MBEDTLS_PUT_UINT16_BE in cookie XiaokangQian 2022-02-08 05:56:34 +00:00
  • 233397ef88 Update code base on comments XiaokangQian 2022-02-07 08:32:16 +00:00
  • 0b64eedba8 Add cookies write in client hello XiaokangQian 2022-01-27 10:36:51 +00:00
  • 8372e18080 Add 2nd client hello XiaokangQian 2021-12-27 10:02:46 +00:00
  • 90045241e7 Merge pull request #5659 from yuhaoth/pr/fix-wrong-check-certificate-verify Ronald Cron 2022-03-25 08:35:41 +01:00
  • 6c6f10265d fix various issues Jerry Yu 2022-03-25 11:09:50 +08:00
  • 42d5e51a98 Make test function name more accurate Paul Elliott 2022-03-24 19:41:28 +00:00
  • 27b0d94e25 Use mbedtls_ssl_is_handshake_over() Paul Elliott 2022-03-18 21:55:32 +00:00
  • 72d81e56b6 Add cert_sig_algs into offered list Jerry Yu 2022-03-24 22:08:34 +08:00
  • 7de79850c9 Add cert_sig_algs for compat generate script Jerry Yu 2022-03-23 16:50:47 +08:00
  • bd1b3278b1 Remove useless code Jerry Yu 2022-03-24 13:05:20 +08:00
  • e6e73d63ec fix comments issue Jerry Yu 2022-03-24 13:05:08 +08:00
  • 226aca195f Fix running of all.sh on macOS Tom Cosgrove 2022-03-16 14:11:07 +00:00
  • b7f5b97650 Minor changes to sha256.c to bring it in line with sha512.c Tom Cosgrove 2022-03-15 11:26:55 +00:00
  • 87fbfb5d82 SECLIB-667: Accelerate SHA-512 with A64 crypto extensions Tom Cosgrove 2022-03-15 10:51:52 +00:00
  • e26acee896 Refactor guards for sig algs Jerry Yu 2022-03-23 21:01:33 +08:00
  • f8aa9a44aa fix various issues Jerry Yu 2022-03-23 20:40:28 +08:00
  • 5e4bf95d09 Merge pull request #5602 from superna9999/5174-md-hmac-dtls-cookies Manuel Pégourié-Gonnard 2022-03-23 13:05:24 +01:00
  • 8c3388620d create sig_alg decode function Jerry Yu 2022-03-23 13:34:04 +08:00
  • 0c23fc39c3 fix various guards issues Jerry Yu 2022-03-23 12:20:01 +08:00
  • 7533982f68 guard pk_error_from_psa_ecdsa with USE_PSA_CRYPTO Jerry Yu 2022-03-23 12:06:31 +08:00
  • e010de4be3 Rename ctx to rsa_ctx Jerry Yu 2022-03-23 11:45:55 +08:00
  • fb0621d841 fix pk_sign_ext issues Jerry Yu 2022-03-23 11:42:06 +08:00
  • 5fb7d176f3 Replace rsakey to 2048bits for test Jerry Yu 2022-03-23 11:05:01 +08:00
  • 93ba3e3918 Add mbedtls_ssl_is_handshake_over() function Paul Elliott 2022-03-18 21:51:13 +00:00
  • cef3f33012 Guard rsa sig algs with rsa_c and pkcs1_v{15,21} Jerry Yu 2022-03-22 23:00:13 +08:00
  • 701656fb29 fix redefine error Jerry Yu 2022-03-22 21:52:05 +08:00
  • e91a51a539 Refactor get_sig_alg_from pk Jerry Yu 2022-03-22 21:42:50 +08:00
  • bf455e7516 rename pk_psa_rsa_sign_ext param Jerry Yu 2022-03-22 21:39:41 +08:00
  • e2c882518c Add pk_sign_ext unit tests Jerry Yu 2022-03-22 21:18:52 +08:00
  • 3616533d26 tls13:remove ec check from validate certification Jerry Yu 2022-03-22 18:26:59 +08:00
  • 488a40eecb Rename psa_hmac to psa_hmac_key in mbedtls_ssl_cookie_ctx Neil Armstrong 2022-03-22 10:41:38 +01:00
  • c0db7623ec Also guard include of mbedtls/threading.h in ssl_cookie.h when USE_PSA_CRYPTO is set Neil Armstrong 2022-03-22 10:38:58 +01:00
  • dddf5a0e18 Refactor get_sig_alg_from_pk Jerry Yu 2022-03-22 15:47:19 +08:00
  • 5512ad9df8 fix genkey fail Jerry Yu 2022-03-22 14:34:56 +08:00
  • 89107d1bc2 fix ci fail without RSA_C Jerry Yu 2022-03-22 14:20:15 +08:00
  • 92339d25b4 Add more unit test for pk_sign_ext Jerry Yu 2022-03-22 13:50:40 +08:00
  • b3bfe9f5d2 Add verify for pk_sign_ext test Jerry Yu 2022-03-22 13:20:39 +08:00
  • 406cf27cb5 fix various issues Jerry Yu 2022-03-22 11:33:42 +08:00
  • 848ecce990 fix wrong typo in function name Jerry Yu 2022-03-22 10:58:48 +08:00
  • 5a0afc8a12 fix test fail for pk_sign_ext Jerry Yu 2022-03-22 12:47:28 +08:00
  • 20f9f819bb Remove use_psa_crypto in test scripts Jerry Yu 2022-03-17 10:54:34 +08:00
  • 07869e804c fix psa crypto test fail Jerry Yu 2022-03-16 16:40:50 +08:00
  • b02ee18e64 replace use_psa_crypto with psa_crypto_c Jerry Yu 2022-03-16 10:30:41 +08:00
  • b6875bc17a change rsa_pss salt type Jerry Yu 2022-03-16 10:09:52 +08:00
  • 704cfd2a86 fix comments and style issues Jerry Yu 2022-03-16 10:06:59 +08:00
  • 718a9b4a3f fix doxgen fail Jerry Yu 2022-03-12 22:43:01 +08:00
  • bc18c23531 Guard pk_sign_ext with PSA_CRYPTO_C Jerry Yu 2022-03-12 19:40:29 +08:00
  • 1f45b67474 Add unit tests Jerry Yu 2022-03-12 19:24:50 +08:00
  • 1d172a3483 Add pk_psa_sign_ext Jerry Yu 2022-03-12 19:12:05 +08:00
  • 79c004148d Add PSA && TLS1_3 check_config Jerry Yu 2022-03-01 17:03:56 +08:00
  • 8beb9e173d Change prototype of pk_sign_ext Jerry Yu 2022-03-12 16:23:53 +08:00
  • 67eced0132 replace pk_sign with pk_sign_ext Jerry Yu 2022-02-25 13:37:36 +08:00
  • d69439aa61 add mbedtls_pk_sign_ext Jerry Yu 2022-02-24 15:52:15 +08:00
  • 3a58b462b6 add pss_rsae_sha{384,512} Jerry Yu 2022-02-22 16:42:29 +08:00
  • bfcfe74b4e add signature algorithm debug helper Jerry Yu 2022-02-22 16:41:39 +08:00
  • 919130c035 Add rsa_pss_rsae_sha256 support Jerry Yu 2022-02-23 10:40:19 +08:00
  • 1e64f7a643 Use MBEDTLS_USE_PSA_CRYPTO macro guard for testing instead of MBEDTLS_PSA_CRYPTO_C Gabor Mezei 2022-03-21 16:57:44 +01:00
  • 892c4aa295 Update hkdf test cases to handle PSA code Gabor Mezei 2022-03-21 12:21:43 +01:00
  • 1bf075fffd Use SSL error codes Gabor Mezei 2022-03-21 12:19:52 +01:00
  • adfeadc6e5 Extend PSA error translation Gabor Mezei 2022-03-21 12:17:49 +01:00
  • 58db65354b Use the PSA-based HKDF functions Gabor Mezei 2022-03-21 12:12:37 +01:00
  • 21bbb7a888 Add simple test to ensure accessor is working Paul Elliott 2022-03-10 18:37:22 +00:00