[RFC PATCH v5] Crypto: rockchip/crypto - add hash support for crypto engine in rk3288

Herbert Xu herbert at gondor.apana.org.au
Mon Jan 11 00:39:25 PST 2016


On Mon, Jan 11, 2016 at 11:57:27AM +0800, Zain Wang wrote:
> From: Zain Wang <zain.wang at rock-chips.com>
> 
> Add md5 sha1 sha256 support for crypto engine in rk3288.
> This patch can't support multiple updatings because of limited of IC,
> as result, it can't support import and export too.

As import and export are a required part of the API you have
to implement them or your algorithm can't even be reigstered.

If you the hardware cannot support them then your choices are
limited to a software fallback.

Cheers,
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the Linux-rockchip mailing list