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

Commit 2fc1329d authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Make AES control block into a thread local variable am: 327ea52b

am: 5757a9f2

Change-Id: I95aad39117db976118d8149f687983da8c40fa7b
parents 671e86de 5757a9f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ typedef struct {
  uint16_t round;
} tCMAC_CB;

tCMAC_CB cmac_cb;
thread_local tCMAC_CB cmac_cb;

/* Rb for AES-128 as block cipher, LSB as [0] */
Octet16 const_Rb{0x87, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,