nrfxlib API 0.1.0
|
int mbedtls_ccm_setkey_shadow_key | ( | mbedtls_ccm_context *const | ctx, |
mbedtls_cipher_id_t | cipher, | ||
uint32_t | slot_id, | ||
unsigned int | keybits | ||
) |
#include <crypto/nrf_cc310_mbedcrypto/include/mbedtls/cc3xx_kmu.h>
Function to configure AES CCM to use one or more KMU key slot as encryption key.
ctx | AES context to set the key by KMU slot. |
cipher | Cipher id to use. |
slot_id | Identifier of the key slot (0 - 127). |
keybits | Key size in bits. |