[U-Boot] [PATCH] imx6: Added DEK blob generator command

2015-02-04 Thread Ulises.Cardenas
From: Raul Cardenas 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 protect

[U-Boot] [PATCH v2] imx6: Added DEK blob generator command

2015-02-09 Thread Ulises.Cardenas
From: Raul Cardenas 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 protect

[U-Boot] [PATCH v3] imx6: Added DEK blob generator command

2015-02-12 Thread Ulises.Cardenas
From: Raul Cardenas 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 protect

[U-Boot] [PATCH v4] imx6: Added DEK blob generator command

2015-02-17 Thread Ulises.Cardenas
From: Raul Cardenas 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 protect

[U-Boot] [PATCH] Fix mxc_hab documenation for DEK blob generation

2015-03-27 Thread Ulises.Cardenas
From: Ulises Cardenas Include/fsl_sec.h defines sec_in and sec_out, according to the platform's endianess. Therefore, CONFIG_SYS_FSL_LE needs to be declared in the configuration file of the target, in order to use enable the DEK blob generation command. This requirement is not explicit in the REA

[U-Boot] [PATCH] Fix mxc_hab documenation

2015-04-20 Thread Ulises.Cardenas
From: Ulises Cardenas It is necessary to modify the configuration file for the target board. It wasn't well documented that to enable any of the secure boot modes, it is required to add CONFIG_SECURE_BOOT to the board configuration file. Also, fixed a typo in the encrypted boot section. Signed-

[U-Boot] [PATCH] imx: dek_blob: Add explicit include for mapmem

2015-05-04 Thread Ulises.Cardenas
From: Ulises Cardenas Boards such as imx6q_sabresd might not have mapmem.h as part of their common library. This causes a build error if the DEK blob command is enabled. Fix: make explicit the include of mapmem.h Signed-off-by: Ulises Cardenas --- arch/arm/imx-common/cmd_dek.c | 1 + 1 f

[U-Boot] [PATCH] iMX: adding parsing to hab_status command

2015-07-02 Thread Ulises.Cardenas
From: Ulises Cardenas hab_status command returns a memory dump of the hab event log. But the raw data is not human-readable. Parsing such data into readable event will help to minimize debbuging time. Signed-off-by: Ulises Cardenas --- arch/arm/cpu/armv7/mx6/hab.c| 228 +++

[U-Boot] [PATCH v2] iMX: adding parsing to hab_status command

2015-07-02 Thread Ulises.Cardenas
From: Ulises Cardenas hab_status command returns a memory dump of the hab event log. But the raw data is not human-readable. Parsing such data into readable event will help to minimize debbuging time. Signed-off-by: Ulises Cardenas --- Changes in v2: -Refactored get_<*>_idx functions as recomm

[U-Boot] [PATCH v5] imx6: Added DEK blob generator command

2015-03-01 Thread Ulises.Cardenas
From: Raul Cardenas 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 protect