crypto: akcipher - add akcipher declarations needed by templates.
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>
Sat, 5 Dec 2015 16:09:33 +0000 (17:09 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 9 Dec 2015 12:03:57 +0000 (20:03 +0800)
commit28a4618ad14cf17009a87d8b5718132a5d4ef852
tree64606786f9b6ab9283f714328acde19990b786a1
parent3771df3cff7536da19cba2b4755ad628dc4bf371
crypto: akcipher - add akcipher declarations needed by templates.

Add a struct akcipher_instance and struct akcipher_spawn similar to
how AEAD declares them and the macros for converting to/from
crypto_instance/crypto_spawn.  Also add register functions to
avoid exposing crypto_akcipher_type.

Signed-off-by: Andrew Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/akcipher.c
include/crypto/internal/akcipher.h