nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ cracen_xof_set_context()

psa_status_t cracen_xof_set_context ( cracen_xof_operation_t * operation,
const uint8_t * context,
size_t context_length )

#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_xof.h>

Provide a context for a multi-part XOF operation.

Parameters
[in,out]operationXOF operation context.
[in]contextBuffer containing the context value.
[in]context_lengthLength of the context in bytes.
Return values
PSA_SUCCESSThe context was set successfully.
PSA_ERROR_NOT_SUPPORTEDThe operation does not support context setting.
PSA_ERROR_BAD_STATEThe operation is not in a valid state.