crypto: aspeed - change aspeed_acry_akcipher_algs to static
aspeed_acry_akcipher_algs is only used in aspeed-acry.c now, change it to static. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Neal Liu <neal_liu@aspeedtech.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
1b4744e107
commit
aaf16cdca6
|
@ -603,7 +603,7 @@ static void aspeed_acry_rsa_exit_tfm(struct crypto_akcipher *tfm)
|
||||||
crypto_free_akcipher(ctx->fallback_tfm);
|
crypto_free_akcipher(ctx->fallback_tfm);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct aspeed_acry_alg aspeed_acry_akcipher_algs[] = {
|
static struct aspeed_acry_alg aspeed_acry_akcipher_algs[] = {
|
||||||
{
|
{
|
||||||
.akcipher = {
|
.akcipher = {
|
||||||
.encrypt = aspeed_acry_rsa_enc,
|
.encrypt = aspeed_acry_rsa_enc,
|
||||||
|
|
Loading…
Reference in New Issue