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
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
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
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
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
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
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
>
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;
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
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
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
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/
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
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
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
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/
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
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
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/
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 +++-
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
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
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
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.
>
>
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
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
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
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.
>
>
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
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
&
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
..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
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
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/
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
> 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)$
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
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
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
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
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
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 ++--
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(
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
> 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
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
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
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
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
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
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..
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 203 matches
Mail list logo