![]() |
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_srp_setup (cracen_srp_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 an SRP operation. | |
| psa_status_t | cracen_srp_set_user (cracen_srp_operation_t *operation, const uint8_t *user_id, size_t user_id_len) |
| Set the user identifier for an SRP operation. | |
| psa_status_t | cracen_srp_set_role (cracen_srp_operation_t *operation, psa_pake_role_t role) |
| Set the role for an SRP operation. | |
| psa_status_t | cracen_srp_set_password_key (cracen_srp_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *password, size_t password_length) |
| Set the password key for an SRP operation. | |
| psa_status_t | cracen_srp_output (cracen_srp_operation_t *operation, psa_pake_step_t step, uint8_t *output, size_t output_size, size_t *output_length) |
| Get output from an SRP operation step. | |
| psa_status_t | cracen_srp_input (cracen_srp_operation_t *operation, psa_pake_step_t step, const uint8_t *input, size_t input_length) |
| Provide input to an SRP operation step. | |
| psa_status_t | cracen_srp_get_shared_key (cracen_srp_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 SRP operation. | |
| psa_status_t | cracen_srp_abort (cracen_srp_operation_t *operation) |
| Abort an SRP operation. | |