aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c')
-rw-r--r--package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c
index 76abfafb4e..7ce6df0ac6 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c
@@ -894,6 +894,7 @@ int ifxdeu_init_aes (void)
{
int ret = -ENOSYS;
+ aes_chip_init();
if ((ret = crypto_register_alg(&ifxdeu_aes_alg)))
goto aes_err;
@@ -910,8 +911,6 @@ int ifxdeu_init_aes (void)
if ((ret = crypto_register_alg(&ifxdeu_ctr_rfc3686_aes_alg)))
goto ctr_rfc3686_aes_err;
- aes_chip_init ();
-
CRTCL_SECT_INIT;