Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 327ea52b authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Make AES control block into a thread local variable

When computing ACES-CMAC, we use static control block that's shared
between multiple threads. That means that having computation done in
different threads can interfere and cause bad value to be returned.
This patch fixes that by making the control block into thread local
variable.

Bug: 132863815
Change-Id: Ibe2aaac54b93f77d644564d23694846c0c078bd6
parent 07a3d450
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment