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

◆ cracen_xof_setup()

psa_status_t cracen_xof_setup ( cracen_xof_operation_t * operation,
psa_algorithm_t alg )

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

Set up an XOF operation.

Parameters
[in,out]operationXOF operation context.
[in]algXOF algorithm (PSA_ALG_SHAKE128 or PSA_ALG_SHAKE256).
Return values
PSA_SUCCESSThe operation was set up successfully.
PSA_ERROR_NOT_SUPPORTEDThe algorithm is not supported.