Commit Graph

  • a4b7720cb5 Use combinations_with_replacement for inputs Werner Lewis 2022-08-31 16:55:44 +01:00
  • 8253486c4f Add session ticket support for server Jerry Yu 2022-08-30 10:42:33 +08:00
  • 95699e72f3 Add session ticket identity check Jerry Yu 2022-08-21 19:22:23 +08:00
  • 89eb95a221 Add ticket age tolerance config option Jerry Yu 2022-08-21 19:21:45 +08:00
  • 661dd943b6 Add dummy server name extension paser Jerry Yu 2022-08-03 14:50:01 +08:00
  • e976492a11 Add session ticket tests for client Jerry Yu 2022-08-03 14:34:24 +08:00
  • 0203534c64 Add session save after got new session ticket Jerry Yu 2022-08-03 12:43:06 +08:00
  • e6527512d2 Add obfuscated_ticket_age write Jerry Yu 2022-08-03 13:39:05 +08:00
  • 49d63f8c36 Implement generate resumption master secret Jerry Yu 2022-08-03 12:28:08 +08:00
  • db8c5faed7 Add getting session ticket for client Jerry Yu 2022-08-03 12:10:13 +08:00
  • e00d6d6b55 Merge pull request #6135 from yuhaoth/pr/tls13-finalize-external-psk-negotiation Ronald Cron 2022-08-31 17:21:57 +02:00
  • 9077dbfd94 Remove NULL pointer validation in poly1305.c Tuvshinzaya Erdenekhuu 2022-08-05 16:07:47 +01:00
  • 913819e73f Remove NULL pointer validation in chachapoly.c Tuvshinzaya Erdenekhuu 2022-08-05 16:07:47 +01:00
  • 7e2e2a9762 Add new checks in rsa_invalid_param test Tuvshinzaya Erdenekhuu 2022-07-26 10:09:24 +01:00
  • 6a473b2f17 Remove NULL pointer validation in rsa.c Tuvshinzaya Erdenekhuu 2022-08-05 15:49:56 +01:00
  • 1c5609df09 Remove NULL pointer validation in dhm.c Tuvshinzaya Erdenekhuu 2022-08-05 15:49:56 +01:00
  • 61f1372b8c Remove unused variables from shax.function Tuvshinzaya Erdenekhuu 2022-07-29 16:15:03 +01:00
  • ca6fde2e1f Enable invalid param test in sha512 Tuvshinzaya Erdenekhuu 2022-07-29 15:43:04 +01:00
  • 5893ab02b6 Re-introduce ENUM validation in sha512.c Tuvshinzaya Erdenekhuu 2022-08-05 15:59:19 +01:00
  • 3446c2603a Remove NULL pointer validation in sha512.c Tuvshinzaya Erdenekhuu 2022-08-05 15:59:19 +01:00
  • 1db192bc5a Enable invalid param test in sha256 Tuvshinzaya Erdenekhuu 2022-07-29 15:44:38 +01:00
  • 696dfb6b1e Re-introduce ENUM validation in sha256.c Tuvshinzaya Erdenekhuu 2022-08-05 15:59:19 +01:00
  • df2f560316 Remove NULL pointer validation in sha256.c Tuvshinzaya Erdenekhuu 2022-08-05 15:59:19 +01:00
  • 6b150ad8fa Remove NULL pointer validation in sha1.c Tuvshinzaya Erdenekhuu 2022-08-05 15:59:19 +01:00
  • d5ebedffd0 Removed unused variable in cipher test Tuvshinzaya Erdenekhuu 2022-08-02 10:12:37 +01:00
  • 104eb7f4a8 Enabled invalid param test for gcm Tuvshinzaya Erdenekhuu 2022-07-29 14:48:21 +01:00
  • c6b8a6704e Re-introduce ENUM validation in gcm.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • 505ce0b37e Remove NULL pointer validation in gcm.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • 6c68927948 Enabled invalid param test for cipher Tuvshinzaya Erdenekhuu 2022-07-29 14:45:55 +01:00
  • 80a6af6ab5 Re-introduce ENUM validation in cipher.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • 5ce8e52907 Remove NULL pointer validation in cipher.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • ce8908ed0a Remove NULL pointer validation in chacha20.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • c7d7220814 Enabled invalid param test in camellia Tuvshinzaya Erdenekhuu 2022-07-29 14:45:04 +01:00
  • 1fd7f98546 Re-introduce ENUM validation in camellia.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • 6291b131ca Remove NULL pointer validation in camellia.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • c855bf5285 Enabled invalid param test for aes Tuvshinzaya Erdenekhuu 2022-07-29 14:43:51 +01:00
  • a8ef1565bb Re-introduce ENUM validation in aes.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • cac11d7797 Remove NULL pointer validation in aes.c Tuvshinzaya Erdenekhuu 2022-08-05 15:31:57 +01:00
  • 0050b918f0 Added new tests in pk_invalid_param Tuvshinzaya Erdenekhuu 2022-08-30 13:15:55 +01:00
  • ed99ed34f3 Add spaces to comply with coding style Tuvshinzaya Erdenekhuu 2022-08-02 14:02:28 +01:00
  • c388af63e4 Remove extra spacings Tuvshinzaya Erdenekhuu 2022-08-02 11:54:54 +01:00
  • dcf9c96274 Remove NULL pointer validation in pkparse.c Tuvshinzaya Erdenekhuu 2022-07-29 14:51:51 +01:00
  • 088e936839 Remove NULL pointer validation in pkwrite.c Tuvshinzaya Erdenekhuu 2022-07-29 14:51:50 +01:00
  • 79bf51a109 Add new test for invalid param in pk.c Tuvshinzaya Erdenekhuu 2022-07-29 15:06:52 +01:00
  • 78c1d8c299 Re-introduce ENUM validation in pk.c Tuvshinzaya Erdenekhuu 2022-07-29 14:51:50 +01:00
  • 26b39c6c6f Remove NULL pointer validation in pk.c Tuvshinzaya Erdenekhuu 2022-07-29 14:51:50 +01:00
  • 6688669124 replace psk&dhe with psk_or_ephemeral Jerry Yu 2022-08-31 17:08:34 +08:00
  • b764fb60aa Remove MBEDTLS_MD_C dep in config_psa.h when ECJPAJE is wanted Neil Armstrong 2022-08-30 14:38:57 +02:00
  • e5fdf20a79 Make ecjpake_rounds test depends on PSA_WANT_ALG_TLS12_PSK_TO_MS Neil Armstrong 2022-08-30 10:24:39 +02:00
  • eae1dfcc46 Change to more efficient error injection in ecjpake_do_round() Neil Armstrong 2022-06-21 13:37:06 +02:00
  • db5b960a7e Permit any psa_pake_input() step to fail when error injected in input Neil Armstrong 2022-06-20 14:56:50 +02:00
  • f19a3cb613 Use the mbedtls_ecjpake_write_shared_key() to input raw shared key material as derivation secret Neil Armstrong 2022-06-15 16:00:29 +02:00
  • 12663092bc Introduce mbedtls_ecjpake_write_shared_key() to export the EC J-PAKE shared key material before the KDF() Neil Armstrong 2022-06-15 16:00:00 +02:00
  • 75673abef5 Only build ecjpake_do_round() is PSA_WANT_ALG_JPAKE is defined Neil Armstrong 2022-06-15 17:39:01 +02:00
  • 8c2e8a6cda Add ecjpake_rounds_inject tests to exercise error injection Neil Armstrong 2022-06-15 15:28:32 +02:00
  • f983caf6c4 Move JPAKE rounds into a common function, add reordering and error injection Neil Armstrong 2022-06-15 15:27:48 +02:00
  • db05cbfb86 Introduce and use mbedtls_ecjpake_to_psa_error() to translate various ECP/MPI errors to expected PSA errors Neil Armstrong 2022-06-15 15:25:45 +02:00
  • 1e855601ca Fix psa_pake_get_implicit_key() state & add corresponding tests in ecjpake_rounds() Neil Armstrong 2022-06-15 11:32:11 +02:00
  • ed40782628 Fix SECP256R1 enable when PSA_WANT_ALG_JPAKE is defined Neil Armstrong 2022-06-15 11:21:33 +02:00
  • 19bb9913c2 Update changelog entry for new PSA PAKE feature Neil Armstrong 2022-06-13 18:43:32 +02:00
  • bb28c56796 Add changelog entry for new PSA PAKE feature Neil Armstrong 2022-06-10 09:29:06 +02:00
  • e92311176a Add missing parentheses on return statements Neil Armstrong 2022-06-10 09:03:41 +02:00
  • 5fb07c6a96 No need to check for state in psa_pake_setup() Neil Armstrong 2022-06-10 09:00:00 +02:00
  • a557cb8c8b Fixing XXX_ALG_ECJPAKE to XXX_ALG_JPAKE to match specification Neil Armstrong 2022-06-10 08:58:32 +02:00
  • fbc4b4aa8e Fix psa_pake_abort() order to correctly free memory when alg is PSA_ALG_JPAKE Neil Armstrong 2022-06-10 08:54:53 +02:00
  • a24278a74a Add invalid hash ecjpake_setup() test case Neil Armstrong 2022-06-08 18:10:26 +02:00
  • 9c8b492052 Add advanced psa_pake_input/psa_pake_output test in ecjpake_setup() test Neil Armstrong 2022-06-08 17:59:07 +02:00
  • 50de0ae0c4 Add check calling psa_pake_setup() on an already initialized operation in ecjpake_setup() test Neil Armstrong 2022-06-08 17:46:24 +02:00
  • 98506ab677 Add checks for INVALID_ARGUMENT for psa_pake_output/psa_pake_input in ecjpake_setup() test Neil Armstrong 2022-06-08 17:43:20 +02:00
  • 0d001ef3da Check more parameters of psa_pake_output/psa_pake_input Neil Armstrong 2022-06-08 17:42:52 +02:00
  • 645cccd6a8 Add checks for BAD_STATE before calling psa_pake_setup() in ecjpake_setup() test Neil Armstrong 2022-06-08 17:36:23 +02:00
  • 707d9574f8 Add checks for psa_pake_set_user/psa_pake_set_peer in test_suite_psa_crypto Neil Armstrong 2022-06-08 17:31:49 +02:00
  • ebd9a03743 Cleanup PSA pake test dependency Neil Armstrong 2022-06-08 17:24:56 +02:00
  • 4efd7a463d Check for PSA_ALG_ECJPAKE alg for the ECJPAKE builtin implementation Neil Armstrong 2022-06-08 17:18:31 +02:00
  • df598abbd3 Fix key usage test in psa_pake_set_password_key() Neil Armstrong 2022-06-08 17:17:08 +02:00
  • 7616ad28e3 Fix guard of ecjpake.h include in crypto_extra.h Neil Armstrong 2022-06-08 14:07:58 +02:00
  • 63212ddf2f Fix formatting of PSA_PAKE_OPERATION_INIT macro Neil Armstrong 2022-06-08 14:06:22 +02:00
  • 7aaa34a1ba Fix formatting of PSA_PAKE_OUTPUT_SIZE & PSA_PAKE_INPUT_SIZE macros Neil Armstrong 2022-06-08 14:05:02 +02:00
  • 6b1f99f5f1 Use proper buffer size macro for allocation in psa_pake_ecjpake_setup() Neil Armstrong 2022-06-08 13:37:37 +02:00
  • 5282393091 Remove useless braces in psa_crypto_pake.c Neil Armstrong 2022-06-08 13:36:12 +02:00
  • c29f8477e2 Fix comments in psa_crypto_pake.c Neil Armstrong 2022-06-08 13:34:49 +02:00
  • d597bc705f Add PSA PAKE tests Neil Armstrong 2022-05-25 11:28:39 +02:00
  • 637d0a0290 Enable buildin PSA PAKE implementation when ECJPAKE_C is selected Neil Armstrong 2022-05-25 11:28:22 +02:00
  • a4cc7d6d6b Add PSA PAKE buildin implementation Neil Armstrong 2022-05-25 11:30:48 +02:00
  • 4b5710f8a0 Allow KEY_TYPE_PASSWORD/KEY_TYPE_PASSWORD_HASH to be imported Neil Armstrong 2022-05-25 11:30:27 +02:00
  • 35269d93da Fill psa_pake_operation and INPUT/OUTPUT min/max sizes for PSA PAKE builtin implementation Neil Armstrong 2022-05-25 11:26:31 +02:00
  • 6d1fc45f08 Merge pull request #6249 from AndrzejKurek/fix-ssl-programs-no-md Gilles Peskine 2022-08-31 09:56:40 +02:00
  • 7101b87040 fix wrong description Jerry Yu 2022-08-31 14:15:23 +08:00
  • 1e05b6dd6d fix coding style and unnecessary assignment Jerry Yu 2022-08-31 10:35:52 +08:00
  • dcce505a08 Add a missing guard in an example program Andrzej Kurek 2022-08-30 17:56:08 -04:00
  • 076f7257e9 Don't remove programs/fuzz/Makefile Gilles Peskine 2022-08-30 21:02:44 +02:00
  • dd06efbb8d Don't try restoring a file if no backup is available Gilles Peskine 2022-08-30 21:02:00 +02:00
  • f0c8a8cf44 One statement per line Tom Cosgrove 2022-08-30 15:15:02 +01:00
  • 11048661a5 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
  • 5dd97e60d5 Update comments following code review Tom Cosgrove 2022-08-30 14:31:49 +01:00
  • b496486cdc Reorder functions in bignum_core.[ch] Tom Cosgrove 2022-08-30 11:57:22 +01:00
  • bf22a2500b Merge pull request #6208 from AndrzejKurek/tls-tests-no-md-structured Manuel Pégourié-Gonnard 2022-08-30 12:34:37 +02:00
  • a84ce3fa81 Merge pull request #6111 from superna9999/6101-programs-dont-build-with-libtestdriver-and-use-psa Manuel Pégourié-Gonnard 2022-08-30 12:29:01 +02:00
  • c5e0a8a890 Add missing error message Dave Rodgman 2022-08-15 14:24:22 +01:00
  • 64937856e0 Correct order of extended key usage attributes Dave Rodgman 2022-08-15 14:12:25 +01:00