Commit graph

4 commits

Author SHA1 Message Date
Poovendhan Selvaraj
363824c036 aes : Add fix to read correct value from ram address for derive_aes_256_key cmd
Change-Id: I0e3080b641b3b050655fdbb626273ec14cbc6aa2
Signed-off-by: Poovendhan Selvaraj <quic_poovendh@quicinc.com>
2023-08-08 10:57:09 +05:30
Selvam Sathappan Periakaruppan
e33184de89 aes: Add aes 256 support for ipq9574 platform
ipq9574 is a TME-L based platform in which before
encrypt/decrypt, we are required to derive a key
handle.

This patch adds support for the same.

Change-Id: I583cee87607af2ab6461b429830cb8ff43cc44d4
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
2022-04-06 07:55:50 -07:00
Karthick Jeyaraman
a6ca8dd013 IPQ807x: Implement SCM interface for AES 256
Encryptio/Decryption

	- For encryption/decryption, plain data/
	  encrypted date has to be written to memory
	  directly using mw command along with
	  ivadata, type and mode
	- Implemented new uboot command "aes_256"
	  to receive the memory address where the
	  above data is written to
	- Perfom basic sanity check against the data
	  received and send them to secure world through
	  scm calls
	- This is supported only for HK/CYP, hence not
	  implemented for TZ running in 32bit mode

Change-Id: I589a15025cd248cf5792f13ea435c5c5b64c6066
Signed-off-by: Karthick Jeyaraman <kjeyaram@codeaurora.org>
2020-08-05 06:48:06 -07:00
Marek Vasut
b401b73d02 aes: Add 'aes' command to access AES-128-CBC
Add simple 'aes' command, which allows using the AES-128-CBC encryption
and decryption functions from U-Boot command line.

Signed-off-by: Marek Vasut <marex@denx.de>
2014-03-21 16:43:58 -04:00