CAUAP: initial vector for AES 256 CBC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAUAP: initial vector for AES 256 CBC

1,377件の閲覧回数
mastupristi
Senior Contributor I

I cannot find how to set the initial vector for AES 256 CBC in CAUAP mmCAU Software Library. How can be done?

ラベル(1)
タグ(4)
0 件の賞賛
返信
2 返答(返信)

1,224件の閲覧回数
mjbcswitzerland
Specialist V

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

0 件の賞賛
返信

1,224件の閲覧回数
mastupristi
Senior Contributor I

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:

Electronic Codebook (ECB)

Cipher Block Chaining (CBC)

0 件の賞賛
返信