nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
cracen_psa_xof.h File Reference
#include <psa/crypto.h>
#include <stddef.h>
#include <stdint.h>
#include "cracen_psa_primitives.h"

Go to the source code of this file.

Functions

psa_status_t cracen_xof_setup (cracen_xof_operation_t *operation, psa_algorithm_t alg)
 Set up an XOF operation.
 
psa_status_t cracen_xof_set_context (cracen_xof_operation_t *operation, const uint8_t *context, size_t context_length)
 Provide a context for a multi-part XOF operation.
 
psa_status_t cracen_xof_update (cracen_xof_operation_t *operation, const uint8_t *input, size_t input_length)
 Feed input to a multi-part XOF operation.
 
psa_status_t cracen_xof_output (cracen_xof_operation_t *operation, uint8_t *output, size_t output_length)
 Extract data from an XOF operation.
 
psa_status_t cracen_xof_abort (cracen_xof_operation_t *operation)
 Abort a XOF operation and wipe its context.