Padding for the secure message #2013
Unanswered
ssunder-xilinx
asked this question in
Q&A
Replies: 1 comment
-
AES-GCM does not need block size alignment. It was copy-paste code issue from AES-CBC before. Why a crypto engine for AES-GCM requires it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What if the hardware crypto engine (AES-GCM) on the responder side has a requirement for data length alignment up to a certain number of bytes for crypto operations?
I don't see the libspdm handling the cipher text's padding to meet the above requirement. The earlier version of the libspdm encode function (
libspdm_encode_secured_message()
) had something related to padding but it has been removed from the latest version.Do you think the libspdm should have capability related to the ciphertext alignment requirement of the responder?
Beta Was this translation helpful? Give feedback.
All reactions