Skip to main content
Associate III
September 25, 2024
Question

X-CUBE-CRYPTOLIB problem

  • September 25, 2024
  • 2 replies
  • 832 views

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

2 replies

Technical Moderator
October 29, 2024

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

 

Best Regards,

Younes

Technical Moderator
October 30, 2024

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