| commit | bfb532845da8dc83839cb520494538422a5026e2 | [log] [tgz] |
|---|---|---|
| author | Yurii Shutkin <shutkin@google.com> | Wed Jul 26 12:08:50 2023 +0200 |
| committer | Yurii Shutkin <shutkin@google.com> | Tue Aug 22 12:34:59 2023 +0000 |
| tree | 5b7103c7f0b0a5ffdb5f06b7225cb8b2d6e8f714 | |
| parent | 51079f4b2fc9cc89358e507fbf6379d543e8b074 [diff] |
fix hwaes buffers alignment hwaes.EncryptionDecryptionCBCNoSHM maps text_in and text_out buffers directly to req and resp messages body, so we need to make sure that the message itself is aligned and offset of text_in and text_out in the message are also aligned. Add padding before text offset if necessary. Change-Id: Ia503416d27b781c2b73162cb3499603d23757054 Bug: 286029819 Test: trusty.hwaes.test