crypto: api - Add crypto_inst_setname
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Jun 2016 10:04:13 +0000 (18:04 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Jul 2016 15:45:11 +0000 (23:45 +0800)
commit32f27c745c26ff4b6351bce265cba049a2c74de5
tree71d517cfb123a327cdd92934612982cb46e3a180
parent64e26807bb93b4accaa395d98e118ab893cac074
crypto: api - Add crypto_inst_setname

This patch adds the helper crypto_inst_setname because the current
helper crypto_alloc_instance2 is no longer useful given that we
now look up the algorithm after we allocate the instance object.

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