crypto: gcm - use template array registering API to simplify the code
authorXiongfeng Wang <xiongfeng.wang@linaro.org>
Fri, 18 Jan 2019 05:58:13 +0000 (13:58 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Jan 2019 10:41:52 +0000 (18:41 +0800)
commit56a00d9da159ad7a2e9cbd18a2db9165bf5c373b
tree2eca1327f931353625245f25d47de8560456c05d
parent0db1903539e9569391bff41e2e6b171f791e2ed9
crypto: gcm - use template array registering API to simplify the code

Use crypto template array registering API 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/gcm.c