Re: [PATCH v3 3/4] crypto: akcipher: add akcipher declarations useful for templates.

2015-11-24 Thread Herbert Xu
On Tue, Nov 24, 2015 at 09:54:57PM +0100, Andrzej Zaborowski wrote: > > It doesn't need to export crypto_aead_type but instead needs to export > crypto_aead_grab and aead_register_instance. I'll add those for > akcipher and resend then. Would there be any point defining a > crypto_akcipher_spawn

Re: [PATCH v3 3/4] crypto: akcipher: add akcipher declarations useful for templates.

2015-11-24 Thread Andrzej Zaborowski
On 24 November 2015 at 10:54, Herbert Xu wrote: > Andrew Zaborowski wrote: >> Expose crypto_akcipher_type like other crypto types are exposed to be >> used from outside akcipher.c. Add a struct akcipher_instance similar to >> aead_instance with just the right size for an akcipher template >> ins

Re: [PATCH v3 3/4] crypto: akcipher: add akcipher declarations useful for templates.

2015-11-24 Thread Herbert Xu
Andrew Zaborowski wrote: > Expose crypto_akcipher_type like other crypto types are exposed to be > used from outside akcipher.c. Add a struct akcipher_instance similar to > aead_instance with just the right size for an akcipher template > instance, and two macros for converting to/from crypto_ins

[PATCH v3 3/4] crypto: akcipher: add akcipher declarations useful for templates.

2015-11-19 Thread Andrew Zaborowski
Expose crypto_akcipher_type like other crypto types are exposed to be used from outside akcipher.c. Add a struct akcipher_instance similar to aead_instance with just the right size for an akcipher template instance, and two macros for converting to/from crypto_instance. Signed-off-by: Andrew Zabo