[PATCH] ARM: configs: Enabling the new Marvell's cryptographic engine driver for mvebu_v7_defconfig

Romain Perier romain.perier at free-electrons.com
Fri Mar 18 08:05:43 PDT 2016


Hi Andrew,

Le 18/03/2016 15:30, Andrew Lunn a écrit :
> I don't know crypto to well. Is there a good test case? Something
> simple to setup and run. I can test on kirkwood and Dove using the
> hardware i have.
>

You can test it by using the crypto test manager: 
CONFIG_CRYPTO_DEV_MARVELL_CESA=y and CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=n


It will enable some cryptographics tests when the driver will be loaded,
if everything works as expected, you should not have errors.


You can also test it by using the tcrypt driver :

$ modprobe tcrypt mode=<code>

You mode 402,403 and 404 for hash and mode 500,501,502 for cipher.

Note: some tests might fail for cipher because not all mode of 
operations are supported (like ofb or cfb).


Regards,
Romain




More information about the linux-arm-kernel mailing list