![]() |
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_jpake_setup (cracen_jpake_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 JPAKE operation. | |
| psa_status_t | cracen_jpake_set_password_key (cracen_jpake_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *password, size_t password_length) |
| Set the password key for a JPAKE operation. | |
| psa_status_t | cracen_jpake_set_user (cracen_jpake_operation_t *operation, const uint8_t *user_id, size_t user_id_len) |
| Set the user identifier for a JPAKE operation. | |
| psa_status_t | cracen_jpake_set_peer (cracen_jpake_operation_t *operation, const uint8_t *peer_id, size_t peer_id_len) |
| Set the peer identifier for a JPAKE operation. | |
| psa_status_t | cracen_jpake_set_role (cracen_jpake_operation_t *operation, psa_pake_role_t role) |
| Set the role for a JPAKE operation. | |
| psa_status_t | cracen_jpake_output (cracen_jpake_operation_t *operation, psa_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) |
| Get output from a JPAKE operation step. | |
| psa_status_t | cracen_jpake_input (cracen_jpake_operation_t *operation, psa_pake_step_t step, const uint8_t *input, size_t input_length) |
| Provide input to a JPAKE operation step. | |
| psa_status_t | cracen_jpake_get_shared_key (cracen_jpake_operation_t *operation, const psa_key_attributes_t *attributes, uint8_t *output, size_t output_size, size_t *output_length) |
| Get the shared key from a completed JPAKE operation. | |
| psa_status_t | cracen_jpake_abort (cracen_jpake_operation_t *operation) |
| Abort a JPAKE operation. | |