
15 Oct
2014
15 Oct
'14
9:26 a.m.
Hi,
On 15 October 2014 08:05, Ruchika Gupta ruchika.gupta@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@freescale.com CC: York Sun yorksun@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