mbedtls/include/psa
Janos Follath 7ebcbf34f9 Remove psa_pake_get/set_key_share() functions
The main purpose of psa_pake_get_key_share() is to provide a more
straightforward and convenient call flow for regular PAKEs. Most PAKEs
have a single key share and need a flow like this:

op=PSA_PAKE_OPERATION_INIT;
psa_pake_setup();
psa_pake_get_key_share();
psa_pake_set_key_share();
psa_pake_get_implicit_key();

Adding psa_pake_get/set_key_share() functions cuts out the
psa_pake_data_t constants from the users vision, hiding complexity that
exists only for unrelated PAKEs that aren't relevant for the user.

This comes with the cost of the two additional API functions that we need
to maintain.

Since the current stream of work focuses on enabling J-PAKE, there are
no benefits to these functions for now.

Once algorithms that can benefit from this simplification are added,
adding back these functions can be reconsidered.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2021-06-03 12:12:08 +01:00
..
crypto.h Remove psa_pake_get/set_key_share() functions 2021-06-03 12:12:08 +01:00
crypto_builtin_composites.h Move is_sign and mac_size checking back to PSA core scope 2021-05-10 11:29:13 +02:00
crypto_builtin_primitives.h Rename the PSA driver context structure headers to _primitives 2021-05-07 23:32:32 +02:00
crypto_compat.h Fix typos in C header files 2021-05-10 19:54:11 +02:00
crypto_config.h Merge pull request #4377 from mpg/psa-pbkdf2-api 2021-05-12 18:00:30 +02:00
crypto_driver_common.h Remove old-style accelerator and entropy driver interfaces 2020-11-30 17:37:14 +01:00
crypto_driver_contexts_composites.h Add boilerplate for dispatching MAC operations 2021-05-07 23:32:32 +02:00
crypto_driver_contexts_primitives.h Remove inclusion of top-level crypto.h from the driver context header 2021-05-07 23:32:32 +02:00
crypto_extra.h Merge pull request #4407 from ARMmbed/dev3_signoffs 2021-04-26 19:48:16 +01:00
crypto_platform.h Minor documentation improvements 2021-01-04 21:00:53 +01:00
crypto_se_driver.h Fix typos in C header files 2021-05-10 19:54:11 +02:00
crypto_sizes.h Remove psa_pake_get/set_key_share() functions 2021-06-03 12:12:08 +01:00
crypto_struct.h PSA PAKE: Add dummy operation context 2021-06-03 12:07:47 +01:00
crypto_types.h PSA PAKE: Call the scheme algorithm 2021-06-03 12:12:08 +01:00
crypto_values.h Remove psa_pake_get/set_key_share() functions 2021-06-03 12:12:08 +01:00