cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-CRYPTOLIB problem

nima.askari
Associate II

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 2
CMYL
ST Employee

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

 

Best Regards,

Younes

CMYL
ST Employee

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