crypto: aead - Add aead_alg_instance
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 May 2015 14:07:55 +0000 (22:07 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 3 Jun 2015 02:48:33 +0000 (10:48 +0800)
commit5c98d62059faf7c59211cb591da671eaac7b7c3c
treec94056ed55601412f1e39e6639284a4a8c965f0e
parent5eb8ec6dc857d5027bc8cf7268a199107a583ae5
crypto: aead - Add aead_alg_instance

Now that type-safe init/exit functions exist, they often need
to access the underlying aead_instance.  So this patch adds the
helper aead_alg_instance to access aead_instance from a crypto_aead
object.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/internal/aead.h