ltq-deu: init des/aes before registering crpyto algorithms
authorMathias Kresin <dev@kresin.me>
Mon, 19 Apr 2021 18:36:58 +0000 (20:36 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Jan 2022 22:05:38 +0000 (23:05 +0100)
commit11d2c71538944ad55aca33d60d8bd442b8246ed6
treebd29ecc4a1657b552d7a6a7325b71b70f720c8f8
parent87b6e10c71203d2dedd8a56dea91390dac00c525
ltq-deu: init des/aes before registering crpyto algorithms

The crypto algorithms are registered and available to the system before
the chip is actually powered on and the generic parameter for the DEU
behaviour set.

The issue can mainly be observed if the crypto manager tests are enabled
in the kernel config. The crypto manager test run directly after an
algorithm is registered.

Signed-off-by: Mathias Kresin <dev@kresin.me>
[fix commit title prefix]
Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c
package/kernel/lantiq/ltq-deu/src/ifxmips_des.c