![]() |
nRF Connect SDK API 3.3.99
|
#include <psa/crypto.h>#include <stddef.h>#include <stdint.h>#include <string.h>#include <zephyr/sys/__assert.h>#include <nrf_security_mem_helpers.h>#include "cracen_psa_primitives.h"Go to the source code of this file.
Functions | |
| psa_status_t | cracen_hash_compute (psa_algorithm_t alg, const uint8_t *input, size_t input_length, uint8_t *hash, size_t hash_size, size_t *hash_length) |
| Compute the hash of a message. | |
| psa_status_t | cracen_hash_setup (cracen_hash_operation_t *operation, psa_algorithm_t alg) |
| Set up a hash operation. | |
| static psa_status_t | cracen_hash_clone (const cracen_hash_operation_t *source_operation, cracen_hash_operation_t *target_operation) |
| Clone a hash operation. | |
| psa_status_t | cracen_hash_update (cracen_hash_operation_t *operation, const uint8_t *input, const size_t input_length) |
| Add a message fragment to a multi-part hash operation. | |
| psa_status_t | cracen_hash_finish (cracen_hash_operation_t *operation, uint8_t *hash, size_t hash_size, size_t *hash_length) |
| Finish a hash operation. | |
| static psa_status_t | cracen_hash_abort (cracen_hash_operation_t *operation) |
| Abort a hash operation. | |