![]() |
nrfxlib API 3.3.99
|
| 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 ) |
#include <crypto/nrf_cc310_platform/include/nrf_cc3xx_platform_shadow_key.h>
Function to setup the encryption/decryption operation.
| [in,out] | ctx | Pointer to the derived key context. |
| [in] | cipher | The cipher used for the encryption/decryption. |
| [in] | mode | The mode (encryption/decryption) of the operation. |
| [in] | nonce | Pointer to the additional data used in the authenticated encryption. |
| [in] | nonce_size | The size of the additional data in bytes. |
| [in] | aad | Pointer to the additional data used in the authenticated encryption. |
| [in] | aad_size | The size of the additional data in bytes. |
| [in] | plaintext_size | The size of the plaintext in bytes. |