u-boot-brain/arch/arm/mach-zynqmp
Siva Durga Prasad Paladugu 8e4e914652 arm64: zynqmp: Add support for encryption and decryption on data blob
This patch adds support for encryption and decryption on a given data
blob using different key sources such as userkey(KUP), device key and
PUF key. Inorder to support this a new zynqmp command(zynqmp aes) has
been introduced.

Command:
zynqmp aes srcaddr ivaddr len aesop keysrc dstaddr [keyaddr]\n"
	Encrypts or decrypts blob of data at src address and puts it\n"
	back to dstaddr using key and iv at keyaddr and ivaddr\n"
	respectively. keysrc values specifies from which source key\n"
	has to be used, it can be User/Device/PUF key. A value of 0\n"
	for KUP(user key),1 for DeviceKey and 2 for PUF key. The\n"
	aesop value would specify the operationwhich can be 0 for\n"
	decrypt and 1 for encrypt(1) operation\n";

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2020-10-27 08:13:31 +01:00
..
include/mach arm64: zynqmp: Add support for encryption and decryption on data blob 2020-10-27 08:13:31 +01:00
clk.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
cpu.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
handoff.c arm64: zynqmp: Change bl2_plat_get_bl31_params() guarding 2020-09-23 10:31:40 +02:00
Kconfig xilinx: kconfig: Move sourcing of board Kconfig to mach folders 2020-09-23 10:31:40 +02:00
Makefile arm64: zynqmp: Use mailbox driver for PMUFW config loading 2019-10-08 09:55:11 +02:00
mkimage_fit_atf.sh arm64: zynqmp: Add support for u-boot.itb generation without ATF 2020-04-06 12:52:45 +02:00
mp.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
psu_spl_init.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
spl.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00