apache / nuttx

Apache NuttX is a mature, real-time embedded operating system (RTOS)
https://nuttx.apache.org/
Apache License 2.0
2.91k stars 1.18k forks source link

AES_MODE_ECB support removed with PR #6920 #11672

Open asmatlock opened 9 months ago

asmatlock commented 9 months ago

Previous support for AES_MODE_ECB is still not returned since PR #6920 removed it. The arch types that did support it are left waiting and the crypto test all fail.

acassis commented 9 months ago

Ping @anjiahao1 @xiaoxiang781216

xiaoxiang781216 commented 9 months ago

@ThePassionate please take a look.

ThePassionate commented 9 months ago

Previous support for AES_MODE_ECB is still not returned since PR #6920 removed it. The arch types that did support it are left waiting and the crypto test all fail.

AES_MODE_ECB can be regarded as a special AES_MODE_CBC mode with fixed length(16 bytes). Please calculate according to the above method. If there is still a problem, please provide more information. We will improve the crypto module later.