[PATCH 1/3] cmd: optee_rpmb command for read/write of rpmb from optee

2020-04-22 Thread Ruchika Gupta
lue - read persistent values on rpmb via OPTEE AVB TA optee_rpmb write_pvalue - write persistent values on rpmb via OPTEE AVB TA Signed-off-by: Ruchika Gupta --- cmd/Kconfig | 16 +++ cmd/Makefile | 1 + cmd/optee_rpmb.c | 269 +++ 3 files ch

[PATCH 2/3] arm64: lx2160a: dts: Add OPTEE node

2020-04-22 Thread Ruchika Gupta
Add OPTEE node in lx2 device tree to enable access of OPTEE TA's from u-boot. Signed-off-by: Ruchika Gupta --- arch/arm/dts/fsl-lx2160a.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b/arch/arm/dts/fsl-lx2160a.dtsi index 42ce4379ec..f0306

[PATCH 3/3] configs: lx2160a: Enable OPTEE support

2020-04-22 Thread Ruchika Gupta
Enable support to compile OPTEE driver, access AVB TA and RPMB API's access via RPC from OPTEE for lx2160 Signed-off-by: Ruchika Gupta --- configs/lx2160ardb_tfa_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/lx2160ardb_tfa_defconfig b/co

[U-Boot] [PATCH] e1000e : Set Receive Threshold granularity to number of

2012-04-18 Thread Ruchika Gupta
fixes timeout which was seen when tftping large files. Signed-off-by: Ruchika Gupta Signed-off-by: Vakul Garg Acked-by: Roy Zang --- drivers/net/e1000.c | 10 ++ drivers/net/e1000.h |1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/net/e1000.c b

[U-Boot] [PATCHv2] e1000e : Correct Rx Threshold granularity

2012-04-19 Thread Ruchika Gupta
granularity was in cache line units i.e 2 descriptors. This leads to controller always waiting for 2 descriptors before flushing them out. But since not more than one Rx BD is actually available , the accumulation condition never gets hit. Signed-off-by: Ruchika Gupta Signed-off-by: Vakul Garg Acked

Re: [U-Boot] [PATCH] crypto/fsl - Add progressive hashing support using hardware acceleration.

2015-02-05 Thread Ruchika Gupta
ration. > > Added support for progressinve hashing using h/w. > > > > Signed-off-by: Ruchika Gupta > > Signed-off-by: Gaurav Rana > > CC: Simon Glass > > --- > > This patch is dependent on following series of 10 patches. > > https://patchwork.ozl

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

2015-02-09 Thread Ruchika Gupta
Hi Ulises, > -Original Message- > From: ulises.carde...@freescale.com [mailto:ulises.carde...@freescale.com] > Sent: Thursday, February 05, 2015 2:38 AM > To: Gupta Ruchika-R66431 > Cc: u-boot@lists.denx.de; Estevam Fabio-R49496; sba...@denx.de; Ulises > Cardenas Casas; Garg Nitin-B37173 >

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

2015-02-20 Thread Ruchika Gupta
Hi Ulises, > -Original Message- > From: ulises.carde...@freescale.com [mailto:ulises.carde...@freescale.com] > Sent: Wednesday, February 18, 2015 1:45 AM > To: Gupta Ruchika-R66431 > Cc: u-boot@lists.denx.de; Estevam Fabio-R49496; sba...@denx.de; > s...@chromium.org; Ulises Cardenas Casas;

[U-Boot] [PATCH 2/2] fsl_sec : Change accessor function to take care of endianness

2014-09-08 Thread Ruchika Gupta
SEC registers can be of type Little Endian or big Endian depending upon Freescale SoC. Here SoC defines the register type of SEC IP. So update acessor functions with common SEC acessor functions to take care both type of endianness. Signed-off-by: Ruchika Gupta CC: York Sun --- README

[U-Boot] [PATCH 1/2] fsl_sec : Move SEC CCSR definition to common include

2014-09-08 Thread Ruchika Gupta
Freescale SEC controller has been used for mpc8xxx. It will be used for ARM-based SoC as well. This patch moves the CCSR defintion of SEC to common include Signed-off-by: Ruchika Gupta CC: York Sun --- arch/powerpc/include/asm/immap_85xx.h | 67 +- include/fsl_sec.h

[U-Boot] [PATCH 2/2] mpc85xx: configs - Add hash command in freescale platforms

2014-09-10 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta CC: York Sun --- The patch series is dependent on https://patchwork.ozlabs.org

[U-Boot] [PATCH 1/2] fsl_sec : Add hardware accelerated SHA256 and SHA1

2014-09-10 Thread Ruchika Gupta
SHA-256 and SHA-1 accelerated using SEC hardware in Freescale SoC's The driver for SEC (CAAM) IP is based on linux drivers/crypto/caam. Signed-off-by: Ruchika Gupta CC: York Sun --- The patch series is dependent on https://patchwork.ozlabs.org/patch/387174/ https://patchwork.ozlabs.org/

[U-Boot] [PATCH 2/2][v3] mpc85xx: configs - Add hash command in freescale platforms

2014-09-15 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta CC: York Sun --- Change log: v2: No change The patch series is dependent on

[U-Boot] [PATCH 1/2][v2] fsl_sec: Add hardware accelerated SHA256 and SHA1

2014-09-15 Thread Ruchika Gupta
SHA-256 and SHA-1 accelerated using SEC hardware in Freescale SoC's The driver for SEC (CAAM) IP is based on linux drivers/crypto/caam. Signed-off-by: Ruchika Gupta CC: York Sun --- Change log v2: Added a common function run_descriptor_jr to avoid repettion of common code The patch seri

[U-Boot] [PATCH 2/2][v2] mpc85xx: configs - Add hash command in freescale platforms

2014-09-15 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta CC: York Sun --- Change log: v2: No change Fixed a typo in version number in

[U-Boot] [PATCH] powerpc/mpc85xx: SECURE BOOT - Bypass PAMU in case of secure boot

2014-09-17 Thread Ruchika Gupta
By default, PAMU's (IOMMU) are enabled in case of secure boot. Disable/bypass them , once the control reached the bootloader. For non-secure boot, PAMU's are already bypassed in the default SoC configuration Signed-off-by: Ruchika Gupta CC: York Sun --- arch/powerpc/cpu/mpc85xx/

[U-Boot] [PATCH] ls102x: configs - Add hash command in freescale LS1 platforms

2014-09-25 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta CC: York Sun --- arch/arm/include/asm/arch-ls102xa/config.h | 10

[U-Boot] [PATCH 3/3] ls102x: Add support for secure boot and enable blob command

2014-09-25 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta CC: York Sun --- configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 3 +++ include/configs/ls1021aqds.h | 4 include/configs/ls1021atwr.h | 4 4 files changed, 14 insertions

[U-Boot] [PATCH 1/3] crypto/fsl: Add command for encapsulating/decapsulating blobs

2014-09-25 Thread Ruchika Gupta
ration/use as key for cryptographic operation. Key modifier should be 16 byte long. Signed-off-by: Ruchika Gupta CC: York Sun --- common/Makefile | 2 + common/cmd_blob.c | 110 drivers/crypto/fsl/Makefile | 1 + drivers/

[U-Boot] [PATCH 2/3] mpc85xx: configs - Enable blob command in freescale platforms

2014-09-25 Thread Ruchika Gupta
Enable blob commands for platforms having SEC 4.0 or greater for secure boot scenarios Signed-off-by: Ruchika Gupta CC: York Sun --- include/configs/B4860QDS.h | 4 include/configs/BSC9132QDS.h | 4 include/configs/P1010RDB.h | 4 include/configs/P2041RDB.h | 4

[U-Boot] [PATCH 3/3][v2] ls102x: Add support for secure boot and enable blob command

2014-09-25 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta CC: York Sun --- Changes from v1: No changes configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 3 +++ include/configs/ls1021aqds.h | 4 include/configs/ls1021atwr.h | 4 4

[U-Boot] [PATCH 1/3][v2] crypto/fsl: Add command for encapsulating/decapsulating blobs

2014-09-25 Thread Ruchika Gupta
ration/use as key for cryptographic operation. Key modifier should be 16 byte long. Signed-off-by: Ruchika Gupta CC: York Sun --- Changes from v1: Removed inclusion of command from corenet_ds.h from this patch. Command is added in the config files as part of next patch in this serie

[U-Boot] [PATCH 2/3][v2] mpc85xx: configs - Enable blob command in freescale platforms

2014-09-25 Thread Ruchika Gupta
Enable blob commands for platforms having SEC 4.0 or greater for secure boot scenarios Signed-off-by: Ruchika Gupta CC: York Sun --- Changes from v1: Added command in corenet_ds.h include/configs/B4860QDS.h | 4 include/configs/BSC9132QDS.h | 4 include/configs/P1010RDB.h | 4

[U-Boot] [PATCH 3/3][v2] ls102x: Add support for secure boot and enable blob command

2014-09-25 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta --- Changes from v1: Command MACRO corrected configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 3 +++ include/configs/ls1021aqds.h | 4 include/configs/ls1021atwr.h | 4 4

[U-Boot] [PATCH] powerpc/mpc85xx:Update RESET_VECTOR_ADDRESS for 768KB u-boot size

2014-09-28 Thread Ruchika Gupta
U-boot binary size has been increased from 512KB to 768KB. So update CONFIG_RESET_VECTOR_ADDRESS to reflect the same for P1010 SPI Flash Secure boot target. Signed-off-by: Ruchika Gupta --- include/configs/P1010RDB.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include

Re: [U-Boot] [PATCH 2/2] mpc85xx: configs - Add hash command in freescale platforms

2014-09-28 Thread Ruchika Gupta
0/2014 08:58 PM, Ruchika Gupta wrote: > > Hardware accelerated support for SHA-1 and SHA-256 has been added. > > Hash command enabled along with hardware accelerated support for > > SHA-1 and SHA-256 for platforms which have CAAM block. > > > > Signed-off-by: Ruchika Gu

[U-Boot] [PATCH 2/3][v3] mpc85xx: configs - Enable blob command in freescale platforms

2014-09-28 Thread Ruchika Gupta
Enable blob commands for platforms having SEC 4.0 or greater for secure boot scenarios Signed-off-by: Ruchika Gupta --- Changes from v2: Fixed the compilation issue for T208x platform include/configs/B4860QDS.h | 4 include/configs/BSC9132QDS.h | 4 include/configs/P1010RDB.h | 4

[U-Boot] [PATCH 3/3][v3] ls102x: Add support for secure boot and enable blob command

2014-09-28 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta --- Changes from v2: No changes configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 3 +++ include/configs/ls1021aqds.h | 4 include/configs/ls1021atwr.h | 4 4 files changed

[U-Boot] [PATCH 1/3][v3] crypto/fsl: Add command for encapsulating/decapsulating blobs

2014-09-28 Thread Ruchika Gupta
ration/use as key for cryptographic operation. Key modifier should be 16 byte long. Signed-off-by: Ruchika Gupta --- Changes from v2 No changes common/Makefile | 2 + common/cmd_blob.c | 109 drivers/crypto/fsl/Makefi

[U-Boot] [PATCH][v2] powerpc/mpc85xx: SECURE BOOT - Bypass PAMU in case of secure boot

2014-09-28 Thread Ruchika Gupta
By default, PAMU's (IOMMU) are enabled in case of secure boot. Disable/bypass them , once the control reached the bootloader. For non-secure boot, PAMU's are already bypassed in the default SoC configuration Signed-off-by: Ruchika Gupta --- Changes from v1: PAMU is available only in

[U-Boot] [PATCH][v2] ls102x: configs - Add hash command in freescale LS1 platforms

2014-10-07 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta --- Changes in v2 Warning fixed for ls1021atwr build arch/arm/include/asm/arch

[U-Boot] [PATCH][v2] ls102x: configs - Add hash command in freescale LS1 platforms

2014-10-07 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta --- Changes from v1: Rebased to HEAD of uboot Compilation warning fixed in

[U-Boot] [PATCH 3/3] ls102x: Add support for secure boot and enable blob command

2014-10-07 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta --- Changes from v3 Added new defconfigs in MAINTAINERS board/freescale/ls1021aqds/MAINTAINERS | 1 + board/freescale/ls1021atwr/MAINTAINERS | 1 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 3

[U-Boot] [PATCH 2/3] mpc85xx: configs - Enable blob command in freescale platforms

2014-10-07 Thread Ruchika Gupta
Enable blob commands for platforms having SEC 4.0 or greater for secure boot scenarios Signed-off-by: Ruchika Gupta --- Changes from v3 No changes include/configs/B4860QDS.h | 4 include/configs/BSC9132QDS.h | 4 include/configs/P1010RDB.h | 4 include/configs/P2041RDB.h

[U-Boot] [PATCH 1/3][v4] crypto/fsl: Add command for encapsulating/decapsulating blobs

2014-10-07 Thread Ruchika Gupta
ration/use as key for cryptographic operation. Key modifier should be 16 byte long. Signed-off-by: Ruchika Gupta --- Changes from v3 No changes common/Makefile | 2 + common/cmd_blob.c | 109 drivers/crypto/fsl/Makefi

[U-Boot] [PATCH 3/3][v4] ls102x: Add support for secure boot and enable blob command

2014-10-07 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta --- Changes from v3 Added new defconfigs in MAINTAINERS board/freescale/ls1021aqds/MAINTAINERS | 1 + board/freescale/ls1021atwr/MAINTAINERS | 1 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 3 +++ configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 3

[U-Boot] [PATCH 2/3][v4] mpc85xx: configs - Enable blob command in freescale platforms

2014-10-07 Thread Ruchika Gupta
Enable blob commands for platforms having SEC 4.0 or greater for secure boot scenarios Signed-off-by: Ruchika Gupta --- Changes from v3 No changes include/configs/B4860QDS.h | 4 include/configs/BSC9132QDS.h | 4 include/configs/P1010RDB.h | 4 include/configs/P2041RDB.h

[U-Boot] [PATCH][v3] ls102x: configs - Add hash command in freescale LS1 platforms

2014-10-08 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta --- Changed from v2: Incorporated Denx comments Rearranged config

[U-Boot] [PATCH 2/2][v3] mpc85xx: configs - Add hash command in freescale platforms

2014-10-14 Thread Ruchika Gupta
Enable CAAM in platforms supporting the hardware block. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta CC: York Sun --- Changes from v2: CONFIG_FSL_CAAM added in platforms to enable SEC

[U-Boot] [PATCH 1/2][v3] fsl_sec: Add hardware accelerated SHA256 and SHA1

2014-10-14 Thread Ruchika Gupta
SHA-256 and SHA-1 accelerated using SEC hardware in Freescale SoC's The driver for SEC (CAAM) IP is based on linux drivers/crypto/caam. The platforms needto add the MACRO CONFIG_FSL_CAAM inorder to enable initialization of this hardware IP. Signed-off-by: Ruchika Gupta CC: York Sun --- Ch

[U-Boot] [PATCH][v4] ls102x: configs - Add hash command in freescale LS1 platforms

2014-10-14 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta CC: York Sun --- Changes from v3: Added CONFIG_FSL_CAAM to enable CAAM/SEC

[U-Boot] Fw: [PATCH 1/2][v3] fsl_sec: Add hardware accelerated SHA256 and SHA1

2014-10-15 Thread Ruchika Gupta
ka-R66431 > Cc: U-Boot Mailing List; Sun York-R58495 > Subject: Re: [U-Boot] [PATCH 1/2][v3] fsl_sec: Add hardware accelerated > SHA256 and SHA1 > > Hi,> > On 15 October 2014 08:05, Ruchika Gupta wrote: > > SHA-256 and SHA-1 accelerated using SEC hardware in Freescale SoC&#x

[U-Boot] [PATCH 2/5] powerpc/pamu : PAMU configuration for accessing SEC block

2013-03-28 Thread Ruchika Gupta
Signed-off-by: Kuldip Giroh Signed-off-by: Ruchika Gupta --- Based upon git://git.denx.de/u-boot.git branch master arch/powerpc/cpu/mpc8xxx/Makefile |2 +- arch/powerpc/cpu/mpc8xxx/fsl_pamu_table.c | 68 + arch/powerpc/include/asm/fsl_pamu.h

[U-Boot] [PATCH 0/5] FSL SECURE BOOT: Add support for next level image validation

2013-03-28 Thread Ruchika Gupta
operations are performed using SEC block in HW. This command works on both high-end (P4080) and low-end (P1010) platforms. Ruchika Gupta (5): arch/powerpc/cpu/mpc8xxx: PAMU driver support powerpc/pamu : PAMU configuration for accessing SEC block drivers/sec : Freescale SEC driver FSL SEC Driver

[U-Boot] [PATCH 4/5] FSL SEC Driver : Add support for descriptor creation

2013-03-28 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta --- Based upon git://git.denx.de/u-boot.git branch master drivers/sec/Makefile |2 +- drivers/sec/error.c | 259 + drivers/sec/jobdesc.c | 157 ++ drivers/sec/rsa_sec.c | 95

[U-Boot] [PATCH 1/5] arch/powerpc/cpu/mpc8xxx: PAMU driver support

2013-03-28 Thread Ruchika Gupta
Giroh Signed-off-by: Ruchika Gupta --- Based upon git://git.denx.de/u-boot.git branch master arch/powerpc/cpu/mpc8xxx/Makefile |3 +- arch/powerpc/cpu/mpc8xxx/fsl_pamu.c | 488 + arch/powerpc/include/asm/fsl_pamu.h | 193 + arch/powerpc

[U-Boot] [PATCH 5/5] Added command for validation of images in case of secure boot

2013-03-28 Thread Ruchika Gupta
n of images or core should just spin. Signed-off-by: Kuldip Giroh Signed-off-by: Ruchika Gupta --- Based upon git://git.denx.de/u-boot.git branch master arch/powerpc/cpu/mpc85xx/Makefile|2 + arch/powerpc/cpu/mpc85xx/cmd_esbc_validate.c | 54 +++ arch/powerpc/cpu/mpc85xx/c

[U-Boot] [PATCH 1/3] powerpc/p4080: Add support for secure boot flow

2011-09-02 Thread Ruchika Gupta
image at this address has been validated by ISBC code) 2. Remove TLB entries for 0 - 3.5G created by ISBC code 3. Remove the LAW entry for the CONFIG_SYS_PBI_FLASH_WINDOW created by PBL/configuration word after switch to AS = 1 Signed-off-by: Ruchika Gupta Signed-off-by: Kuldip Giroh Acked-by

[U-Boot] [PATCH 0/3] Add secure boot support on P4080/P3041/P5020 & P1010 boards.

2011-09-02 Thread Ruchika Gupta
dded for NOR , NAND and SPIFLASH Ruchika Gupta (1): powerpc/p4080: Add support for secure boot flow arch/powerpc/cpu/mpc85xx/cpu_init.c| 11 +- arch/powerpc/cpu/mpc85xx/cpu_init_early.c | 10 +- arch/powerpc/cpu/mpc85xx/start.S | 55 +++-

[U-Boot] [PATCH 3/3] P1010RDB :Secure Boot support added for NOR , NAND and SPIFLASH

2011-09-02 Thread Ruchika Gupta
From: Kumar Gala Signed-off-by: Ruchika Gupta Signed-off-by: Kuldip Giroh --- boards.cfg |6 ++ include/configs/P1010RDB.h | 15 +-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/boards.cfg b/boards.cfg index 6fd6e55..25ca5f5 100644

[U-Boot] [PATCH 2/3] powerpc/85xx: Add PBL & SECUREBOOT support on P3041/P5020DS boards

2011-09-02 Thread Ruchika Gupta
From: Kumar Gala Signed-off-by: Kumar Gala --- boards.cfg |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index dae858c..6fd6e55 100644 --- a/boards.cfg +++ b/boards.cfg @@ -672,6 +672,7 @@ P2041RDB_SPIFLASHpowerpc mpc85xx p

Re: [U-Boot] [PATCH 3/3] crypto/fsl - enable raw data instead of von Neumann data

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Gupta > -Original Message- > From: Sun York-R58495 > Sent: Sunday, July 19, 2015 3:43 AM > To: Gupta Ruchika-R66431 > Subject: Re: [PATCH 3/3] crypto/fsl - enable raw data instead of von > Neumann data > > Ruchika, > > Please comment/ack

Re: [U-Boot] [PATCH 3/3] crypto/fsl: clean-up - use fdt_setprop_u32 helper

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Gupta > -Original Message- > From: Sun York-R58495 > Sent: Sunday, July 19, 2015 3:44 AM > To: Gupta Ruchika-R66431 > Subject: Re: [PATCH 3/3] crypto/fsl: clean-up - use fdt_setprop_u32 helper > > Ruchika, > > Please comment/ack. > >

Re: [U-Boot] [PATCH 1/3] crypto/fsl - disable RNG oscillator maximum frequency check

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Gupta > -Original Message- > From: Sun York-R58495 > Sent: Sunday, July 19, 2015 3:43 AM > To: Gupta Ruchika-R66431 > Subject: Re: [PATCH 1/3] crypto/fsl - disable RNG oscillator maximum > frequency check > > Ruchika, > > Please commen

Re: [U-Boot] [PATCH 2/3] crypto/fsl - change starting entropy delay value

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Gupta > -Original Message- > From: Sun York-R58495 > Sent: Sunday, July 19, 2015 3:43 AM > To: Gupta Ruchika-R66431 > Subject: Re: [PATCH 2/3] crypto/fsl - change starting entropy delay value > > Ruchika, > > Please comment/ack this p

Re: [U-Boot] [PATCH 1/3] crypto/fsl: fix "era" property value on LE platforms

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Gupta > -Original Message- > From: Sun York-R58495 > Sent: Sunday, July 19, 2015 3:44 AM > To: Gupta Ruchika-R66431 > Subject: Re: [PATCH 1/3] crypto/fsl: fix "era" property value on LE platforms > > Ruchika, > > Please comment/ac

Re: [U-Boot] [PATCH 2/3] crypto/fsl: fix snooping for write transactions

2015-07-22 Thread Ruchika Gupta
Acked-by: Ruchika Gupta > -Original Message- > From: Sun York-R58495 > Sent: Sunday, July 19, 2015 3:44 AM > To: Gupta Ruchika-R66431 > Subject: Re: [PATCH 2/3] crypto/fsl: fix snooping for write transactions > > Ruchika, > > Please comment/ack. > >

[U-Boot] [PATCH] Correct License and Copyright information on few files

2015-07-23 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta --- arch/arm/include/asm/arch-ls102xa/gpio.h | 2 ++ arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 ++ drivers/crypto/fsl/Makefile | 4 +--- include/fsl_sec.h| 1 + include/u-boot/rsa-mod-exp.h | 2

Re: [U-Boot] [PATCH] Correct License and Copyright information on few files

2015-07-23 Thread Ruchika Gupta
Hi, > Hi, > > Am 23.07.2015 um 16:10 schrieb Ruchika Gupta: > > Signed-off-by: Ruchika Gupta > [...] > > diff --git a/drivers/crypto/fsl/Makefile b/drivers/crypto/fsl/Makefile > > index 4aa91e4..fd736cf 100644 > > --- a/drivers/crypto/fsl/Makefile &

[U-Boot] [PATCH][v2] Correct License and Copyright information on few files

2015-07-26 Thread Ruchika Gupta
gpio.h - Added missing copyright in few files. rsa-mod-exp.h - Corrected copyright in the file. fsl_sec.h - Added missing license in files drivers/crypto/fsl/Makefile - Removed the incomplete GPLv2 license and replaced it with GPLv2+ license Signed-off-by: Ruchika Gupta --- Changes from v2: 1

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

2015-05-10 Thread Ruchika Gupta
..ada8adf 100644 > --- a/arch/arm/imx-common/cmd_dek.c > +++ b/arch/arm/imx-common/cmd_dek.c > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > > DECLARE_GLOBAL_DATA_PTR; > > -- > 2.3.2 Reviewed-by: Ruchika Gupta ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] DM: crypto/rsa_mod_exp - Correct copyright on rsa-mod-exp.h

2015-06-11 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta --- include/u-boot/rsa-mod-exp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/u-boot/rsa-mod-exp.h b/include/u-boot/rsa-mod-exp.h index fce445a..d250694 100644 --- a/include/u-boot/rsa-mod-exp.h +++ b/include/u-boot/rsa-mod-exp.h

Re: [U-Boot] [PATCH] Add bootscript support to esbc_validate.

2015-03-10 Thread Ruchika Gupta
Hi York, > -Original Message- > From: Sun York-R58495 > Sent: Tuesday, March 10, 2015 9:45 PM > To: Rana Gaurav-B46163; u-boot@lists.denx.de > Cc: Wood Scott-B07421; Gupta Ruchika-R66431; Bansal Aneesh-B39320 > Subject: Re: [PATCH] Add bootscript support to esbc_validate. > > > > On 03/

Re: [U-Boot] [PATCH] Add bootscript support to esbc_validate.

2015-03-11 Thread Ruchika Gupta
Hi York, > -Original Message- > From: Sun York-R58495 > Sent: Tuesday, March 10, 2015 10:03 PM > To: Gupta Ruchika-R66431; Rana Gaurav-B46163; u-boot@lists.denx.de > Cc: Wood Scott-B07421; Bansal Aneesh-B39320 > Subject: Re: [PATCH] Add bootscript support to esbc_validate. > > On 03/10/20

Re: [U-Boot] [PATCH v3] imx: imx7 Support for Manufacturing Protection

2016-02-15 Thread Ruchika Gupta
> diff --git a/drivers/crypto/fsl/Makefile b/drivers/crypto/fsl/Makefile index > fd736cf..6d6903b 100644 > --- a/drivers/crypto/fsl/Makefile > +++ b/drivers/crypto/fsl/Makefile > @@ -8,3 +8,7 @@ obj-y += sec.o > obj-$(CONFIG_FSL_CAAM) += jr.o fsl_hash.o jobdesc.o error.o > obj-$(CONFIG_CMD_BLOB)$

[U-Boot] [PATCH 3/9] [v3] DM: crypto/rsa: Add rsa Modular Exponentiation DM driver

2014-12-23 Thread Ruchika Gupta
Add a new rsa uclass for performing modular exponentiation and implement the software driver basing on this uclass. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v3: New patch with driver model for RSA UCLASS drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile

[U-Boot] [PATCH 2/9] [v3] FIT: Modify option FIT_SIGNATURE in Kconfig

2014-12-23 Thread Ruchika Gupta
For FIT signature based approach to work, RSA library needs to be selected. The FIT_SIGNATURE option in Kconfig is modified to automatically select RSA. Selecting RSA compiles the RSA library required for image verification. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v3: New

[U-Boot] [PATCH 4/9] [v3] configs: Move CONFIG_FIT_SIGNATURE to defconfig

2014-12-23 Thread Ruchika Gupta
have to define CONFIG_RSA manually. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v3: New patch configs/ids8313_defconfig | 2 ++ configs/sandbox_defconfig | 3 +++ configs/zynq_microzed_defconfig| 3 +++ configs/zynq_zc70x_defconfig | 3 +++ co

[U-Boot] [PATCH 6/9] [v3] DM: crypto/fsl - Add Freescale rsa DM driver

2014-12-23 Thread Ruchika Gupta
Driver added for RSA Modular Exponentiation using Freescale Hardware Accelerator CAAM. The driver used uclass rsa. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v3: Moved to integrate with RSA UCLASS drivers/crypto/Kconfig| 2 ++ drivers/crypto/fsl/Kconfig| 6

[U-Boot] [PATCH 5/9] [v3] lib/rsa: Modify rsa to use DM driver if available

2014-12-23 Thread Ruchika Gupta
s are also added for rsa library. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v3: New patch include/configs/am335x_evm.h | 1 + lib/Kconfig | 6 +- lib/rsa/Kconfig | 31 +++ lib/rsa/Makefile | 3 ++- li

[U-Boot] [PATCH 9/9] [v3] rsa: Use checksum algorithms from struct hash_algo

2014-12-23 Thread Ruchika Gupta
x27;s once available. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v3: Modified rsa-verify to check for return from checksum function Changes in v2: Added generic function hash_calculate. Pass an additional argument as name of algorithm. common/image-sig.c| 6 ++--

[U-Boot] [PATCH 8/9] [v3] hash: Add function to find hash_algo struct with progressive hash

2014-12-23 Thread Ruchika Gupta
rary which uses Progressive Hash API's. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v3 : Corrected ifdef for SHA1 Changes in v2 : Added commit message common/hash.c | 33 - include/hash.h | 15 +++ 2 files changed, 39 insertions(

[U-Boot] [PATCH 7/9] [v3] lib/rsa: Add Kconfig option for HW accelerated RSA

2014-12-23 Thread Ruchika Gupta
Kconfig option added for devices which support RSA Verification (Modular Exponentiation) operation in hardware Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v3: New patch lib/rsa/Kconfig | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH 3/9] [v3] DM: crypto/rsa: Add rsa Modular Exponentiation DM driver

2014-12-28 Thread Ruchika Gupta
> Cc: U-Boot Mailing List; Sun York-R58495 > Subject: Re: [PATCH 3/9] [v3] DM: crypto/rsa: Add rsa Modular > Exponentiation DM driver > > Hi Ruchika, > > On 23 December 2014 at 04:32, Ruchika Gupta > > wrote: > > Add a new rsa uclass for performing modular e

[U-Boot] [PATCH 5/9] [v3] lib/rsa: Modify rsa to use DM driver if available

2014-12-28 Thread Ruchika Gupta
Sun York-R58495 > Subject: Re: [PATCH 5/9] [v3] lib/rsa: Modify rsa to use DM driver if > available > > Hi Ruchika, > > On 23 December 2014 at 04:32, Ruchika Gupta > > wrote: > > Modify rsa_verify to use the rsa driver of DM library available.The > > tools and th

Re: [U-Boot] [PATCH 7/9] [v3] lib/rsa: Add Kconfig option for HW accelerated RSA

2014-12-28 Thread Ruchika Gupta
nfig option for HW accelerated > RSA > > Hi Ruchika, > > On 23 December 2014 at 04:32, Ruchika Gupta > wrote: > > Kconfig option added for devices which support RSA Verification > > (Modular Exponentiation) operation in hardware > > > > Signed-off-by: R

Re: [U-Boot] [PATCH 8/9] [v3] hash: Add function to find hash_algo struct with progressive hash

2014-12-28 Thread Ruchika Gupta
to find hash_algo struct > with progressive hash > > Hi Ruchika, > > On 23 December 2014 at 04:32, Ruchika Gupta > wrote: > > The hash_algo structure has some implementations in which progressive > > hash API's are not defined. These are basically the hardware

[U-Boot] [PATCH 9/9] [v3] rsa: Use checksum algorithms from struct hash_algo

2014-12-29 Thread Ruchika Gupta
58495 > Subject: Re: [PATCH 9/9] [v3] rsa: Use checksum algorithms from struct > hash_algo > > Hi Ruchika, > > On 23 December 2014 at 04:32, Ruchika Gupta > wrote: > > Currently the hash functions used in RSA are called directly from the > > sha1 and sha256 libra

Re: [U-Boot] [PATCH 9/9] [v3] rsa: Use checksum algorithms from struct hash_algo

2014-12-30 Thread Ruchika Gupta
um algorithms from struct > hash_algo > > Hi Ruchika, > > On 29 December 2014 at 00:59, Ruchika Gupta > wrote: > > Hi Simon, > > > >> -Original Message- > >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > >&g

Re: [U-Boot] [PATCH 8/9] [v3] hash: Add function to find hash_algo struct with progressive hash

2014-12-30 Thread Ruchika Gupta
h: Add function to find hash_algo struct > with progressive hash > > +Wolfgang > > Hi Ruchika, > > On 29 December 2014 at 00:07, Ruchika Gupta > wrote: > > Hi Simon, > > > >> -Original Message- > >> From: s...@google.com [mailto:s..

[U-Boot] [PATCH 1/9] [v4] rsa: Split the rsa-verify to separate the modular exponentiation

2014-12-30 Thread Ruchika Gupta
to this file. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v4: Modified rsa_mod_exp_sw function to add pointer to output length Changes in v3: Kconfig moved to separate patch. This patch just splits the file now Changes in v2: Addressed few of Simon Glass's comments: - Kc

[U-Boot] [PATCH 2/9] [v4] FIT: Modify option FIT_SIGNATURE in Kconfig

2014-12-30 Thread Ruchika Gupta
For FIT signature based approach to work, RSA library needs to be selected. The FIT_SIGNATURE option in Kconfig is modified to automatically select RSA. Selecting RSA compiles the RSA library required for image verification. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v4

[U-Boot] [PATCH 3/9] [v4] DM: crypto/rsa: Add rsa Modular Exponentiation DM driver

2014-12-30 Thread Ruchika Gupta
Add a new rsa uclass for performing modular exponentiation and implement the software driver basing on this uclass. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v4: Removed Kconfig option for DM_RSA Corrected driver name for sw rsa driver Updated the rsa_mod_exp operation to have

[U-Boot] [PATCH 7/9] [v4] lib/rsa: Add Kconfig for devices supporting RSA Modular Exponentiation

2014-12-30 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v4: Introduced 2 options when CONFIG_RSA is selected: RSA_SOFTWARE_EXP RSA_FREESCALE_EXP Removed RSA_HW. Changes the name pf RSA_SW to RSA_SOFTWARE_EXP Changes in v3: New patch lib/Kconfig | 10 +- lib/rsa/Kconfig | 30

[U-Boot] [PATCH 5/9] [v4] lib/rsa: Modify rsa to use DM driver

2014-12-30 Thread Ruchika Gupta
Modify rsa_verify to use the rsa driver of DM library .The tools will continue to use the same RSA sw library. CONFIG_RSA is now dependent on CONFIG_DM. All configurations which enable FIT based signatures have been modified to enable CONFIG_DM by default. Signed-off-by: Ruchika Gupta CC: Simon

[U-Boot] [PATCH 6/9] [v4] DM: crypto/fsl - Add Freescale rsa DM driver

2014-12-30 Thread Ruchika Gupta
Driver added for RSA Modular Exponentiation using Freescale Hardware Accelerator CAAM. The driver used uclass rsa. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v4: Modified for the changes in op function of rsa class mod_exp Changes in v3: Moved to integrate with RSA UCLASS

[U-Boot] [PATCH 4/9] [v4] configs: Move CONFIG_FIT_SIGNATURE to defconfig

2014-12-30 Thread Ruchika Gupta
have to define CONFIG_RSA manually. Signed-off-by: Ruchika Gupta CC: Simon Glass Acked-by: Simon Glass --- Changes in v4: No changes Changes in v3: New patch configs/ids8313_defconfig | 2 ++ configs/sandbox_defconfig | 3 +++ configs/zynq_microzed_defconfig| 3 +++ co

[U-Boot] [PATCH 9/9] [v4] rsa: Use checksum algorithms from struct hash_algo

2014-12-30 Thread Ruchika Gupta
x27;s once available. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v4: No changes in this patch. Still under discussion Changes in v3: Modified rsa-verify to check for return from checksum function Changes in v2: Added generic function hash_calculate. Pass an additional argument

[U-Boot] [PATCH 8/9] [v4] hash: Add function to find hash_algo struct with progressive hash

2014-12-30 Thread Ruchika Gupta
rary which uses Progressive Hash API's. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v4: Few cosmetic changes. Currently I have not replaced CONFIG_SHA1 with CONFIG_CMD_SHA1SUM. Waiting for reply from Simon and Denx for the same. Changes in v3 : Corrected ifdef for SHA1

Re: [U-Boot] [PATCH 8/9] [v4] hash: Add function to find hash_algo struct with progressive hash

2015-01-06 Thread Ruchika Gupta
h: Add function to find hash_algo struct > with progressive hash > > Hi Ruchika, > > On 30 December 2014 at 02:30, Ruchika Gupta > wrote: > > The hash_algo structure has some implementations in which progressive > > hash API's are not defined. These are basically

Re: [U-Boot] [PATCH 7/9] [v4] lib/rsa: Add Kconfig for devices supporting RSA Modular Exponentiation

2015-01-06 Thread Ruchika Gupta
config for devices supporting RSA > Modular Exponentiation > > Hi Ruchika, > > On 30 December 2014 at 02:30, Ruchika Gupta > wrote: > > Kconfig option added for devices which support RSA Verification. > > 1. RSA_SOFTWARE_EXP > > Enables driver for supporting RSA Modul

Re: [U-Boot] [PATCH 9/9] [v4] rsa: Use checksum algorithms from struct hash_algo

2015-01-06 Thread Ruchika Gupta
um algorithms from struct > hash_algo > > Hi Ruchika, > > On 30 December 2014 at 02:30, Ruchika Gupta > wrote: > > Currently the hash functions used in RSA are called directly from the > > sha1 and sha256 libraries. Change the RSA checksum library to use the > > p

[U-Boot] [PATCH 02/10][v5] FIT: Modify option FIT_SIGNATURE in Kconfig

2015-01-19 Thread Ruchika Gupta
For FIT signature based approach to work, RSA library needs to be selected. The FIT_SIGNATURE option in Kconfig is modified to automatically select RSA. Selecting RSA compiles the RSA library required for image verification. Signed-off-by: Ruchika Gupta CC: Simon Glass Acked-by: Simon Glass

[U-Boot] [PATCH 01/10][v5] rsa: Split the rsa-verify to separate the modular exponentiation

2015-01-19 Thread Ruchika Gupta
to this file. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v5: Reverted change in rsa_mod_exp_sw function to add pointer to output length Addressed other comments by Simon Changes in v4: Modified rsa_mod_exp_sw function to add pointer to output length Changes in v3: Kconfig

[U-Boot] [PATCH 03/10][v5] DM: crypto/rsa_mod_exp: Add rsa Modular Exponentiation DM driver

2015-01-19 Thread Ruchika Gupta
Add a new rsa uclass for performing modular exponentiation and implement the software driver basing on this uclass. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v5: Changed UCLASS name to UCLASS_MOD_EXP Changes in v4: Removed Kconfig option for DM_RSA Corrected driver name for

[U-Boot] [PATCH 04/10][v5] configs: Move CONFIG_FIT_SIGNATURE to defconfig

2015-01-19 Thread Ruchika Gupta
have to define CONFIG_RSA manually. Signed-off-by: Ruchika Gupta CC: Simon Glass Acked-by: Simon Glass --- Changes in v5: No changes Changes in v4: No changes Changes in v3: New patch configs/ids8313_defconfig | 2 ++ configs/sandbox_defconfig | 3 +++ co

[U-Boot] [PATCH 05/10][v5] lib/rsa: Modify rsa to use DM driver

2015-01-19 Thread Ruchika Gupta
Modify rsa_verify to use the rsa driver of DM library .The tools will continue to use the same RSA sw library. CONFIG_RSA is now dependent on CONFIG_DM. All configurations which enable FIT based signatures have been modified to enable CONFIG_DM by default. Signed-off-by: Ruchika Gupta CC: Simon

[U-Boot] [PATCH 06/10][v5] DM: crypto/fsl - Add Freescale rsa DM driver

2015-01-19 Thread Ruchika Gupta
Driver added for RSA Modular Exponentiation using Freescale Hardware Accelerator CAAM. The driver uses UCLASS_MOD_EXP Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v5: Reverted mod_exp not to use output length Changes in v4: Modified for the changes in op function of rsa class

[U-Boot] [PATCH 07/10][v5] lib/rsa: Add Kconfig for devices supporting RSA Modular Exponentiation

2015-01-19 Thread Ruchika Gupta
Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v5: No changes Changes in v4: Introduced 2 options when CONFIG_RSA is selected: RSA_SOFTWARE_EXP RSA_FREESCALE_EXP Removed RSA_HW. Changes the name pf RSA_SW to RSA_SOFTWARE_EXP Changes in v3: New patch lib/Kconfig | 7

[U-Boot] [PATCH 10/10][v5] rsa: Use checksum algorithms from struct hash_algo

2015-01-19 Thread Ruchika Gupta
x27;s once available. Signed-off-by: Ruchika Gupta CC: Simon Glass --- Changes in v5: Both tools and uboot use the same code in rsa-checksum.c Changes in v4: No changes in this patch. Still under discussion Changes in v3: Modified rsa-verify to check for return from checksum function Changes in

  1   2   3   >