From: Zain Wang
Add md5 sha1 sha256 support for crypto engine in rk3288.
Signed-off-by: Zain Wang
---
Changes in V6:
- add software fallback.
- add import/export functions.
Changes in V5:
- fix some mistakes with applying.
Changes in V4:
- remove CRYPTO_ALG_NEED_FALLBACK.
Changes in V3:
- ad
On Fri, Feb 12, 2016 at 06:00:01PM +0100, Ard Biesheuvel wrote:
> On 12 February 2016 at 16:47, Jeremy Linton wrote:
> > ECB modes don't use an initialization vector. The kernel
> > /proc/crypto interface doesn't reflect this properly.
> >
> > Signed-off-by: Jeremy Linton
>
> Thanks for spotting
Am Montag, 15. Februar 2016, 09:01:55 schrieb Salvatore Benedetto:
Hi Salvatore, Herbert,
> Implement Diffie-Hellman primitives required by the scheme under the
> akcipher API. Here is how it works.
> 1) Call set_pub_key() by passing DH parameters (p,g) in PKCS3 format
> 2) Call set_priv_key() to
Implement Diffie-Hellman primitives required by the scheme under the
akcipher API. Here is how it works.
1) Call set_pub_key() by passing DH parameters (p,g) in PKCS3 format
2) Call set_priv_key() to set your own private key (xa) in raw format
3) Call decrypt() without passing any data as input to