Skip to main content
mickey
Associate II
Jul 10, 2023 1:55 AM UTC
Question

Bad parameters error for AES CBC encryption

I'm using cmox_ecdh for generating shared key for STM32G431KBT6. 

I tried using single call API from AES_CBC_EncryptDecrypt example and provided Computed_Secret instead of Key in cmox_cipher_encrypt function but I get bad parameters error. I d

With the current implementation Computed_Secret size is 128 bit.

This topic has been closed for replies.