On 2016?01?11? 16:39, Herbert Xu wrote: > 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, Ok! Thanks your comment. I will add a software fallback like img-hash.c do