I cannot find how to set the initial vector for AES 256 CBC in CAUAP mmCAU Software Library. How can be done?
Hi
static int mmcau_encrypt_aes_cbc(const uint8_t *key,
uint32_t mode,
const uint8_t *inputData,
uint8_t *outputData,
uint16_t dataLength,
const uint8_t *initVector)
If this is what you are using you pass the initial vector to the function with whatever value you want.
See some references and comparisons at http://www.utasker.com/docs/uTasker/uTasker_Cryptography.pdf
Regards
Mark
uTasker developer and supporter (+5'000 hours experience on +60 Kinetis derivatives in +80 product developments)
Kinetis: http://www.utasker.com/kinetis.html
Indeed, in other posts I have read that CAUAP only supports ECB (this should be highlighted in the documentation).
However, I can derive a CBC scheme from an ECB as shown here: