Commit Graph

  • 79e1c47a54 PSA PAKE: explain implicit key confirmation Janos Follath 2021-05-25 15:53:13 +01:00
  • 7c59b7a073 Improve psa_pake_set_peer()/user() documentation Janos Follath 2021-05-25 15:46:56 +01:00
  • 56a4d7a59f Simplify PAKE input/output format documentation Janos Follath 2021-05-25 15:35:11 +01:00
  • ead0e4fc7b PSA PAKE: Clarify J-PAKE algorithm documentation Janos Follath 2021-05-25 14:16:52 +01:00
  • d416838ffd Rename psa_pake_set_password_mhf() Janos Follath 2021-05-24 12:20:12 +01:00
  • 3ae6696811 Clarify psa_pake_setup() documentation Janos Follath 2021-05-24 12:09:00 +01:00
  • 19271ea183 PSA PAKE: Clarify documentation of valid states Janos Follath 2021-05-21 12:38:12 +01:00
  • 9a04aeaff5 PSA PAKE: improve and fix documentation Janos Follath 2021-05-20 16:21:01 +01:00
  • 7b8910322c PSA PAKE: refine documentation of return values Janos Follath 2021-05-14 15:42:46 +01:00
  • e1a080f1f8 Improve psa_pake_set_password_mhf() documentation Janos Follath 2021-05-14 12:16:36 +01:00
  • 1062a24152 Fix psa_pake_set_password_mhf() parameter list Janos Follath 2021-05-14 12:02:55 +01:00
  • 14ce06afe2 PSA PAKE: fix documentation Janos Follath 2021-05-14 11:26:23 +01:00
  • ef816f37be Fix precedence in psa_pake_cs_set_primitive() Janos Follath 2021-05-13 16:01:47 +01:00
  • ed82716546 Remove always false comparison PSA_PAKE_PRIMITIVE Janos Follath 2021-05-13 14:38:15 +01:00
  • 60fa7c59b2 PSA PAKE: document operation parameters Janos Follath 2021-05-13 13:36:32 +01:00
  • b0bcb633ff Link PSA_KEY_TYPE_PASSWORD in the documentation Janos Follath 2021-05-13 13:21:43 +01:00
  • fe0c4493f5 Add psa_pake_set_password_mhf() Janos Follath 2021-05-13 12:25:15 +01:00
  • 56cc9ccc39 PSA PAKE: Align macro names with psa_pake_step_t Janos Follath 2021-05-13 12:01:11 +01:00
  • 3c09c47333 PSA PAKE: remove redundant steps Janos Follath 2021-05-13 11:57:49 +01:00
  • a71811aa4c Fix typo Janos Follath 2021-05-13 11:50:01 +01:00
  • 78b9e40662 PSA PAKE: reintroduce psa_pake_primitive_t Janos Follath 2021-05-13 11:45:14 +01:00
  • a86c3131a8 PSA PAKE: divide setup into several steps Janos Follath 2021-05-13 10:51:01 +01:00
  • beb78d4d41 Rename psa_pake_data_t Janos Follath 2021-05-11 09:11:39 +01:00
  • 57cfc407e0 Remove obsolete __DOXYGEN_ONLY__ blocks Janos Follath 2021-05-11 09:05:25 +01:00
  • f53c7af916 PSA PAKE: introduce psa_pake_family_t Janos Follath 2021-05-11 08:35:31 +01:00
  • 1459aa5656 PSA PAKE: improve documentation Janos Follath 2021-05-11 08:24:56 +01:00
  • f75be64ef5 PSA PAKE: fix identifier value Janos Follath 2021-04-30 13:11:05 +01:00
  • 5b44cfd430 PSA PAKE: remove alg parameter from setup Janos Follath 2021-04-30 13:06:27 +01:00
  • 684da03532 PSA PAKE: remove obsolete types and macros Janos Follath 2021-04-30 12:50:32 +01:00
  • cd56ff9c59 PSA PAKE: make cipher suite opaque Janos Follath 2021-04-30 11:51:55 +01:00
  • 82b54b96d3 PSA PAKE: Align macro names Janos Follath 2021-04-28 13:47:12 +01:00
  • fc3577daae Remove reference to PSA_PAKE_KEY_SHARE_SIZE Janos Follath 2021-04-28 09:51:55 +01:00
  • 2ba6079d47 PSA: fix wording for implementation defined types Janos Follath 2021-04-28 09:37:34 +01:00
  • 8603fb09fe PSA PAKE: add to PSA constant name test Janos Follath 2021-04-19 15:12:46 +01:00
  • 8005e8a167 Shrink psa_pake_side_t to uint8_t Janos Follath 2021-04-19 14:46:54 +01:00
  • ef1b8c9a76 PSA PAKE: Relate JPAKE documentation to RFC8236 Janos Follath 2021-04-19 14:35:03 +01:00
  • 7ebcbf34f9 Remove psa_pake_get/set_key_share() functions Janos Follath 2021-04-19 13:57:13 +01:00
  • fb4203dcff PSA PAKE: Call the scheme algorithm Janos Follath 2021-04-19 09:53:17 +01:00
  • 020da462d2 Fix PSA_PAKE_PRIMITIVE macro Janos Follath 2021-04-19 09:43:45 +01:00
  • 1101edb948 PSA PAKE: typo fixes in documentation Janos Follath 2021-04-19 09:34:44 +01:00
  • ca2c167dcb PSA PAKE: fix doxygen warnings Janos Follath 2021-04-12 10:00:43 +01:00
  • 7f1e81a98d PSA PAKE: specify key type and usage Janos Follath 2021-04-08 14:20:55 +01:00
  • b378d57840 PSA PAKE: add output size macros Janos Follath 2021-04-08 13:53:12 +01:00
  • 9c6b147d98 PSA PAKE: Add J-PAKE to the interface Janos Follath 2021-03-21 15:11:01 +00:00
  • 8a09ca9d94 PSA PAKE: Add dummy operation context Janos Follath 2021-03-21 10:14:08 +00:00
  • 508afeca67 PSA PAKE: Add cipher suite structure Janos Follath 2021-03-21 09:42:37 +00:00
  • 38a5d35646 PSA PAKE: Add type for representing primitives Janos Follath 2021-03-21 07:01:53 +00:00
  • b86273a6dc PSA PAKE: Add integral types Janos Follath 2021-03-20 14:58:52 +00:00
  • 5e5dcaced3 PSA PAKE: Add function declarations Janos Follath 2021-03-20 14:35:20 +00:00
  • 4e9fb3985e Corrects documentation in ecdh.h Thomas Daubney 2021-06-03 11:51:08 +01:00
  • 23422e424c Note that the byte order in mpi_fill_random_internal() is deliberate Gilles Peskine 2021-06-03 11:51:09 +02:00
  • 84191eab06 Merge pull request #4315 from Kxuan/feat-pre-compute-tls Manuel Pégourié-Gonnard 2021-06-03 11:41:54 +02:00
  • c0b68bf03a Use MBEDTLS_MPI_CHK where warranted Gilles Peskine 2021-06-03 11:38:26 +02:00
  • 782c2b9f36 fix comment, ChangeLog & migration-guide for MBEDTLS_ECP_FIXED_POINT_OPTIM kXuan 2021-06-02 16:53:42 +08:00
  • 3130ce24f4 New internal function mbedtls_mpi_resize_clear Gilles Peskine 2021-06-02 22:17:52 +02:00
  • e4f937f5d3 Lift function call out of inner loop Gilles Peskine 2021-06-02 21:24:04 +02:00
  • f37b9f73c7 Fix mistakes in test case descriptions Gilles Peskine 2021-06-02 21:22:25 +02:00
  • 11779077a0 Use ternary operator with the most common case first Gilles Peskine 2021-06-02 21:18:59 +02:00
  • b72b7e6b9d Fix long-standing obsolete comment Gilles Peskine 2021-06-02 21:17:36 +02:00
  • 3f61363f8d Correct some comments about ECC in mbedtls_mpi_random Gilles Peskine 2021-04-15 11:45:19 +02:00
  • 346d20d209 DHM: add test case with x_size < 0 Gilles Peskine 2021-04-13 22:26:27 +02:00
  • 9e96679548 DHM tests: add some explanations Gilles Peskine 2021-04-13 22:16:45 +02:00
  • 104eb82ec1 DHM: add notes about leading zeros Gilles Peskine 2021-04-13 22:10:24 +02:00
  • a16001e2d9 mpi_fill_random_internal: remove spurious grow() call Gilles Peskine 2021-04-13 21:55:35 +02:00
  • 3d60ece16c Note that the "0 limb in ..." tests rely on undocumented behavior Gilles Peskine 2021-04-13 21:32:24 +02:00
  • 33701a62b2 mbedtls_mpi_random: document MBEDTLS_ERR_MPI_NOT_ACCEPTABLE Gilles Peskine 2021-04-13 21:28:38 +02:00
  • e39ee8e0a2 MPI random test: use more iterations for small numbers Gilles Peskine 2021-04-13 21:23:25 +02:00
  • 38de7ee176 MPI random test: Add test cases with lower_bound > upper_bound Gilles Peskine 2021-04-13 20:47:07 +02:00
  • c520d7ab59 MPI random test: fix small-range test stats check when min > 1 Gilles Peskine 2021-04-13 20:45:05 +02:00
  • 8190d3129d MPI random test: Add a few more small-range tests Gilles Peskine 2021-04-13 20:44:04 +02:00
  • b66cc7d31f Fix copypasta in test case description Gilles Peskine 2021-04-13 20:00:57 +02:00
  • ef1325134f Contextualize comment about mbedtls_mpi_random retries Gilles Peskine 2021-04-13 19:59:21 +02:00
  • 3b05615e5b Better document and slightly simplify >>2^n heuristic Gilles Peskine 2021-04-13 19:50:04 +02:00
  • f467e1a114 MPI random: add unit tests with a previously nonzero value Gilles Peskine 2021-04-02 00:02:27 +02:00
  • 8f45470515 Fix mbedtls_mpi_random when N has leading zeros Gilles Peskine 2021-04-01 15:57:18 +02:00
  • be4b5dd8c1 Add changelog entry for non-uniform MPI random generation Gilles Peskine 2021-03-31 23:12:35 +02:00
  • 16e3668d14 DHM: use mbedtls_mpi_random for blinding and key generation Gilles Peskine 2021-03-31 23:04:50 +02:00
  • 58df4c9098 dhm_check_range: microoptimization Gilles Peskine 2021-03-31 22:56:43 +02:00
  • 87fdb1f872 DHM refactoring: use dhm_random_below in dhm_make_common Gilles Peskine 2021-03-31 22:48:14 +02:00
  • b4e815f638 DHM blinding: don't accept P-1 as a blinding value Gilles Peskine 2021-03-31 22:50:57 +02:00
  • 0853bb2bea DHM refactoring: unify mbedtls_dhm_make_{params,public} Gilles Peskine 2021-03-31 22:35:13 +02:00
  • 33ec863570 Test mbedtls_dhm_make_params with different x_size Gilles Peskine 2021-03-30 23:44:22 +02:00
  • a2ce04e0eb Repeat a few DH tests Gilles Peskine 2021-03-30 23:33:49 +02:00
  • dc0b6e44b0 Test range and format of dhm_make_params output Gilles Peskine 2021-03-30 23:28:51 +02:00
  • 6466d3461e ECP: use mbedtls_mpi_random for blinding Gilles Peskine 2021-03-29 22:28:50 +02:00
  • aeab0fbd73 Preserve MBEDTLS_ERR_ECP_RANDOM_FAILED in case of a hostile RNG Gilles Peskine 2021-03-29 22:28:21 +02:00
  • cba4b35fcb Changelog entry for adding mbedtls_mpi_random() Gilles Peskine 2021-03-31 23:15:00 +02:00
  • 9312ba5304 mbedtls_mpi_random: check for invalid arguments Gilles Peskine 2021-03-29 22:14:51 +02:00
  • 4699fa47d2 Move mbedtls_mpi_random to the bignum module Gilles Peskine 2021-03-29 22:02:55 +02:00
  • 7967ec5d25 mbedtls_ecp_gen_privkey_sw: generalize to mbedtls_mpi_random Gilles Peskine 2021-03-29 21:53:58 +02:00
  • 6373fab865 mbedtls_ecp_gen_privkey_sw: range and coverage tests Gilles Peskine 2021-03-29 21:32:16 +02:00
  • eadf31d56a mbedtls_ecp_gen_privkey_mx: simplify the size calculation logic Gilles Peskine 2021-03-24 12:46:46 +01:00
  • 4f7767445b mbedtls_ecp_gen_privkey_mx: make bit manipulations unconditional Gilles Peskine 2021-03-24 12:25:59 +01:00
  • 6acfc9cb4c mbedtls_ecp_gen_privkey_mx: remove the exception for all-zero Gilles Peskine 2021-03-24 12:04:43 +01:00
  • 188828525d Add unit tests for mbedtls_ecp_gen_privkey_mx Gilles Peskine 2021-03-24 12:01:02 +01:00
  • bef3019ed5 Make the fallback behavior of mbedtls_test_rnd_buffer_rand optional Gilles Peskine 2021-03-24 00:48:57 +01:00
  • ebf3a4b80f Update references in some test function documentation Gilles Peskine 2021-03-24 00:14:53 +01:00
  • 3838f28c33 mbedtls_ecp_gen_privkey_mx: rename n_bits to high_bit Gilles Peskine 2021-03-24 12:34:40 +01:00
  • de33213f23 mbedtls_ecp_gen_privkey: create subfunctions for each curve type Gilles Peskine 2021-03-23 22:31:31 +01:00
  • adb93d732f Adds ChangeLog entry Thomas Daubney 2021-06-02 13:45:57 +01:00