HSE AES-CFB inputLength is limited

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HSE AES-CFB inputLength is limited

Jump to solution
252 Views
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 Kudos
Reply
1 Solution
217 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
218 Views
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 Kudos
Reply