Commit Graph

2 Commits

Author SHA1 Message Date
Pankaj Gupta
051c87ef3c LF-14933: drivers: tee: crypto: remove limitation in buf sz
Removes the limitation for input buffer size greater than 4096.

For the input buffer is divided in to chunks of 4096 bytes, the performance
with buffer size greater than 4096, tends to remain flat or lower.

Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
2025-06-20 11:11:51 +02:00
Pankaj Gupta
fdf1dcebfc tee: crypto: enable support for skcipher
Enabled support for skcipher algos:
- aes-cbc,
- aes-xts
Key Highlights:

- To enhance the performance, using:
  -- static shared memory with Pseudo-TA.
  -- fastcall SMC instead of TEE API.

- To support multiple dm crypt partition, introduced key identifer for
  the key, to differentiate between multiple key(s) in a same PTA session.

Signed-off-by: Olivier Masse <olivier.masse@nxp.com>
Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
2023-10-31 17:50:19 +08:00