OSDN Git Service

crypto: echainiv - Use aead_register_instance
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 23 May 2015 07:41:52 +0000 (15:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 25 May 2015 10:41:30 +0000 (18:41 +0800)
commit1e419c7970f124113c443b6154f1f8a049cf6e00
tree990dfd33ab8eefce5c3d8f914c70ffd7c62c6180
parent0677157b2b0458c7c906b063e4504d9e24ed8e8a
crypto: echainiv - Use aead_register_instance

New style AEAD instances must use aead_register_instance.  This
worked by chance because aead_geniv_alloc is still setting things
the old way.

This patch converts the template over to the create model where
we are responsible for instance registration so that we can call
the correct function.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/echainiv.c