crypto: api - add a helper to (un)register a array of templates
authorXiongfeng Wang <xiongfeng.wang@linaro.org>
Fri, 18 Jan 2019 05:58:11 +0000 (13:58 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Jan 2019 10:41:52 +0000 (18:41 +0800)
commit9572442dcf487e534e70b30f43e21a364cf483e9
tree3c6e83ea5ee77e8fe7eefcd134774bce6dce4766
parent747bd2a36c9c9a0edd5f393664d962205b31f404
crypto: api - add a helper to (un)register a array of templates

This patch add a helper to (un)register a array of templates. The
following patches will use this helper to simplify the code.

Signed-off-by: Xiongfeng Wang <xiongfeng.wang@linaro.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c
include/crypto/algapi.h