bdk: se: correct result for < block size aes

This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 10:02:21 +01:00
1 parent 154d8b114c
commit e649d1df8e
1 file changed
+1 -1
+1 -1
View File
@@ -181,7 +181,7 @@ static int _se_execute_aes_oneshot(void *dst, const void *src, u32 size)
u32 size_aligned = ALIGN_DOWN(size, SE_AES_BLOCK_SIZE);
u32 size_residue = size % SE_AES_BLOCK_SIZE;
int res = 0;
int res = 1;
// Handle initial aligned message.
if (size_aligned)