crypto: aegis128 - Fix -Wunused-const-variable warning
authorYueHaibing <yuehaibing@huawei.com>
Thu, 22 Aug 2019 14:41:38 +0000 (22:41 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Aug 2019 08:05:30 +0000 (18:05 +1000)
commitf1d087b912c61f23685fcfc1bf61dfce517d89f3
tree1fb0f43e9776e2ece116974fb2947369657eed83
parent6796c02a4b7ef3761df040db4905227ddf8dac77
crypto: aegis128 - Fix -Wunused-const-variable warning

crypto/aegis.h:27:32: warning:
 crypto_aegis_const defined but not used [-Wunused-const-variable=]

crypto_aegis_const is only used in aegis128-core.c,
just move the definition over there.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/aegis.h
crypto/aegis128-core.c