nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_cc3xx_platform_derived_key_encrypt()

int nrf_cc3xx_platform_derived_key_encrypt ( nrf_cc3xx_platform_derived_key_ctx_t * ctx,
uint8_t * output,
size_t input_size,
uint8_t const * input )

#include <crypto/nrf_cc310_platform/include/nrf_cc3xx_platform_derived_key.h>

Function to encrypt data using a derived key.

Note
The input and the output buffers should have the same size.
Parameters
[in,out]ctxPointer to the derived key context.
[out]outputPointer to the output buffer.
[in]input_sizeThe size of the input buffer in bytes.
[in]inputPointer to the input buffer.
Returns
NRF_CC3XX_PLATFORM_SUCCESS on success, otherwise a negative value.