Commit 4330869
committed
crypto: s390/paes - Fix module aliases
The paes_s390 module didn't declare the correct aliases for the
algorithms that it registered. Instead it declared an alias for
the non-existent paes algorithm.
The Crypto API will eventually try to load the paes algorithm, to
construct the cbc(paes) instance. But because the module does not
actually contain a "paes" algorithm, this will fail.
Previously this failure was hidden and the the cbc(paes) lookup will
be retried. This was fixed recently, thus exposing the buggy alias
in paes_s390.
Replace the bogus paes alias with aliases for the actual algorithms.
Reported-by: Ingo Franzki <[email protected]>
Fixes: e7a4142 ("crypto: api - Fix generic algorithm self-test races")
Signed-off-by: Herbert Xu <[email protected]>
Tested-by: Ingo Franzki <[email protected]>
Reviewed-by: Ingo Franzki <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>1 parent 5124bc9 commit 4330869
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
802 | 802 | | |
803 | 803 | | |
804 | 804 | | |
805 | | - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
806 | 809 | | |
807 | 810 | | |
808 | 811 | | |
0 commit comments