You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting all-zero ciphertext when invoking the CCM routine on a plaintext that is less than 16 bytes. Looking at the CCM specification, it seems that padding needs to take place to round the lenght of the plaintext to 16-byte blocks. However, this seems to be working for plaintext sizes larger than 16 bytes. I couldn't find the place in the code where this is being done (possibly hardware is handling it?) so am opening this issue for reference.
Here is my minimal code snippet, excluding the boilerplate code:
Branch: crypto
I am getting all-zero ciphertext when invoking the CCM routine on a plaintext that is less than 16 bytes. Looking at the CCM specification, it seems that padding needs to take place to round the lenght of the plaintext to 16-byte blocks. However, this seems to be working for plaintext sizes larger than 16 bytes. I couldn't find the place in the code where this is being done (possibly hardware is handling it?) so am opening this issue for reference.
Here is my minimal code snippet, excluding the boilerplate code:
which gives the following output
The text was updated successfully, but these errors were encountered: