crypto: aead - Use tmpl->create
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 23 May 2015 07:41:49 +0000 (15:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 25 May 2015 10:41:29 +0000 (18:41 +0800)
commit72af865d3413c319226b6ef5f6956b7f84980a4c
treef118418ba6419659f1723cd301121135d0918380
parent56e34378bbbb7af21cf73d98a92c0411386e091c
crypto: aead - Use tmpl->create

Newer templates use tmpl->create and have a NULL tmpl->alloc.  So
we must use tmpl->create if it is set.

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