u-boot-brain/arch/arm/include/asm/arch-mx6
Raul Cardenas 0200020bc2 imx6: Added DEK blob generator command
Freescale's SEC block has built-in Data Encryption
Key(DEK) Blob Protocol which provides a method for
protecting a DEK for non-secure memory storage.
SEC block protects data in a data structure called
a Secret Key Blob, which provides both confidentiality
and integrity protection.
Every time the blob encapsulation is executed,
a AES-256 key is randomly generated to encrypt the DEK.
This key is encrypted with the OTP Secret key
from SoC. The resulting blob consists of the encrypted
AES-256 key, the encrypted DEK, and a 16-bit MAC.

During decapsulation, the reverse process is performed
to get back the original DEK. A caveat to the blob
decapsulation process,  is that the DEK is decrypted
in secure-memory and can only be read by FSL SEC HW.
The DEK is used to decrypt data during encrypted boot.

Commands added
--------------
  dek_blob - encapsulating DEK as a cryptgraphic blob

Commands Syntax
---------------
  dek_blob src dst len

    Encapsulate and create blob of a len-bits DEK at
    address src and store the result at address dst.

Signed-off-by: Raul Cardenas <Ulises.Cardenas@freescale.com>
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>

Signed-off-by: Ulises Cardenas <ulises.cardenas@freescale.com>

Signed-off-by: Ulises Cardenas-B45798 <Ulises.Cardenas@freescale.com>
2015-03-02 09:57:06 +01:00
..
clock.h arm:mx6sx add QSPI support 2014-12-31 14:52:32 +05:30
crm_regs.h ARM: imx6: disable bandgap self-bias after boot 2015-02-17 10:42:53 +01:00
gpio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
hab.h imx6sx: Fix i.MX6SX HAB api function table offset 2014-10-01 09:10:28 +02:00
imx-regs.h imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
iomux.h pcie_imx: Add mx6solox support 2014-09-09 17:24:49 +02:00
mx6-ddr.h imx:mx6sx add dram io configure for mx6sx 2015-01-22 09:55:47 +01:00
mx6-pins.h mx6sx: Add pin definitions 2014-07-10 15:29:16 +02:00
mx6dl_pins.h i.MX6DL/S: add drive-strength back to pads DISP0_DAT2/DAT10 2014-07-10 15:23:56 +02:00
mx6dl-ddr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mx6q_pins.h imx6 SION bit has to be on for the pins that are used as ENET_REF_CLK 2014-02-19 10:57:25 +01:00
mx6q-ddr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mx6sl_pins.h imx: mx6sl: Extend USDHC SD2 pins to support 8-wire use 2015-02-23 09:11:43 +01:00
mx6sx_pins.h mx6sx: Add pin definitions 2014-07-10 15:29:16 +02:00
mx6sx-ddr.h mx6: Add support for the mx6solox variant 2014-07-10 15:29:16 +02:00
mxc_hdmi.h Merge git://git.denx.de/u-boot-arm 2013-07-31 11:30:38 +02:00
sys_proto.h imx: consolidate set_chipselect_size function 2014-11-20 10:30:19 +01:00