![]() |
nRF Connect SDK API 3.4.99
|
| 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.
| [in,out] | operation | XOF operation context. |
| [in] | context | Buffer containing the context value. |
| [in] | context_length | Length of the context in bytes. |
| PSA_SUCCESS | The context was set successfully. |
| PSA_ERROR_NOT_SUPPORTED | The operation does not support context setting. |
| PSA_ERROR_BAD_STATE | The operation is not in a valid state. |