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

Simon Glass sjg at chromium.org
Wed Oct 15 09:26:22 CEST 2014


Hi,

On 15 October 2014 08:05, Ruchika Gupta <ruchika.gupta at freescale.com> wrote:
> 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 <ruchika.gupta at freescale.com>
> CC: York Sun <yorksun at freescale.com>
> ---
> Changes from v2:
> CAAM init was earlier enabled by default for all platforms with SEC > 4.
> Restricting it to platforms which want to enable CAAM
>
> Changes from v1:
> Added a common function run_descriptor_jr to avoid repetition
> of common code

Are you able to plumb this into hash.c? See hash_algo[].

Regards,
Simon


More information about the U-Boot mailing list