HSE AES-CFB inputLength is limited

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

HSE AES-CFB inputLength is limited

跳至解决方案
1,257 次查看
cool_boy
Contributor II

Hello!

I use AES-CFB mode and find that the input length is limited. But the input length of CFB mode can be any byte. Is there a problem here?CFB.png

0 项奖励
回复
1 解答
1,222 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @cool_boy 
Yes, the size of message must be a multiple of the cipher block size. If your message is not aligned to this size, it needs to be padded accordingly.
Regards,
Lukas

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,223 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @cool_boy 
Yes, the size of message must be a multiple of the cipher block size. If your message is not aligned to this size, it needs to be padded accordingly.
Regards,
Lukas

0 项奖励
回复