Files
u-boot-tk1-som/include
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
..
2015-03-02 09:57:06 +01:00
2015-02-11 12:35:46 +01:00
2015-01-29 17:09:57 -07:00
2014-07-30 08:48:03 -04:00
2015-01-05 15:13:46 -05:00
2014-07-18 19:42:16 +01:00
2015-01-14 11:35:43 -05:00
2014-02-04 16:32:20 +01:00
2014-02-21 08:42:47 -05:00
2014-06-21 10:06:58 -06:00
2014-10-25 15:27:36 -04:00
2015-01-29 17:09:57 -07:00
2014-11-19 08:48:41 +01:00
2014-12-05 08:06:15 -08:00
2015-01-21 10:25:02 +01:00
2015-02-24 13:09:42 -08:00
2014-11-19 08:48:42 +01:00
2015-01-29 17:09:59 -07:00
2014-12-11 13:18:43 -07:00
2014-10-25 15:27:37 -04:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2015-02-10 13:31:26 +01:00
2014-10-22 16:56:41 -06:00
2015-01-29 13:38:40 -05:00
2014-05-30 14:03:24 -04:00
2015-01-06 10:10:04 +02:00
2015-02-12 10:35:33 -07:00
2015-02-06 12:07:45 -07:00
2015-01-05 12:08:55 -05:00
2015-01-16 09:32:11 -08:00
2014-11-24 12:00:00 +01:00
2014-10-22 10:36:50 -06:00
2013-12-04 08:11:28 -05:00
2014-12-31 19:10:13 +01:00
2015-01-18 12:31:36 +01:00
2015-01-21 10:25:53 +01:00