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

◆ nrf_cc3xx_platform_shadow_key_crypt_update()

int nrf_cc3xx_platform_shadow_key_crypt_update ( nrf_cc3xx_platform_shadow_key_ctx_t * ctx,
uint8_t const * input,
size_t input_size,
uint8_t * output,
size_t output_size,
size_t * output_length )

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

Function to encrypt/decrypt data using a derived key.

Parameters
[in,out]ctxPointer to the derived key context.
[in]inputPointer to the input buffer.
[in]input_sizeThe size of the input buffer in bytes.
[out]outputPointer to the output buffer.
[in]output_sizeThe size of the output buffer in bytes.
[out]output_lengthThe number of bytes written to the output buffer.
Returns
NRF_CC3XX_PLATFORM_SUCCESS on success, otherwise a negative value.