Skip to main content
Associate III
Sep 25, 2024 6:43 AM UTC
Question

X-CUBE-CRYPTOLIB problem

Hello, I have created an encrypted file by openssl-aes256-CFB. in openssl IV length should be 128 bit but in X-CUBE-CRYPTOLIB it is not possible,  it cannot set to 128 bit, (HARDFAULT). only i can set 256bit and then received error 0x10003

This topic has been closed for replies.

2 replies

ST Technical Moderator
Oct 29, 2024 12:48 AM UTC

Hello @nima.askari, I'm checking with team.

 

Best Regards,

Younes

ST Technical Moderator
Oct 30, 2024 8:18 AM UTC

IV shall be 128 bits (size of an AES block).

If hardfault occurs, then may be be there is an issue in your code/project as the CFB have been deeply tested… !!

Can you share the code + openssl used commands ?

 

Best Regards