#include <stdint.h>
Go to the source code of this file.
|
| int | nrf_cc3xx_platform_shadow_key_init (nrf_cc3xx_platform_shadow_key_ctx_t *ctx, uint32_t slot_id, unsigned int deriv_key_size, uint8_t const *label, size_t label_size) |
| | Function to initialize the derived key context.
|
| |
| int | nrf_cc3xx_platform_shadow_key_crypt_setup (nrf_cc3xx_platform_shadow_key_ctx_t *ctx, nrf_cc3xx_platform_shadow_key_enc_cipher_t cipher, nrf_cc3xx_platform_shadow_key_enc_mode_t mode, const uint8_t *nonce, size_t nonce_size, const uint8_t *aad, size_t aad_size, size_t plaintext_size) |
| | Function to setup the encryption/decryption operation.
|
| |
| 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) |
| | Function to encrypt/decrypt data using a derived key.
|
| |
| int | nrf_cc3xx_platform_shadow_key_crypt_finish (nrf_cc3xx_platform_shadow_key_ctx_t *ctx, uint8_t *output, size_t output_size, size_t *output_length, uint8_t *tag, size_t tag_size, size_t *tag_length) |
| | Function to finalize the encryption/decryption operation.
|
| |