1
0
Fork 0

HSM-292 firmware: imx: seco_mu: Increase MAX_DATA_SIZE_PER_USER

For AES CMAC, the max supported message length is (2^16)-1. In order to
support this type of message the MAX_DATA_SIZE_PER_USER must be
increased to bigger value, in order to contains the message header and
the entire message data

Signed-off-by: Hugo Dupras <hugo.dupras@nxp.com>
Reviewed-by: Stéphane Dion <stephane.dion_1@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Hugo Dupras 2020-05-27 15:31:14 +02:00 committed by Silvano di Ninno
parent 40689b50de
commit 80438c2b52
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@
#define SECO_DEFAULT_TZ (0u)
#define DEFAULT_DID (0u)
#define MAX_DATA_SIZE_PER_USER (16 * 1024)
#define MAX_DATA_SIZE_PER_USER (65 * 1024)
/* Header of the messages exchange with the SECO */
struct she_mu_hdr {