-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Description
Use same PAKE driver interface functions as high level PSA Certified Crypto API.
Advantages
The psa_crypto_driver_pake_get_* callbacks are no longer required.
Corresponding PAKE Driver Wrapper interface
psa_status_t psa_driver_wrapper_pake_setup(
psa_pake_operation_t *operation,
const psa_key_attributes_t *attributes,
const uint8_t *password, size_t password_length,
const psa_pake_cipher_suite_t *cipher_suite);
psa_status_t psa_driver_wrapper_pake_set_role(
psa_pake_operation_t *operation,
psa_pake_role_t role);
psa_status_t psa_driver_wrapper_pake_set_user(
psa_pake_operation_t *operation,
const uint8_t *user_id, size_t user_id_length);
psa_status_t psa_driver_wrapper_pake_set_peer(
psa_pake_operation_t *operation,
const uint8_t *peer_id, size_t peer_id_length);
psa_status_t psa_driver_wrapper_pake_set_context(
psa_pake_operation_t *operation,
const uint8_t *context, size_t context_length);
psa_status_t psa_driver_wrapper_pake_output(
psa_pake_operation_t *operation,
psa_pake_step_t step,
uint8_t *output,
size_t output_size,
size_t *output_length);
psa_status_t psa_driver_wrapper_pake_input(
psa_pake_operation_t *operation,
psa_pake_step_t step,
const uint8_t *input,
size_t input_length);
psa_status_t psa_driver_wrapper_pake_get_shared_key(
psa_pake_operation_t *operation,
const psa_key_attributes_t *attributes,
uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length);
psa_status_t psa_driver_wrapper_pake_abort(
psa_pake_operation_t *operation);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels