![]() |
nRF Connect SDK API 3.3.99
|
#include <psa/crypto.h>#include <stddef.h>#include <stdint.h>#include <string.h>#include "cracen_psa_primitives.h"Go to the source code of this file.
Functions | |
| psa_status_t | cracen_pake_setup (cracen_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) |
| Set up a PAKE operation. | |
| psa_status_t | cracen_pake_set_user (cracen_pake_operation_t *operation, const uint8_t *user_id, size_t user_id_len) |
| Set the user identifier for a PAKE operation. | |
| psa_status_t | cracen_pake_set_peer (cracen_pake_operation_t *operation, const uint8_t *peer_id, size_t peer_id_len) |
| Set the peer identifier for a PAKE operation. | |
| psa_status_t | cracen_pake_set_context (cracen_pake_operation_t *operation, const uint8_t *context, size_t context_length) |
| Set the context for a PAKE operation. | |
| psa_status_t | cracen_pake_set_role (cracen_pake_operation_t *operation, psa_pake_role_t role) |
| Set the role for a PAKE operation. | |
| psa_status_t | cracen_pake_output (cracen_pake_operation_t *operation, psa_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) |
| Get output from a PAKE operation step. | |
| psa_status_t | cracen_pake_input (cracen_pake_operation_t *operation, psa_pake_step_t step, const uint8_t *input, size_t input_length) |
| Provide input to a PAKE operation step. | |
| psa_status_t | cracen_pake_get_shared_key (cracen_pake_operation_t *operation, const psa_key_attributes_t *attributes, uint8_t *key_buffer, size_t key_buffer_size, size_t *key_buffer_length) |
| Get the shared key from a completed PAKE operation. | |
| psa_status_t | cracen_pake_abort (cracen_pake_operation_t *operation) |
| Abort a PAKE operation. | |